public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/28745]  New: make bootstrap failed on rhel4-x64 with ld internal error at elf64-x86-64.c line 1912
@ 2006-08-15 20:20 waspswarm at gmail dot com
  2006-08-15 20:22 ` [Bug bootstrap/28745] " waspswarm at gmail dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: waspswarm at gmail dot com @ 2006-08-15 20:20 UTC (permalink / raw)
  To: gcc-bugs

/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

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


[scottra@ivory bld]$ gcc -v
Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.5/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-java-awt=gtk --host=x86_64-redhat-linux
Thread model: posix
gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)

I configured using:
../gcc-4.1.1/configure --prefix=/opt/gcc-4.1.1 --enable-shared
--enable-threads=posix --enable-languages=c,c++ --enable-__cxa_atexit
--disable-nls --disable-multilib --host=x86_64-redhat-linux

Here is the tail of the build log:
/bin/sh ../libtool --tag CXX --mode=link /home/scottra/src/bld/./gcc/xgcc
-shared-li bgcc -B/home/scottra/src/bld/./gcc -nostdinc++
-L/home/scottra/src/bld/x86_64-redhat -linux/libstdc++-v3/src
-L/home/scottra/src/bld/x86_64-redhat-linux/libstdc++-v3/src /.libs
-B/opt/gcc-4.1.1/x86_64-redhat-linux/bin/ -B/opt/gcc-4.1.1/x86_64-redhat-linu
x/lib/ -isystem /opt/gcc-4.1.1/x86_64-redhat-linux/include -isystem
/opt/gcc-4.1.1/x 86_64-redhat-linux/sys-include -Wl,-O1 -Wl,-z,relro 
-fno-implicit-templates -Wall - Wextra -Wwrite-strings -Wcast-qual 
-fdiagnostics-show-location=once  -ffunction-sec tions -fdata-sections   -o
libstdc++.la -rpath /opt/gcc-4.1.1/lib/../lib64 -version- info 6:8:0
-Wl,--version-script=libstdc++-symbol.ver -lm  bitmap_allocator.lo pool_a
llocator.lo mt_allocator.lo codecvt.lo compatibility.lo complex_io.lo ctype.lo
debug .lo debug_list.lo functexcept.lo globals_locale.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_facet s.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
locale-misc-inst.lo misc-inst.lo ostream-inst.lo sstream-inst.lo s
treambuf-inst.lo streambuf.lo string-inst.lo valarray-inst.lo wlocale-inst.lo
wstrin g-inst.lo atomicity.lo codecvt_members.lo collate_members.lo
ctype_members.lo messag es_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
 /home/scottra/src/bld/./gcc/xgcc -shared-libgcc -B/home/scottra/src/bld/./gcc
-nost dinc++ -L/home/scottra/src/bld/x86_64-redhat-linux/libstdc++-v3/src
-L/home/scottra/ src/bld/x86_64-redhat-linux/libstdc++-v3/src/.libs
-B/opt/gcc-4.1.1/x86_64-redhat-li nux/bin/
-B/opt/gcc-4.1.1/x86_64-redhat-linux/lib/ -isystem /opt/gcc-4.1.1/x86_64-re
dhat-linux/include -isystem /opt/gcc-4.1.1/x86_64-redhat-linux/sys-include
-shared - nostdlib /usr/lib/../lib64/crti.o
/home/scottra/src/bld/./gcc/crtbeginS.o  .libs/bit map_allocator.o
.libs/pool_allocator.o .libs/mt_allocator.o .libs/codecvt.o .libs/co
mpatibility.o .libs/complex_io.o .libs/ctype.o .libs/debug.o .libs/debug_list.o
.lib s/functexcept.o .libs/globals_locale.o .libs/globals_io.o .libs/ios.o
.libs/ios_fail ure.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 .lib s/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
.lib s/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/
scottra/src/bld/x86_64-redhat-linux/libstdc++-v3/src
-L/home/scottra/src/bld/x86_64- redhat-linux/libstdc++-v3/src/.libs -lm
../libmath/.libs/libmath.a -lm ../libsupc++/ .libs/libsupc++convenience.a -lm
-L/home/scottra/src/bld/./gcc -L/lib/../lib64 -L/us r/lib/../lib64 -lgcc_s -lc
-lgcc_s -lm -lgcc_s -lc -lgcc_s   /home/scottra/src/bld/. /gcc/crtendS.o
/usr/lib/../lib64/crtn.o  -Wl,-O1 -Wl,-z -Wl,relro -Wl,--version-scri
pt=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-x8 6-64.c line 1912 in elf64_x86_64_relocate_section

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

collect2: ld returned 1 exit status
make[5]: *** [libstdc++.la] Error 1
make[5]: Leaving directory
`/home/scottra/src/bld/x86_64-redhat-linux/libstdc++-v3/s rc'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/home/scottra/src/bld/x86_64-redhat-linux/libstdc++-v3'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/home/scottra/src/bld/x86_64-redhat-linux/libstdc++-v3'
make[2]: *** [all-target-libstdc++-v3] Error 2
make[2]: Leaving directory `/home/scottra/src/bld'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/scottra/src/bld'
make: *** [bootstrap] Error 2


-- 
           Summary: make bootstrap failed on rhel4-x64 with ld internal
                    error at elf64-x86-64.c line 1912
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: waspswarm at gmail dot com
 GCC build triplet: x86_64-redhat-linux
  GCC host triplet: x86_64-redhat-linux
GCC target triplet: x86_64-redhat-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28745


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/28745] make bootstrap failed on rhel4-x64 with ld internal error at elf64-x86-64.c line 1912
  2006-08-15 20:20 [Bug bootstrap/28745] New: make bootstrap failed on rhel4-x64 with ld internal error at elf64-x86-64.c line 1912 waspswarm at gmail dot com
@ 2006-08-15 20:22 ` waspswarm at gmail dot com
  2006-08-15 21:05 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: waspswarm at gmail dot com @ 2006-08-15 20:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from waspswarm at gmail dot com  2006-08-15 20:22 -------
