Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2020-12

Attn Florian: r47852 broke building of i386

11 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Pascal Riekenberg
cpu.pp(77,15) Error: Unrecognized opcode xbegin
cpu.pp(77,22) Error: Assembler syntax error
cpu.pp(83,15) Error: Unrecognized opcode xend
cpu.pp(269) Fatal: There were 3 errors compiling module, stopping

Pascal

Reply by email

J. Gareth Moreton
to Pascal Riekenberg

Do you have an assembly dump of that file, or at least a snippet of the culprit subroutine?

Gareth aka. Kit

Pascal Riekenberg wrote 12 lines
cpu.pp(77,15) Error: Unrecognized opcode xbegin cpu.pp(77,22) Error: Assembler syntax error cpu.pp(83,15) Error: Unrecognized opcode xend cpu.pp(269) Fatal: There were 3 errors compiling module, stopping Pascal _______________________________________________ fpc-devel maillist - https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus

Reply by email

Florian Klämpfl
to Jonas Maebe
Show quoted text 10 lines
Am 29.12.2020 um 10:49 schrieb Jonas Maebe via fpc-devel : On 29/12/2020 08:17, Pascal Riekenberg via fpc-devel wrote: > cpu.pp(77,15) Error: Unrecognized opcode xbegin > cpu.pp(77,22) Error: Assembler syntax error > cpu.pp(83,15) Error: Unrecognized opcode xend > cpu.pp(269) Fatal: There were 3 errors compiling module, stopping On which OS is this? And if it's Linux, with which command line options and with which version of binutils?

Actually, I think it is not a 3.2.0 starting compiler?

Show quoted text 6 lines
Jonas _______________________________________________ fpc-devel maillist - https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply by email

Pascal Riekenberg
to Jonas Maebe: On which OS is this? And if it's Linux, with which command line options and with which…

Windows 10 20H2 x86_64

How can i check binutils version?

Pascal

Show quoted text 17 lines
Jonas Maebe via fpc-devel hat am 29.12.2020 10:49 geschrieben: On 29/12/2020 08:17, Pascal Riekenberg via fpc-devel wrote: > cpu.pp(77,15) Error: Unrecognized opcode xbegin > cpu.pp(77,22) Error: Assembler syntax error > cpu.pp(83,15) Error: Unrecognized opcode xend > cpu.pp(269) Fatal: There were 3 errors compiling module, stopping On which OS is this? And if it's Linux, with which command line options and with which version of binutils? Jonas _______________________________________________ fpc-devel maillist - https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply by email

Pascal Riekenberg
to Florian Klämpfl: Actually, I think it is not a 3.2.0 starting compiler?
Show quoted text 15 lines
Florian Klämpfl via fpc-devel hat am 29.12.2020 11:20 geschrieben: > Am 29.12.2020 um 10:49 schrieb Jonas Maebe via fpc-devel : > > On 29/12/2020 08:17, Pascal Riekenberg via fpc-devel wrote: >> cpu.pp(77,15) Error: Unrecognized opcode xbegin >> cpu.pp(77,22) Error: Assembler syntax error >> cpu.pp(83,15) Error: Unrecognized opcode xend >> cpu.pp(269) Fatal: There were 3 errors compiling module, stopping > > On which OS is this? And if it's Linux, with which command line options > and with which version of binutils? Actually, I think it is not a 3.2.0 starting compiler?

Right. It was 3.0.4. My bad.
It works with 3.2.0.

Pascal

Reply by email

J. Gareth Moreton
to Pascal Riekenberg

There still seems to be a problem with i386-win32 - this is from using FPC 3.2.0 as a base compiler and calling:

make distclean all install CPU_TARGET=i386 OS_TARGET=win32

