Sign in Join

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

Mailing lists / fpc-pascal / 2006-10

fpc arm crossbuild error

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

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

Terry Kemp

I have removed the FC5 rpm versions of fpc and installed the source and x86_64 binary so everything is the same...
# fpc
Free Pascal Compiler version 2.0.4 [2006/08/20] for x86_64

invocation is...
# make clean CPU_TARGET=arm CROSSINSTALL=1
# make crossall CPU_TARGET=arm OS_TARGET=linux

I am getting an error when building...

snip>

/home/tkemp/downloads/fpcbuild_2.0.4_exp/fpcsrc/compiler/ppc -Ur -Xs -n -Fuarm -Fusystems
-Fu/home/tkemp/downloads/fpcbuild_2.0.4_exp/fpcsrc/rtl/units/x86_64-linux -Fiarm -FE. -FUarm/units/x86_64-linux -dRELEASE -darm -dGDB -dBROWSERLOG -dNOOPT pp.pas

ncgcon.pas(125,82) Fatal: Internal error 200312205
ncgcon.pas(157,20) Fatal: Compilation aborted

make[4]: *** [ppcrossarm] Error 1
make[4]: Leaving directory
`/home/tkemp/downloads/fpcbuild_2.0.4_exp/fpcsrc/compiler' make[3]: *** [cycle] Error 2
make[3]: Leaving directory
`/home/tkemp/downloads/fpcbuild_2.0.4_exp/fpcsrc/compiler' make[2]: *** [compiler_cycle] Error 2
make[2]: Leaving directory
`/home/tkemp/downloads/fpcbuild_2.0.4_exp/fpcsrc'
make[1]: *** [build-stamp.arm-linux] Error 2
make[1]: Leaving directory
`/home/tkemp/downloads/fpcbuild_2.0.4_exp/fpcsrc'
make: *** [crossall] Error 2

I then tried with the latest 2.0.x snapshot - with fpc 2.04 and then with fpc 2.0.4-2 rpm - same same.

help please!

Terry