Bug 27256 - gcc 4.1.0 compilation fails on RHEL AS 3 (x86_64)
Summary: gcc 4.1.0 compilation fails on RHEL AS 3 (x86_64)
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: libstdc++ (show other bugs)
Version: 4.1.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
: 28066 28381 28745 29104 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-22 04:42 UTC by ST Wong
Modified: 2006-09-16 06:35 UTC (History)
5 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ST Wong 2006-04-22 04:42:46 UTC
Gcc version: 4.1.0
System type: RedHat Enterprise Linux AS 3.0 (x86_64) on Sun v20z (2 x AMD Operaton 252)
configure options: ./configure --enable-languages="c,c++,fortran"
Command line triggers the bug: make
Error output:

----------------------- cut here -----------------
[snip]

 /usr/local/src/gcc-4.1.0/host-x86_64-unknown-linux-gnu/gcc/xgcc -shared-libgcc -B/usr/local/src/gcc-4.1.0/host-x86_64-unknown-linux-gnu/gcc -nostdinc++ -L/usr/local/src/gcc-4.1.0/x86_64-unknown-linux-gnu/libstdc++-v3/src -L/usr/local/src/gcc-4.1.0/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs -B/usr/local/x86_64-unknown-linux-gnu/bin/ -B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/x86_64-unknown-linux-gnu/include -isystem /usr/local/x86_64-unknown-linux-gnu/sys-include -shared -nostdlib /usr/lib/../lib64/crti.o /usr/local/src/gcc-4.1.0/host-x86_64-unknown-linux-gnu/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/usr/local/src/gcc-4.1.0/x86_64-unknown-linux-gnu/libstdc++-v3/src -L/usr/local/src/gcc-4.1.0/x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs -lm ../libmath/.libs/libmath.a -lm ../libsupc++/.libs/libsupc++convenience.a -lm -L/usr/local/src/gcc-4.1.0/host-x86_64-unknown-linux-gnu/gcc -L/usr/local/lib/../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -lgcc_s -lc -lgcc_s -lm -lgcc_s -lc -lgcc_s   /usr/local/src/gcc-4.1.0/host-x86_64-unknown-linux-gnu/gcc/crtendS.o /usr/lib/../lib64/crtn.o  -Wl,-O1 -Wl,--version-script=libstdc++-symbol.ver -Wl,-soname -Wl,libstdc++.so.6 -o .libs/libstdc++.so.6.0.7
/usr/bin/ld: BFD 2.14.90.0.4 20030523 internal error, aborting at ../../bfd/elf64-x86-64.c line 2067 in elf64_x86_64_relocate_section

/usr/bin/ld: Please report this bug.

collect2: ld returned 1 exit status
make[4]: *** [libstdc++.la] Error 1
make[4]: Leaving directory `/usr/local/src/gcc-4.1.0/x86_64-unknown-linux-gnu/libstdc++-v3/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/src/gcc-4.1.0/x86_64-unknown-linux-gnu/libstdc++-v3'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/gcc-4.1.0/x86_64-unknown-linux-gnu/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/usr/local/src/gcc-4.1.0'
make: *** [all] Error 2
---------------------- cut here ------------------------
Comment 1 Paolo Carlini 2006-04-22 08:31:11 UTC
(In reply to comment #0)

> /usr/bin/ld: BFD 2.14.90.0.4 20030523 internal error, aborting at
> ../../bfd/elf64-x86-64.c line 2067 in elf64_x86_64_relocate_section
> 
> /usr/bin/ld: Please report this bug.
> 
> collect2: ld returned 1 exit status

As you can see, the problem affects ld, the linker, *not* libstdc++. Please report it to the binutils project. Thanks.
Comment 2 Paolo Carlini 2006-04-22 08:50:25 UTC
(In reply to comment #1)
> > /usr/bin/ld: BFD 2.14.90.0.4 20030523 internal error, aborting at

> As you can see, the problem affects ld, the linker, *not* libstdc++. Please
> report it to the binutils project. Thanks.

By the way, 2.14.90.* is *very* old: before reporting any bug anywhere about it, please consider an upgrade, in the first place.

Comment 3 ST@itsc.cuhk.edu.hk 2006-04-24 01:30:19 UTC
Subject: RE:  gcc 4.1.0 compilation fails on RHEL AS 3 (x86_64)

Thanks a lot. 

-----Original Message-----
From: pcarlini at suse dot de [mailto:gcc-bugzilla@gcc.gnu.org] 
Sent: Saturday, April 22, 2006 4:50 PM
To: ST Wong (ITSC)
Subject: [Bug libstdc++/27256] gcc 4.1.0 compilation fails on RHEL AS 3
(x86_64)



------- Comment #2 from pcarlini at suse dot de  2006-04-22 08:50
------- (In reply to comment #1)
> > /usr/bin/ld: BFD 2.14.90.0.4 20030523 internal error, aborting at

> As you can see, the problem affects ld, the linker, *not* libstdc++. 
> Please report it to the binutils project. Thanks.

By the way, 2.14.90.* is *very* old: before reporting any bug anywhere
about it, please consider an upgrade, in the first place.


Comment 4 Andrew Pinski 2006-09-16 06:33:11 UTC
*** Bug 29104 has been marked as a duplicate of this bug. ***
Comment 5 Andrew Pinski 2006-09-16 06:33:51 UTC
*** Bug 28066 has been marked as a duplicate of this bug. ***
Comment 6 Andrew Pinski 2006-09-16 06:34:32 UTC
*** Bug 28381 has been marked as a duplicate of this bug. ***
Comment 7 Andrew Pinski 2006-09-16 06:35:45 UTC
*** Bug 28745 has been marked as a duplicate of this bug. ***