This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: New libtool is in the GCC and Src trees.


Julian Brown wrote:
Paolo Bonzini wrote:
Rask Ingemann Lambertsen wrote:
On Wed, Jun 20, 2007 at 01:16:32PM +0200, Paolo Bonzini wrote:
Paolo Bonzini wrote:
Julian Brown wrote:
Ralf Wildenhues wrote:
Please make available the output of
 /bin/bash ../libtool --tag CXX --config
Attached as "config.bz2".
Part of the problem might be that library_names_spec and soname_spec are empty. This causes soname to be empty:
Rask, could you please attach your configuration too?

Attached as "libtool-config.bz2".

Hum, Julian, are you using --enable-shared?

Yeah. The full configure line is:


/scratch/julian/cugel-arm/src/gcc-mainline/configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=arm-none-eabi --enable-shared --enable-threads --disable-libmudflap --disable-libssp --disable-libgomp --disable-libstdcxx-pch --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --with-newlib --disable-nls --prefix=/opt/codesourcery --with-headers=yes --with-sysroot=/opt/codesourcery/arm-none-eabi --with-build-sysroot=/scratch/julian/cugel-arm/install/arm-none-eabi --with-gmp=/scratch/julian/cugel-arm/obj/host-libs-mainline-0-arm-none-eabi-i686-pc-linux-gnu/usr --with-mpfr=/scratch/julian/cugel-arm/obj/host-libs-mainline-0-arm-none-eabi-i686-pc-linux-gnu/usr --enable-poison-system-directories --with-build-time-tools=/scratch/julian/cugel-arm/install/arm-none-eabi/bin

It turns out there is no need for us to be using --enable-shared for bare-metal ARM EABI builds, and everything seems to work fine if --disable-shared is used instead. The sensible fix is thus to mend our build scripts :-). Thanks to everyone for helping figure this out!


Cheers,

Julian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]