Running into another problem, building the 3.3.1 unicode rtl on macOS 14.
cd rtl
make all FPC=/usr/local/lib/fpc/3.3.1/ppca64 CPU_TARGET=aarch64 OPT="-aln -dUSEWIDESTRING"
SUB_TARGET=unicodertl
../../rtl/units/aarch64-darwin-unicodertl/system.s:67340:10: error: unexpected
token in argument list
bl _stat
^
system.pp(412) Error: Error while assembling exitcode 1
system.pp(412) Fatal: There were 2 errors compiling module, stopping
Fatal: Compilation aborted
make[1]: *** [system.ppu] Error 1
make: *** [darwin_all] Error 2
When I look with a hex editor at system.s, there is a $01 character between the "_stat" and the $0A
newline. I checked that the $01 character is not in the source code in any place with an
external name 'stat'.
So, this reman a mystery (but does block building the Unicode rtl).
Regards,
Adriaan van Os
_______________________________________________
fpc-devel maillist - [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel