Bug 28381

Summary: compile of gcc 4.1.1 fails on x86_64 using gcc 3.4.5
Product: gcc Reporter: Dave Simmonds <daveme>
Component: c++Assignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: daveme, gcc-bugs, jeremy.gorman, ssarangan
Priority: P3    
Version: 4.1.1   
Target Milestone: ---   
Host: 3.4.5 Target: 4.1.1
Build: 3.4.5 Known to work:
Known to fail: Last reconfirmed:

Description Dave Simmonds 2006-07-14 14:37:38 UTC
The config command is:
configure --prefix=/home/phoenix411 --with-libiconv-prefix=/usr/local --disable-multilib
then try to build with make bootstrap
The last couple of lines of output are:
 /home/dsimmond/gcc/obj411/./gcc/xgcc -shared-libgcc -B/home/dsimmond/gcc/obj411/./gcc -nostdinc++ -L/home/dsimmond/gcc/obj411/x86_64-unknown-linux-gnu/libstdc++-v3/src -L/home/dsimmond/gcc/obj411/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs -B/home/phoenix411/x86_64-unknown-linux-gnu/bin/ -B/home/phoenix411/x86_64-unknown-linux-gnu/lib/ -isystem /home/phoenix411/x86_64-unknown-linux-gnu/include -isystem /home/phoenix411/x86_64-unknown-linux-gnu/sys-include -shared -nostdlib /usr/lib/../lib64/crti.o /home/dsimmond/gcc/obj411/./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_locale.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/locale-misc-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/home/dsimmond/gcc/obj411/x86_64-unknown-linux-gnu/libstdc++-v3/src -L/home/dsimmond/gcc/obj411/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs -lm ../libmath/.libs/libmath.a -lm ../libsupc++/.libs/libsupc++convenience.a -lm -L/home/dsimmond/gcc/obj411/./gcc -L/lib/../lib64 -L/usr/lib/../lib64 -lgcc_s -lc -lgcc_s -lm -lgcc_s -lc -lgcc_s   /home/dsimmond/gcc/obj411/./gcc/crtendS.o /usr/lib/../lib64/crtn.o  -Wl,-O1 -Wl,-z -Wl,relro -Wl,--version-script=libstdc++-symbol.ver -Wl,-soname -Wl,libstdc++.so.6 -o .libs/libstdc++.so.6.0.8
/usr/bin/ld: BFD 2.15.92.0.2 20040927 internal error, aborting at ../../bfd/elf64-x86-64.c line 1912 in elf64_x86_64_relocate_section

building gcc 4.1.1
with gcc 3.4.5
system: Linux 2.6.9-34.0.1.Elsmp x86_64

I'm not sure what to put in triplet fields above - they aren't mentioned in 'bug writing guidlines' - sorry if i've got them wrong!
Comment 1 Andrew Pinski 2006-07-14 14:40:52 UTC
Trying updating binutils.  The internal error is from binutils and not GCC so closing as invalid.
Comment 2 Andrew Pinski 2006-09-16 06:34:05 UTC
Reopening to ...
Comment 3 Andrew Pinski 2006-09-16 06:34:32 UTC
Mark as a dup of bug 27256.

*** This bug has been marked as a duplicate of 27256 ***