Sign in Join

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

Mailing lists / fpc-pascal / 2012-11

Building 2.7.1 cross compiler

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

patspiper

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

Reply by email

bsquared
to patspiper
patspiper wrote 17 lines
On 13/11/12 15:04, patspiper wrote: > 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 I forgot to mention that this is probably closely related to: http://comments.gmane.org/gmane.comp.compilers.free-pascal.general/29222 _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

I have fpc version 2.7.1 with CodeTyphon on Ubuntu 12.04 32 bit. The Windows cross compiler built without a problem.

I installed CodeTyphon because I was having trouble cross compiling for Android. Unfortunately this is not functional with the current stable version for Linux, but they report that they are working on it.

Regards, Brian

Reply by email