[fpc-pascal] Is it just me or... trunk cross compile failure on arm-linux

Pierre Free Pascal pierre at freepascal.org
Wed Jan 8 16:40:55 CET 2014



> -----Message d'origine-----
> De : fpc-pascal-bounces at lists.freepascal.org [mailto:fpc-pascal-
> bounces at lists.freepascal.org] De la part de Reinier Olislagers
> Envoyé : mercredi 8 janvier 2014 13:58
> À : FPC Mailing list
> Objet : [fpc-pascal] Is it just me or... trunk cross compile failure on
> arm-linux
> 
> Working on my arm-linux cross compiler (which used to at least build a
> compiler etc), I currently hit this with fpc trunk:
> C:/development/fpctrunk/compiler/ppcrossarm.exe -Tlinux -Parm
> -XParm-linux- -Xr -Ur -Xs -O2 -n -Fuarm -Fusystems
> -FuC:/development/fpctrunk/rtl/units/arm-linux -Fiarm
> -FDC:\development\cross\bin\arm-linux -FE. -FUarm/units/arm-linux
> -dRELEASE -XParm-linux- -fPIC -CpARMV6 -CaEABI -CfVFPV2 -dFPC_ARMHF -Xd
> -FlC:\development\cross\lib\arm-linux -darm -dGDB -dBROWSERLOG  -Sew
> -XParm-linux- -fPIC -CpARMV6 -CaEABI -CfVFPV2 -dFPC_ARMHF   -darm -dGDB
> -dBROWSERLOG  -Sew pp.pas
> ...
> C:\development\cross\bin\arm-linux\arm-linux-ld.exe: cannot find
> arm\units\arm-linux\pexpr.o
> pp.pas(238,36) Error: Error while linking
> pp.pas(238,36) Fatal: There were 1 errors compiling module, stopping
> Fatal: Compilation aborted
> make.exe[3]: *** [ppcarm] Error 1
> make.exe[3]: Leaving directory `C:/development/fpctrunk/compiler'
I just completed a cycle on a native arm linux
using just:
make cycle OPT="-n -gl" 
starting with installed 2.6.0 ppcarm for raspberrypi (armhf)
The cycle completed successfully.

-CaEABI fails for me,
now the correct option is -CaEABIHF


I was also able to cycle successfully this:
make distclean cycle OPT="-n -gl -CpARMV6 -CaEABIHF -CfVFPV2 -dFPC_ARMHF"

Did you check the obvious, like free disk space?
Try to do 
make distclean 
and restart...

Pierre Muller



More information about the fpc-pascal mailing list