From mboxrd@z Thu Jan 1 00:00:00 1970 From: Krishnakumar B To: gcc@gcc.gnu.org Subject: Linking libstdc++ with gcc-3.0.2 prerelease fails on IA64 Date: Sun, 14 Oct 2001 16:39:00 -0000 Message-id: <15306.8690.271832.77982@samba.doc.wustl.edu> X-SW-Source: 2001-10/msg00836.html Hi, I am trying to bootstrap IA-64. During the link stage of libstdc++, I get the following message. I can reproduce the failure at the same stage with the snapshots 200011001 and 20011007 also. /u/kitty/tools/gcc-3.0.2-20011014/ia64-redhat-linux/gcc/xgcc -B/u/kitty/tools/gcc-3.0.2-20011014/ia64-redhat-linux/gcc/ -nostdinc++ -L/u/kitty/tools/gcc-3.0.2-20011014/ia64-redhat-linux/ia64-redhat-linux/libstdc++-v3/src -L/u/kitty/tools/gcc-3.0.2-20011014/ia64-redhat-linux/ia64-redhat-linux/libstdc++-v3/src/.libs -B/opt/ia64-redhat-linux/bin/ -B/opt/ia64-redhat-linux/lib/ -isystem /opt/ia64-redhat-linux/include -shared -nostdlib /usr/lib/crti.o /u/kitty/tools/gcc-3.0.2-20011014/ia64-redhat-linux/gcc/crtbeginS.o .libs/basic_file.o .libs/bitset.o .libs/c++locale.o .libs/cmath.o .libs/codecvt.o .libs/complex_io.o .libs/functexcept.o .libs/globals.o .libs/ios.o .libs/limits.o .libs/locale.o .libs/locale-inst.o .libs/localename.o .libs/misc-inst.o .libs/stdexcept.o .libs/stl-inst.o .libs/string-inst.o .libs/strstream.o .libs/valarray-inst.o .libs/wstring-inst.o -Wl,--whole-archive ../libmath/.libs/libmath.a ../libsupc++/.libs/libsupc++convenience.a -Wl,--no-whole-archive -L/u/kitty/tools/gcc-3.0.2-20011014/ia64-redhat-linux/ia64-redhat-linux/libstdc++-v3/src -L/u/kitty/tools/gcc-3.0.2-20011014/ia64-redhat-linux/ia64-redhat-linux/libstdc++-v3/src/.libs -lm ../libmath/.libs/libmath.a -lm ../libsupc++/.libs/libsupc++convenience.a -lm -L/u/kitty/tools/gcc-3.0.2-20011014/ia64-redhat-linux/gcc -lgcc_s -lgcc -lc -lgcc_s -lgcc -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /u/kitty/tools/gcc-3.0.2-20011014/ia64-redhat-linux/gcc/crtendS.o /usr/lib/crtn.o -Wl,-soname -Wl,libstdc++.so.3 -o .libs/libstdc++.so.3.0.2 .libs/string-inst.o:/u/kitty/tools/gcc-3.0.2-20011014/ia64-redhat-linux/ia64-redhat-linux/libstdc++-v3/include/bits/basic_string.h:238: unsupported reloc .libs/string-inst.o:/u/kitty/tools/gcc-3.0.2-20011014/ia64-redhat-linux/ia64-redhat-linux/libstdc++-v3/include/bits/basic_string.h:238: unsupported reloc collect2: ld returned 1 exit status make[4]: *** [libstdc++.la] Error 1 make[4]: Leaving directory `/u/kitty/tools/gcc-3.0.2-20011014/ia64-redhat-linux/ia64-redhat-linux/libstdc++-v3/src' make[3]: *** [all-recursive] Error 1 Some more info: toutatis> ld -v GNU ld version 2.11.92.0.5 20011005 toutatis> gcc -v Reading specs from /opt/lib/gcc-lib/ia64-unknown-linux/3.0.2/specs Configured with: ../configure --prefix=/opt --enable-shared --enable-threads=posix Thread model: posix gcc version 3.0.2 20010917 (prerelease) toutatis> uname -a Linux toutatis 2.4.9 #16 SMP Mon Sep 10 11:22:11 CDT 2001 ia64 unknown toutatis> /lib/libc.so.6.1 GNU C Library stable release version 2.2.4, by Roland McGrath et al. Copyright (C) 1992-1999, 2000, 2001 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled by GNU CC version 2.96 20000731 (Red Hat Linux 7.1 2.96-98). Compiled on a Linux 2.4.7-10smp system on 2001-09-28. Available extensions: GNU libio by Per Bothner crypt add-on version 2.1 by Michael Glad and others The C stubs add-on version 2.1.2. linuxthreads-0.9 by Xavier Leroy BIND-8.2.3-T5B libthread_db work sponsored by Alpha Processor Inc NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk Report bugs using the `glibcbug' script to . -- Krishnakumar B Distributed Object Computing Laboratory, Washington University in St.Louis