svn revision 49129 breaks crossbuilding powerpc(64)-* targets
Original Reporter info from Mantis: karl-michael.schindler@web.de @KaMiSchi
-
Reporter name: Karl-Michael Schindler
Original Reporter info from Mantis: karl-michael.schindler@web.de @KaMiSchi
- Reporter name: Karl-Michael Schindler
Description:
svn revision 49129 breaks crossbuilding powerpc-linux, powerpc-netbsd and powerpc64-linux targets. Error message from powerpc-linux:
...
powerpc-linux-as -a32 -o /BlaBla/FreePascal/rtl/units/powerpc-linux/gprt0.o powerpc/gprt0.as
/BlaBla/FreePascal/compiler/ppcrossppc -Ur -Tlinux -Ppowerpc -XPpowerpc-linux- -Ur -Xs -O2 -n -Fi../inc -Fi../powerpc -Fi../unix -Fipowerpc -FE. -FU/BlaBla/FreePascal/rtl/units/powerpc-linux -ap -dpowerpc -dRELEASE -Us -Sg system.pp
sysos.inc(47,1) Fatal: Internal error 2016012401
Fatal: Compilation aborted
make[5]: *** [system.ppu] Error 1
make[4]: *** [linux_all] Error 2
make[3]: *** [rtl] Error 2
make[2]: *** [cycle] Error 2
make[1]: *** [compiler_cycle] Error 2
make: *** [build-stamp.powerpc-linux] Error 2
Steps to reproduce:
svn up -r 49129
make all OPT=-ap OS_TARGET=linux CPU_TARGET=powerpc
correspondingly for powerpc-netbsd and powerpc64-linux.
Additional information:
I assume that powerpc-darwin is also affected, because it might use bsd/sysos.inc like netbsd.
I do not think that this should matter, but for the sake of completeness:
macOS: 11.2.3
Xcode: 12.4
Bootstrap fpc compiler: fpc 3.2.0 installed using fink
I also checked other linux cross targets. Other cpu targets do not show this error, it is powerpc(64) only. Further tests are ongoing.