commits 43439-43441 break building some targets on x86_64-darwin
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:
After commits 43439-34341 building all fails for the following targets on x86_64-darwin:
mips-linux, mipsel-linux, x86_64-darwin, and arm-embedded-armv6m. Build all on many other targets (>20) works.
Details:
Building mips-linux and mipsel-linux ends up in an endless loop after the following command:
make all OPT=-ap OS_TARGET=linux CPU_TARGET=mips
...
/BlaBla/FreePascal/compiler/ppcrossmips -Ur -Tlinux -Pmips -XPmips-linux- -Xr -Ur -Xs -O2 -n -Fi../inc -Fi../mips -Fi../unix -Fimips -FE. -FU/BlaBla/FreePascal/rtl/units/mips-linux -Cg -ap -dmips -dRELEASE -Us -Sg system.pp
Building arm-embedded-armv6m fails with:
make all OPT=-ap OS_TARGET=embedded CPU_TARGET=arm SUBARCH=armv6m
...
/sw/bin/gmkdir -p /BlaBla/FreePascal/rtl/units/arm-embedded
/BlaBla/FreePascal/compiler/ppcrossarm -Cparmv6m -Ur -Tembedded -Parm -XParm-embedded- -Xr -Ur -Xs -O2 -n -Fi../inc -Fi../arm -FE. -FU/BlaBla/FreePascal/rtl/units/arm-embedded -ap -darm -dRELEASE -Us -Sg system.pp @system.cfg
{standard input}: Assembler messages:
{standard input}:5095: Error: branch out of range
{standard input}:6135: Error: branch out of range
{standard input}:6232: Error: branch out of range
...
{standard input}:71580: Error: branch out of range
{standard input}:83535: Error: branch out of range
{standard input}:84460: Error: branch out of range
system.pp(336) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
make[3]: *** [Makefile:2818: system.ppu] Fehler 1
make[3]: Verzeichnis „/BlaBla/FreePascal/rtl/embedded“ wird verlassen
make[2]: *** [Makefile:2787: embedded_all] Fehler 2
make[2]: Verzeichnis „/BlaBla/FreePascal/rtl“ wird verlassen
make[1]: *** [Makefile:2641: rtl_all] Fehler 2
make[1]: Verzeichnis „/BlaBla/FreePascal“ wird verlassen
make: *** [Makefile:2889: build-stamp.arm-embedded] Fehler 2
Building x86_64-darwin fails at packages with:
make all OPT=-ap CPU_TARGET=x86_64 OS_TARGET=darwin
...
Start compiling package xforms for target x86_64-darwin.
Compiling xforms/BuildUnit_xforms.pp
Compiling ./xforms/src/xforms.pp
External command "/BlaBla/FreePascal/compiler/ppcx64 -Tdarwin -FUxforms/units/x86_64-darwin/ -Fu/BlaBla/FreePascal/rtl/units/x86_64-darwin/ -Fu/BlaBla/FreePascal/packages/x11/units/x86_64-darwin/ -Fuxforms/src -Fixforms/src -Ur -Xs -O2 -n -ap -v0 -Fl/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -dx86_64 -dRELEASE -XX -CX -Sc -viq xforms/BuildUnit_xforms.pp" failed with exit code 256. Console output:
Target OS: Darwin for x86_64
Compiling xforms/BuildUnit_xforms.pp
Compiling ./xforms/src/xforms.pp
Assembling (pipe) xforms/units/x86_64-darwin/xforms.s
xforms.pp(2910) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
&LtPos;unknown>:0: error: Unfinished frame!
The installer encountered the following error:
Compilation of "BuildUnit_xforms.pp" failed
make[2]: *** [Makefile:1742: smart] Fehler 1
make[2]: Verzeichnis „/Volumes/Reserve/Developer/FreePascal/packages“ wird verlassen
make[1]: *** [Makefile:2735: packages_smart] Fehler 2
make[1]: Verzeichnis „/Volumes/Reserve/Developer/FreePascal“ wird verlassen
make: *** [Makefile:2890: build-stamp.x86_64-darwin] Fehler 2
Additional information:
Newer commits up to 43457 do not change it.
Mantis conversion info:
- Mantis ID: 36309
- OS: Mac OS X
- OS Build: 10.5, 10.6
- Build: 43441
- Platform: darwin
- Version: 3.3.1
- Fixed in version: 3.3.1
- Fixed in revision: r43521 (#6248a127)