New libtool is in the GCC and Src trees.

Julian Brown julian@codesourcery.com
Wed Jun 20 13:10:00 GMT 2007


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

> --- julian-config      2007-06-20 13:10:21.000000000 +0200
> +++ rask-config      2007-06-20 14:00:35.000000000 +0200
> @@ -4,7 +4,7 @@
>  macro_revision=1.2435
> 
>  # Whether or not to build shared libraries.
> -build_libtool_libs=yes
> +build_libtool_libs=no
> 
> Looking at the old ltconfig script, I actually don't understand how they 
> could have worked in the old libtool.  I think you need to add a stanza 
> in the case statement around line 2000 of libtool.m4, i.e. the one 
> beginning:
> 
> case $host_os in
> aix3*)
>   version_type=linux
>   library_names_spec='${libname}${release}${shared_ext}$versuffix 
> $libname.a'
>   shlibpath_var=LIBPATH
> 
> (for host_os being "eabi").

Thanks, I'll have a look.

Julian



More information about the Gcc-patches mailing list