New libtool is in the GCC and Src trees.
Julian Brown
julian@codesourcery.com
Tue Jun 19 11:25:00 GMT 2007
Steve Ellcey wrote:
> The GCC and src trees have been updated with the new libtool. Let me
> know if you run into problems.
I think this update is preventing current mainline from building a cross
compiler to arm-none-eabi (I've not tried other targets, so I'm not
certain if it's a target-dependent thing). I've attempted to track down
the problem, without much luck: the symptom is that when building
libstdc++.la, the name of the output file is getting lost somehow
although the name of the output directory remains, leading to the
following error:
/bin/bash ../libtool --tag CXX --mode=link
/scratch/julian/cugel-arm/obj/gcc-mainline-0-arm-none-eabi-i686-pc-linux-gnu/./gcc/xgcc
-shared-libgcc
-B/scratch/julian/cugel-arm/obj/gcc-mainline-0-arm-none-eabi-i686-pc-linux-gnu/./gcc
-nostdinc++
-L/scratch/julian/cugel-arm/obj/gcc-mainline-0-arm-none-eabi-i686-pc-linux-gnu/arm-none-eabi/libstdc++-v3/src
-L/scratch/julian/cugel-arm/obj/gcc-mainline-0-arm-none-eabi-i686-pc-linux-gnu/arm-none-eabi/libstdc++-v3/src/.libs
-B/scratch/julian/cugel-arm/install/arm-none-eabi/bin/
-B/scratch/julian/cugel-arm/install/arm-none-eabi/lib/ -isystem
/scratch/julian/cugel-arm/install/arm-none-eabi/include -isystem
/scratch/julian/cugel-arm/install/arm-none-eabi/sys-include
-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections
-Xcompiler '--sysroot=/scratch/julian/cugel-arm/install/arm-none-eabi'
-o libstdc++.la -rpath /opt/codesourcery/arm-none-eabi/lib -version-info
6:9:0 -lm bitmap_allocator.lo pool_allocator.lo mt_allocator.lo
codecvt.lo compatibility.lo complex_io.lo ctype.lo debug.lo
debug_list.lo functexcept.lo globals_io.lo ios.lo ios_failure.lo
ios_init.lo ios_locale.lo limits.lo list.lo locale.lo locale_init.lo
locale_facets.lo localename.lo stdexcept.lo strstream.lo tree.lo
allocator-inst.lo concept-inst.lo fstream-inst.lo ext-inst.lo
ios-inst.lo iostream-inst.lo istream-inst.lo istream.lo locale-inst.lo
misc-inst.lo ostream-inst.lo sstream-inst.lo streambuf-inst.lo
streambuf.lo string-inst.lo valarray-inst.lo wlocale-inst.lo
wstring-inst.lo atomicity.lo codecvt_members.lo collate_members.lo
ctype_members.lo messages_members.lo monetary_members.lo
numeric_members.lo time_members.lo basic_file.lo c++locale.lo
../libmath/libmath.la ../libsupc++/libsupc++convenience.la
*** Warning: inter-library dependencies are not known to be supported.
*** All declared inter-library dependencies are being dropped.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
libtool: link:
/scratch/julian/cugel-arm/obj/gcc-mainline-0-arm-none-eabi-i686-pc-linux-gnu/./gcc/xgcc
-shared-libgcc
-B/scratch/julian/cugel-arm/obj/gcc-mainline-0-arm-none-eabi-i686-pc-linux-gnu/./gcc
-nostdinc++
-L/scratch/julian/cugel-arm/obj/gcc-mainline-0-arm-none-eabi-i686-pc-linux-gnu/arm-none-eabi/libstdc++-v3/src
-L/scratch/julian/cugel-arm/obj/gcc-mainline-0-arm-none-eabi-i686-pc-linux-gnu/arm-none-eabi/libstdc++-v3/src/.libs
-B/scratch/julian/cugel-arm/install/arm-none-eabi/bin/
-B/scratch/julian/cugel-arm/install/arm-none-eabi/lib/ -isystem
/scratch/julian/cugel-arm/install/arm-none-eabi/include -isystem
/scratch/julian/cugel-arm/install/arm-none-eabi/sys-include -shared
-nostdlib
/scratch/julian/cugel-arm/obj/gcc-mainline-0-arm-none-eabi-i686-pc-linux-gnu/./gcc/crti.o
/scratch/julian/cugel-arm/obj/gcc-mainline-0-arm-none-eabi-i686-pc-linux-gnu/./gcc/crtbegin.o
/scratch/julian/cugel-arm/install/arm-none-eabi/lib/crt0.o
.libs/bitmap_allocator.o .libs/pool_allocator.o .libs/mt_allocator.o
.libs/codecvt.o .libs/compatibility.o .libs/complex_io.o .libs/ctype.o
.libs/debug.o .libs/debug_list.o .libs/functexcept.o .libs/globals_io.o
.libs/ios.o .libs/ios_failure.o .libs/ios_init.o .libs/ios_locale.o
.libs/limits.o .libs/list.o .libs/locale.o .libs/locale_init.o
.libs/locale_facets.o .libs/localename.o .libs/stdexcept.o
.libs/strstream.o .libs/tree.o .libs/allocator-inst.o
.libs/concept-inst.o .libs/fstream-inst.o .libs/ext-inst.o
.libs/ios-inst.o .libs/iostream-inst.o .libs/istream-inst.o
.libs/istream.o .libs/locale-inst.o .libs/misc-inst.o
.libs/ostream-inst.o .libs/sstream-inst.o .libs/streambuf-inst.o
.libs/streambuf.o .libs/string-inst.o .libs/valarray-inst.o
.libs/wlocale-inst.o .libs/wstring-inst.o .libs/atomicity.o
.libs/codecvt_members.o .libs/collate_members.o .libs/ctype_members.o
.libs/messages_members.o .libs/monetary_members.o
.libs/numeric_members.o .libs/time_members.o .libs/basic_file.o
.libs/c++locale.o -Wl,--whole-archive ../libmath/.libs/libmath.a
../libsupc++/.libs/libsupc++convenience.a -Wl,--no-whole-archive
/scratch/julian/cugel-arm/obj/gcc-mainline-0-arm-none-eabi-i686-pc-linux-gnu/./gcc/crtend.o
/scratch/julian/cugel-arm/obj/gcc-mainline-0-arm-none-eabi-i686-pc-linux-gnu/./gcc/crtn.o
--sysroot=/scratch/julian/cugel-arm/install/arm-none-eabi
-Wl,-soname -Wl, -o .libs/
/scratch/julian/cugel-arm/install/arm-none-eabi/bin/ld: cannot open
output file .libs/: Is a directory
collect2: ld returned 1 exit status
make[4]: *** [libstdc++.la] Error 1
Any ideas why this might be happening? The libtool update is
sufficiently large that attempting to track down a single change which
causes the breakage isn't really an option...
Cheers,
Julian
More information about the Gcc-patches
mailing list