[fpc-devel] Nasty raspberry arm issue that I can't solve. But is it a bug?

Thaddy thaddy at thaddy.com
Thu Feb 6 19:06:43 CET 2014


The following issue ocurred, but I am not sure it's a real bug.
Only: I can't see what's wrong!

My automated crosscompile for arm builds and links ok, but when I build 
fpc trunk on RaspBian native  I get:
------------------  <snip> --------------------
Start compiling package fpcmkcfg for target arm-linux.
        Compiling fpcmkcfg/fpcmkcfg.pp
        Linking fpcmkcfg/bin/arm-linux/fpcmkcfg
The installer encountered the following error:
External command "/home/pi/fpc271/compiler/ppcarm -Tlinux 
-FEfpcmkcfg/bin/arm-linux -FUfpcmkcfg/units/arm-linux/ 
-Fu/home/pi/fpc271/rtl/units/arm-linux/ 
-Fu/home/pi/fpc271/packages/fcl-base/units/arm-linux/ 
-Fu/home/pi/fpc271/packages/fcl-res/units/arm-linux/ 
-Fu/home/pi/fpc271/packages/rtl-objpas/units/arm-linux/ 
-Fu/home/pi/fpc271/packages/fpmkunit/units/arm-linux/ 
-Fu/home/pi/fpc271/packages/hash/units/arm-linux/ 
-Fu/home/pi/fpc271/packages/paszlib/units/arm-linux/ 
-Fu/home/pi/fpc271/packages/fcl-process/units/arm-linux/ 
-Fu/home/pi/fpc271/packages/libtar/units/arm-linux/ -Ur -Xs -O2 -n 
-Fu/home/pi/fpc271/rtl/units/arm-linux 
-Fu/home/pi/fpc271/packages/paszlib/units/arm-linux 
-Fu/home/pi/fpc271/packages/fcl-process/units/arm-linux 
-Fu/home/pi/fpc271/packages/hash/units/arm-linux 
-Fu/home/pi/fpc271/packages/libtar/units/arm-linux 
-Fu/home/pi/fpc271/packages/fpmkunit/units/arm-linux 
-Fu/home/pi/fpc271/packages/fcl-json/units/arm-linux -darm -dRELEASE 
-viq fpcmkcfg/fpcmkcfg.pp" failed with exit code 1. Console output:
Target OS: Linux for ARMEL
Compiling fpcmkcfg/fpcmkcfg.pp
Writing Resource String Table file: fpcmkcfg.rsj
Assembling fpcmkcfg
Linking fpcmkcfg/bin/arm-linux/fpcmkcfg
fpcmkcfg.pp(484) Error: Error while linking
fpcmkcfg.pp(484) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
/usr/bin/ld: warning: fpcmkcfg/bin/arm-linux/link.res contains output 
sections; did you forget -T?
/home/pi/fpc271/rtl/units/arm-linux/cprt0.o: In function `_haltproc_eabi':
(.text+0x88): undefined reference to `_fini'
/home/pi/fpc271/rtl/units/arm-linux/cprt0.o: In function `_haltproc_eabi':
(.text+0x90): undefined reference to `_init'

make[2]: *** [all] Error 1
make[2]: Leaving directory `/home/pi/fpc271/utils'
make[1]: *** [utils_all] Error 2
make[1]: Leaving directory `/home/pi/fpc271'
make: *** [build-stamp.arm-linux] Error 2
-----------------<snip>---------------------------


Any clues, anyone?

Regards,

Thaddy

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4243 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20140206/8557af35/attachment.bin>


More information about the fpc-devel mailing list