...
C:/FPC/3.2.0/bin/i386-Win32/ppc386.exe -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../win -FE.
-FUC:/Users/garet/Documents/programming/fpc/rtl/units/i386-win32 -di386 -dRELEASE -Fi../objpas/sysutils -Fi../objpas/classes -Fu../i386 -I../objpas -I../win/wininc -Fu../win/wininc -Fu../win -I../inc -Fu../inc -Fu../objpas buildrtl
cpu.pp(70,12) Error: Identifier not found "_RTMSupport" cpu.pp(258) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted
make[7]: *** [buildrtl.ppu] Error 1
make[7]: Leaving directory
`C:/Users/garet/Documents/programming/fpc/rtl/win32' make[6]: *** [win32_all] Error 2
make[6]: Leaving directory `C:/Users/garet/Documents/programming/fpc/rtl' make[5]: *** [rtl] Error 2
make[5]: Leaving directory
`C:/Users/garet/Documents/programming/fpc/compiler' make[4]: *** [next] Error 2
make[4]: Leaving directory
`C:/Users/garet/Documents/programming/fpc/compiler' make[3]: *** [ppc1.exe] Error 2
make[3]: Leaving directory
`C:/Users/garet/Documents/programming/fpc/compiler' make[2]: *** [cycle] Error 2
make[2]: Leaving directory
`C:/Users/garet/Documents/programming/fpc/compiler' make[1]: *** [compiler_cycle] Error 2
make[1]: Leaving directory `C:/Users/garet/Documents/programming/fpc' make: *** [build-stamp.i386-win32] Error 2

Gareth aka. Kit

Pascal Riekenberg wrote 21 lines
> Florian Klämpfl via fpc-devel hat am 29.12.2020 11:20 geschrieben: > > >> Am 29.12.2020 um 10:49 schrieb Jonas Maebe via fpc-devel : >> >> On 29/12/2020 08:17, Pascal Riekenberg via fpc-devel wrote: >>> cpu.pp(77,15) Error: Unrecognized opcode xbegin >>> cpu.pp(77,22) Error: Assembler syntax error >>> cpu.pp(83,15) Error: Unrecognized opcode xend >>> cpu.pp(269) Fatal: There were 3 errors compiling module, stopping >> On which OS is this? And if it's Linux, with which command line options >> and with which version of binutils? > Actually, I think it is not a 3.2.0 starting compiler? Right. It was 3.0.4. My bad. It works with 3.2.0. Pascal _______________________________________________ fpc-devel maillist - https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus

Reply by email

Florian Klämpfl
to J. Gareth Moreton
J. Gareth Moreton wrote 27 lines
There still seems to be a problem with i386-win32 - this is from using FPC 3.2.0 as a base compiler and calling: make distclean all install CPU_TARGET=i386 OS_TARGET=win32 ... C:/FPC/3.2.0/bin/i386-Win32/ppc386.exe -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../win -FE. -FUC:/Users/garet/Documents/programming/fpc/rtl/units/i386-win32 -di386 -dRELEASE -Fi../objpas/sysutils -Fi../objpas/classes -Fu../i386 -I../objpas -I../win/wininc -Fu../win/wininc -Fu../win -I../inc -Fu../inc -Fu../objpas buildrtl cpu.pp(70,12) Error: Identifier not found "_RTMSupport" cpu.pp(258) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted make[7]: *** [buildrtl.ppu] Error 1 make[7]: Leaving directory `C:/Users/garet/Documents/programming/fpc/rtl/win32' make[6]: *** [win32_all] Error 2 make[6]: Leaving directory `C:/Users/garet/Documents/programming/fpc/rtl' make[5]: *** [rtl] Error 2 make[5]: Leaving directory `C:/Users/garet/Documents/programming/fpc/compiler' make[4]: *** [next] Error 2 make[4]: Leaving directory `C:/Users/garet/Documents/programming/fpc/compiler' make[3]: *** [ppc1.exe] Error 2 make[3]: Leaving directory `C:/Users/garet/Documents/programming/fpc/compiler' make[2]: *** [cycle] Error 2 make[2]: Leaving directory `C:/Users/garet/Documents/programming/fpc/compiler' make[1]: *** [compiler_cycle] Error 2 make[1]: Leaving directory `C:/Users/garet/Documents/programming/fpc' make: *** [build-stamp.i386-win32] Error 2

Are you sure, your working copy is clean? I just tried building i386-win32 and it works (starting with 3.2.0).

Reply by email

J. Gareth Moreton
to Florian Klämpfl

Oh boy, if it's an accidental modification, I'll be kicking myself!  Thanks.

Gareth aka. Kit

