Patch to update libtool in GCC and binutils trees

François-Xavier Coudert fxcoudert@gmail.com
Fri Mar 30 11:56:00 GMT 2007


> I've started a bootstrap and will regtest with multilibed
> x86_64-linux. Would that be useful?

libstdc++-v3 isn't building fine:

make[4]: Entering directory
`/utmp/coudert/gfortran/ibin/x86_64-unknown-linux-gnu/libstdc++-v3/src'
/bin/sh ../libtool --tag CXX --mode=link
/utmp/coudert/gfortran/ibin/./gcc/xgcc -shared-libgcc
-B/utmp/coudert/gfortran/ibin/./gcc -nostdinc++
-L/utmp/coudert/gfortran/ibin/x86_64-unknown-linux-gnu/libstdc++-v3/src
-L/utmp/coudert/gfortran/ibin/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/utmp/coudert/gfortran/irun/x86_64-unknown-linux-gnu/bin/
-B/utmp/coudert/gfortran/irun/x86_64-unknown-linux-gnu/lib/ -isystem
/utmp/coudert/gfortran/irun/x86_64-unknown-linux-gnu/include -isystem
/utmp/coudert/gfortran/irun/x86_64-unknown-linux-gnu/sys-include
-Wl,-O1 -Wl,-z,relro  -fno-implicit-templates -Wall -Wextra
-Wwrite-strings -Wcast-qual  -fdiagnostics-show-location=once
-ffunction-sections -fdata-sections   -o libstdc++.la -rpath
/utmp/coudert/gfortran/irun/lib/../lib64 -version-info 6:9:0
-Wl,--version-script=libstdc++-symbols.ver -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 -lm
libtool: link:  /utmp/coudert/gfortran/ibin/./gcc/xgcc -shared-libgcc
-B/utmp/coudert/gfortran/ibin/./gcc -nostdinc++
-L/utmp/coudert/gfortran/ibin/x86_64-unknown-linux-gnu/libstdc++-v3/src
-L/utmp/coudert/gfortran/ibin/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-B/utmp/coudert/gfortran/irun/x86_64-unknown-linux-gnu/bin/
-B/utmp/coudert/gfortran/irun/x86_64-unknown-linux-gnu/lib/ -isystem
/utmp/coudert/gfortran/irun/x86_64-unknown-linux-gnu/include -isystem
/utmp/coudert/gfortran/irun/x86_64-unknown-linux-gnu/sys-include
-shared -nostdlib /usr/lib/../lib64/crti.o
/utmp/coudert/gfortran/ibin/./gcc/crtbeginS.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
-L/utmp/coudert/gfortran/ibin/x86_64-unknown-linux-gnu/libstdc++-v3/src
-L/utmp/coudert/gfortran/ibin/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs
-lm -L/utmp/coudert/gfortran/ibin/./gcc -L/lib/../lib64
-L/usr/lib/../lib64 -lc -lgcc_s
/utmp/coudert/gfortran/ibin/./gcc/crtendS.o /usr/lib/../lib64/crtn.o
-Wl,-O1 -Wl,-z -Wl,relro -Wl,--version-script=libstdc++-symbols.ver
 -Wl,-soname -Wl,libstdc++.so.6 -o .libs/libstdc++.so.6.0.9
/homes/coudert/local/64/bin/ld:
../libsupc++/.libs/libsupc++convenience.a(array_type_info.o):
relocation R_X86_64_32S against `vtable for
__cxxabiv1::__array_type_info' can not be used when making a shared
object; recompile with -fPIC
../libsupc++/.libs/libsupc++convenience.a(array_type_info.o): could
not read symbols: Bad value
collect2: ld returned 1 exit status
make[4]: *** [libstdc++.la] Error 1
make[4]: Leaving directory
`/utmp/coudert/gfortran/ibin/x86_64-unknown-linux-gnu/libstdc++-v3/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/utmp/coudert/gfortran/ibin/x86_64-unknown-linux-gnu/libstdc++-v3'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/utmp/coudert/gfortran/ibin/x86_64-unknown-linux-gnu/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/utmp/coudert/gfortran/ibin'
make: *** [all] Error 2



More information about the Gcc-patches mailing list