[fpc-pascal] Building 2.7.1 cross compiler

patspiper patspiper at gmail.com
Tue Nov 13 14:04:46 CET 2012


Hi,

Since a few weeks, I have been unable to build the 2.7.1 cross compiler 
(from Linux 32 bit to Win32), while the 2.6.1 cross compiler builds 
merrily. My OS is Ubuntu 11.04 32 bits.

What could be wrong?

Stephano

Log (partial):
make packages_smart 
FPC=/home/me/Programs/fpc/fpsrc/exported/2.7.1/compiler/ppcross386 RELEASE=1
make[1]: Entering directory `/home/me/Programs/fpc/fpsrc/exported/2.7.1'
make -C packages smart
make[2]: Entering directory 
`/home/me/Programs/fpc/fpsrc/exported/2.7.1/packages'
make -C fpmkunit bootstrap
make[3]: Entering directory 
`/home/me/Programs/fpc/fpsrc/exported/2.7.1/packages/fpmkunit'
/bin/mkdir -p units_bs/i386-linux
/home/me/Programs/fpc/fpsrc/exported/2.7.1/compiler/ppc src/fpmkunit.pp 
-n -Fu/home/me/Programs/fpc/fpsrc/exported/2.7.1/rtl/units/i386-linux 
-Fu/home/me/Programs/fpc/fpsrc/exported/2.7.1/packages/paszlib 
-Fu/home/me/Programs/fpc/fpsrc/exported/2.7.1/packages/fcl-process 
-Fu/home/me/Programs/fpc/fpsrc/exported/2.7.1/packages/hash 
-FUunits_bs/i386-linux -Fu../paszlib/src -Fu../hash/src 
-Fi../paszlib/src  -Fi../fcl-process/src/unix -Fu../fcl-process/src 
-Fi../fcl-process/src/linux -Fi../fcl-process/src/dummy -Xd -Xt -gl
make[3]: Leaving directory 
`/home/me/Programs/fpc/fpsrc/exported/2.7.1/packages/fpmkunit'
/home/me/Programs/fpc/fpsrc/exported/2.7.1/compiler/ppc fpmake.pp -n 
-Fu/home/me/Programs/fpc/fpsrc/exported/2.7.1/packages/fpmkunit/units_bs/i386-linux 
-Fu/home/me/Programs/fpc/fpsrc/exported/2.7.1/rtl/units/i386-linux -Xd 
-Xt -gl
/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
/home/me/Programs/fpc/fpsrc/exported/2.7.1/rtl/units/i386-linux/cthreads.o: 
In function `LOADPTHREADS':
/home/me/Programs/fpc/fpsrc/exported/2.7.1/rtl/linux/pthread.inc:261: 
warning: Using 'dlopen' in statically linked applications requires at 
runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: cannot find -lgcc
fpmake.pp(33,1) Error: Error while linking
fpmake.pp(33,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
make[2]: *** [fpmake] Error 1
make[2]: Leaving directory 
`/home/me/Programs/fpc/fpsrc/exported/2.7.1/packages'
make[1]: *** [packages_smart] Error 2
make[1]: Leaving directory `/home/me/Programs/fpc/fpsrc/exported/2.7.1'
make: *** [build-stamp.i386-win32] Error 2



More information about the fpc-pascal mailing list