Florian Klämpfl wrote 44 lines
Am 02.01.2021 um 18:47 schrieb J. Gareth Moreton via fpc-devel: > There still seems to be a problem with i386-win32 - this is from > using FPC 3.2.0 as a base compiler and calling: > > make distclean all install CPU_TARGET=i386 OS_TARGET=win32 > > ... > C:/FPC/3.2.0/bin/i386-Win32/ppc386.exe -Ur -Xs -O2 -n -Fi../inc > -Fi../i386 -Fi../win -FE. > -FUC:/Users/garet/Documents/programming/fpc/rtl/units/i386-win32 > -di386 -dRELEASE -Fi../objpas/sysutils -Fi../objpas/classes > -Fu../i386 -I../objpas -I../win/wininc -Fu../win/wininc -Fu../win > -I../inc -Fu../inc -Fu../objpas buildrtl > cpu.pp(70,12) Error: Identifier not found "_RTMSupport" > cpu.pp(258) Fatal: There were 1 errors compiling module, stopping > Fatal: Compilation aborted > make[7]: *** [buildrtl.ppu] Error 1 > make[7]: Leaving directory > `C:/Users/garet/Documents/programming/fpc/rtl/win32' > make[6]: *** [win32_all] Error 2 > make[6]: Leaving directory > `C:/Users/garet/Documents/programming/fpc/rtl' > make[5]: *** [rtl] Error 2 > make[5]: Leaving directory > `C:/Users/garet/Documents/programming/fpc/compiler' > make[4]: *** [next] Error 2 > make[4]: Leaving directory > `C:/Users/garet/Documents/programming/fpc/compiler' > make[3]: *** [ppc1.exe] Error 2 > make[3]: Leaving directory > `C:/Users/garet/Documents/programming/fpc/compiler' > make[2]: *** [cycle] Error 2 > make[2]: Leaving directory > `C:/Users/garet/Documents/programming/fpc/compiler' > make[1]: *** [compiler_cycle] Error 2 > make[1]: Leaving directory `C:/Users/garet/Documents/programming/fpc' > make: *** [build-stamp.i386-win32] Error 2 Are you sure, your working copy is clean? I just tried building i386-win32 and it works (starting with 3.2.0). _______________________________________________ fpc-devel maillist  -  https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus

Reply by email

J. Gareth Moreton
to Florian Klämpfl: Are you sure, your working copy is clean? I just tried building i386-win32 and it works…

Sorry, it was!  I got a clean copy of the RTL and it compiled successfully.  Sorry about that.  Glad I checked here first before reporting a bug!

Gareth aka. Kit

Florian Klämpfl wrote 44 lines
Am 02.01.2021 um 18:47 schrieb J. Gareth Moreton via fpc-devel: > There still seems to be a problem with i386-win32 - this is from > using FPC 3.2.0 as a base compiler and calling: > > make distclean all install CPU_TARGET=i386 OS_TARGET=win32 > > ... > C:/FPC/3.2.0/bin/i386-Win32/ppc386.exe -Ur -Xs -O2 -n -Fi../inc > -Fi../i386 -Fi../win -FE. > -FUC:/Users/garet/Documents/programming/fpc/rtl/units/i386-win32 > -di386 -dRELEASE -Fi../objpas/sysutils -Fi../objpas/classes > -Fu../i386 -I../objpas -I../win/wininc -Fu../win/wininc -Fu../win > -I../inc -Fu../inc -Fu../objpas buildrtl > cpu.pp(70,12) Error: Identifier not found "_RTMSupport" > cpu.pp(258) Fatal: There were 1 errors compiling module, stopping > Fatal: Compilation aborted > make[7]: *** [buildrtl.ppu] Error 1 > make[7]: Leaving directory > `C:/Users/garet/Documents/programming/fpc/rtl/win32' > make[6]: *** [win32_all] Error 2 > make[6]: Leaving directory > `C:/Users/garet/Documents/programming/fpc/rtl' > make[5]: *** [rtl] Error 2 > make[5]: Leaving directory > `C:/Users/garet/Documents/programming/fpc/compiler' > make[4]: *** [next] Error 2 > make[4]: Leaving directory > `C:/Users/garet/Documents/programming/fpc/compiler' > make[3]: *** [ppc1.exe] Error 2 > make[3]: Leaving directory > `C:/Users/garet/Documents/programming/fpc/compiler' > make[2]: *** [cycle] Error 2 > make[2]: Leaving directory > `C:/Users/garet/Documents/programming/fpc/compiler' > make[1]: *** [compiler_cycle] Error 2 > make[1]: Leaving directory `C:/Users/garet/Documents/programming/fpc' > make: *** [build-stamp.i386-win32] Error 2 Are you sure, your working copy is clean? I just tried building i386-win32 and it works (starting with 3.2.0). _______________________________________________ fpc-devel maillist  -  https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus

Reply by email