[scottra@ivory bld]$ uname -r
2.6.9-34.0.1.ELsmp

[scottra@ivory bld]$ cat /etc/redhat-release
CentOS release 4.3 (Final)

[scottra@ivory bld]$ rpm -qa |grep binutils
binutils-2.15.92.0.2-18
[scottra@ivory bld]$ rpm -qa |grep glibc
glibc-devel-2.3.4-2.19
glibc-2.3.4-2.19
glibc-kernheaders-2.4-9.1.98.EL
glibc-2.3.4-2.19
glibc-headers-2.3.4-2.19
glibc-common-2.3.4-2.19


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28745


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/28745] make bootstrap failed on rhel4-x64 with ld internal error at elf64-x86-64.c line 1912
  2006-08-15 20:20 [Bug bootstrap/28745] New: make bootstrap failed on rhel4-x64 with ld internal error at elf64-x86-64.c line 1912 waspswarm at gmail dot com
  2006-08-15 20:22 ` [Bug bootstrap/28745] " waspswarm at gmail dot com
@ 2006-08-15 21:05 ` pinskia at gcc dot gnu dot org
  2006-08-16 14:38 ` waspswarm at gmail dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-08-15 21:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-08-15 21:05 -------
This is a bug in binutils version which you are using.  Either report this to
Redhat or update the version since the version that redhat uses is about 2
years old and a prerelease.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28745


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/28745] make bootstrap failed on rhel4-x64 with ld internal error at elf64-x86-64.c line 1912
  2006-08-15 20:20 [Bug bootstrap/28745] New: make bootstrap failed on rhel4-x64 with ld internal error at elf64-x86-64.c line 1912 waspswarm at gmail dot com
  2006-08-15 20:22 ` [Bug bootstrap/28745] " waspswarm at gmail dot com
  2006-08-15 21:05 ` pinskia at gcc dot gnu dot org
@ 2006-08-16 14:38 ` waspswarm at gmail dot com
  2006-09-16  6:35 ` pinskia at gcc dot gnu dot org
  2006-09-16  6:35 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: waspswarm at gmail dot com @ 2006-08-16 14:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from waspswarm at gmail dot com  2006-08-16 14:38 -------
(In reply to comment #2)
> This is a bug in binutils version which you are using.  Either report this to
> Redhat or update the version since the version that redhat uses is about 2
> years old and a prerelease.
> 

I updated binutils to 2.17 and things built fine.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28745


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/28745] make bootstrap failed on rhel4-x64 with ld internal error at elf64-x86-64.c line 1912
  2006-08-15 20:20 [Bug bootstrap/28745] New: make bootstrap failed on rhel4-x64 with ld internal error at elf64-x86-64.c line 1912 waspswarm at gmail dot com
                   ` (2 preceding siblings ...)
  2006-08-16 14:38 ` waspswarm at gmail dot com
@ 2006-09-16  6:35 ` pinskia at gcc dot gnu dot org
  2006-09-16  6:35 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-16  6:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2006-09-16 06:35 -------
Mark as a duplication of bug 27256.

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


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28745


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/28745] make bootstrap failed on rhel4-x64 with ld internal error at elf64-x86-64.c line 1912
  2006-08-15 20:20 [Bug bootstrap/28745] New: make bootstrap failed on rhel4-x64 with ld internal error at elf64-x86-64.c line 1912 waspswarm at gmail dot com
                   ` (3 preceding siblings ...)
  2006-09-16  6:35 ` pinskia at gcc dot gnu dot org
@ 2006-09-16  6:35 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-16  6:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2006-09-16 06:35 -------
Reopening to ...


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28745


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-09-16  6:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-15 20:20 [Bug bootstrap/28745] New: make bootstrap failed on rhel4-x64 with ld internal error at elf64-x86-64.c line 1912 waspswarm at gmail dot com
2006-08-15 20:22 ` [Bug bootstrap/28745] " waspswarm at gmail dot com
2006-08-15 21:05 ` pinskia at gcc dot gnu dot org
2006-08-16 14:38 ` waspswarm at gmail dot com
2006-09-16  6:35 ` pinskia at gcc dot gnu dot org
2006-09-16  6:35 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).