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, stoppingPascal

Mailing lists / fpc-devel / 2020-12
11 messages · 4 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
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, stoppingPascal
Do you have an assembly dump of that file, or at least a snippet of the culprit subroutine?
Gareth aka. Kit
cpu.pp(77,15) Error: Unrecognized opcode xbegin cpu.pp(77,22) Error: Assembler syntax…
Pascal Riekenberg wrotecpu.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
Actually, I think it is not a 3.2.0 starting compiler?
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
Pascal Riekenberg wroteWindows 10 20H2 x86_64 How can i check binutils version?
On Windows, FPC does not use binutils for assembling by default. What is your starting compiler version?
Jonas
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
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
Are you sure, your working copy is clean? I just tried building i386-win32 and it works (starting with 3.2.0).
Oh boy, if it's an accidental modification, I'll be kicking myself! Thanks.
Gareth aka. Kit
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