* BFD error
@ 2006-07-05 21:17 Phil taddei
2006-07-06 6:52 ` Kai Ruottu
0 siblings, 1 reply; 8+ messages in thread
From: Phil taddei @ 2006-07-05 21:17 UTC (permalink / raw)
To: gcc-help
I had the following error while building gcc-4.4.4 on a Redhat Linux system, i686 pc:
/usr/bin/ld: BFD 2.14.90.0.4 20030523 internal error, aborting at ../../bfd/elf32-i386.c line 2377 in elf_i386_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 `/opt/gcc-4.1.1/build/object/i686-pc-linux-gnu/libstdc++-v3/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/opt/gcc-4.1.1/build/object/i686-pc-linux-gnu/libstdc++-v3'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/gcc-4.1.1/build/object/i686-pc-linux-gnu/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/opt/gcc-4.1.1/build/object'
make: *** [all] Error 2
Am I doing something wrong?
I also updated the binutils. Still got the same error.
Phil
**********************************************************************
Phillip J. Taddei, Ph.D.
Research Scientist
University of Texas
M. D. Anderson Cancer Center - Dept of Radiation Physics
1515 Holcombe Blvd, Unit 94
Houston, TX 77030
e-mail: ptaddei@mdanderson.org
phone: 713-563-3771
fax: 713-563-2545
**********************************************************************
--
_______________________________________________
Search for businesses by name, location, or phone number. -Lycos Yellow Pages
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: BFD error
2006-07-05 21:17 BFD error Phil taddei
@ 2006-07-06 6:52 ` Kai Ruottu
0 siblings, 0 replies; 8+ messages in thread
From: Kai Ruottu @ 2006-07-06 6:52 UTC (permalink / raw)
To: Phil taddei; +Cc: gcc-help
Phil taddei kirjoitti:
> I had the following error while building gcc-4.4.4 on a Redhat Linux system, i686 pc:
>
Seems to be "gcc-4.1.1" though...
> /usr/bin/ld: BFD 2.14.90.0.4 20030523 internal error, aborting at ../../bfd/elf32-i386.c line 2377 in elf_i386_relocate_section
>
The binutils-2.14.90.0.4 can really be "too old" to be used with gcc-4.1.1.
> Am I doing something wrong?
>
Maybe, I think giving at least your GCC configure command could help in
solving the problem...
> I also updated the binutils. Still got the same error.
>
The current binutils version for Linux is "2.17.50.0.2" at:
ftp.kernel.org/pub/linux/devel/binutils
and it is assumed that you updated to this "current" version or at least
to the last "2.16.91" one.
Anyway your "updated" is a little fuzzy, maybe it means a "2.15.94" one
or something....
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: BFD error
@ 2006-07-28 21:14 Alan Thompson
0 siblings, 0 replies; 8+ messages in thread
From: Alan Thompson @ 2006-07-28 21:14 UTC (permalink / raw)
To: gcc-help
I had this same problem attempting to compile gcc 4.1.1 on Red Hat RHEL
4, and it was cured by downloading binutils-2.17.50.0.3.tar.gz from
ftp.kernel.org/pub/linux/devel/binutils
However, be aware that (it appears) the new ld executable MUST be
installed as /usr/bin/ld, as this path is hardwired into the "collect-
ld" Bourne-shell script.
Alan Thompson
--------------------------------------------------------------------------
Re: BFD error
* From: Kai Ruottu <karuottu at mbnet dot fi>
* To: Phil taddei <phillyla at lycos dot com>
* Cc: gcc-help at gcc dot gnu dot org
* Date: Thu, 06 Jul 2006 10:03:31 +0300
* Subject: Re: BFD error
* References: <20060705211724.8A829E5BC7@ws7-2.us4.outblaze.com>
________________________________________________________________________
Phil taddei kirjoitti:
I had the following error while building gcc-4.4.4 on a Redhat
Linux system, i686 pc:
Seems to be "gcc-4.1.1" though...
/usr/bin/ld: BFD 2.14.90.0.4 20030523 internal error, aborting
at ../../bfd/elf32-i386.c line 2377 in elf_i386_relocate_section
The binutils-2.14.90.0.4 can really be "too old" to be used with
gcc-4.1.1.
Am I doing something wrong?
Maybe, I think giving at least your GCC configure command could help in
solving the problem...
I also updated the binutils. Still got the same error.
The current binutils version for Linux is "2.17.50.0.2" at:
ftp.kernel.org/pub/linux/devel/binutils
and it is assumed that you updated to this "current" version or at least
to the last "2.16.91" one.
Anyway your "updated" is a little fuzzy, maybe it means a "2.15.94" one
or something....
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: BFD error
@ 2006-07-07 22:14 Phil taddei
2006-07-08 1:34 ` Tim Prince
0 siblings, 1 reply; 8+ messages in thread
From: Phil taddei @ 2006-07-07 22:14 UTC (permalink / raw)
To: Kai Ruottu; +Cc: gcc-help
I had installed the 2.17 binutils. I wonder why it is still looking at 2.14? Did I do something wrong?
Phil
> ----- Original Message -----
> From: "Kai Ruottu" <karuottu@mbnet.fi>
> To: "Phil taddei" <phillyla@lycos.com>
> Subject: Re: BFD error
> Date: Thu, 06 Jul 2006 10:03:31 +0300
>
>
> Phil taddei kirjoitti:
> > I had the following error while building gcc-4.4.4 on a Redhat
> > Linux system, i686 pc:
> >
> Seems to be "gcc-4.1.1" though...
> > /usr/bin/ld: BFD 2.14.90.0.4 20030523 internal error, aborting at
> > ../../bfd/elf32-i386.c line 2377 in elf_i386_relocate_section
> >
> The binutils-2.14.90.0.4 can really be "too old" to be used with gcc-4.1.1.
> > Am I doing something wrong?
> >
> Maybe, I think giving at least your GCC configure command could
> help in solving the problem...
> > I also updated the binutils. Still got the same error.
> >
> The current binutils version for Linux is "2.17.50.0.2" at:
>
> ftp.kernel.org/pub/linux/devel/binutils
>
> and it is assumed that you updated to this "current" version or at
> least to the last "2.16.91" one.
> Anyway your "updated" is a little fuzzy, maybe it means a "2.15.94"
> one or something....
>
>
>
--
_______________________________________________
Search for businesses by name, location, or phone number. -Lycos Yellow Pages
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: BFD error
2006-07-07 22:14 Phil taddei
@ 2006-07-08 1:34 ` Tim Prince
0 siblings, 0 replies; 8+ messages in thread
From: Tim Prince @ 2006-07-08 1:34 UTC (permalink / raw)
To: Phil taddei; +Cc: Kai Ruottu, gcc-help
Phil taddei wrote:
> I had installed the 2.17 binutils. I wonder why it is still looking at 2.14? Did I do something wrong?
>
Unless you wipe out your original binutils by installing the new one
configured (typically) with --prefix=/usr, you must fiddle with your
PATH setting so the new one is found first, when you want it, and the
old one is first, when you want that. On some of my installations, the
default PATH has /usr/local/bin (typical default when you build from
source without --prefix) first when on a local console, but not when on
telnet.
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: bfd error
@ 2002-01-22 7:43 nagesh lingegowda
0 siblings, 0 replies; 8+ messages in thread
From: nagesh lingegowda @ 2002-01-22 7:43 UTC (permalink / raw)
To: me; +Cc: gcc-help
Hello,
I'm trying to compile and run the binary called download.
while linking it gives the warning like libauth.so.1 is needed by libary
libsolcli.so not found(try using rpath or rpath-link. Both the LD_RUN_PATH
and the LD_LIBRARY_PATH are set.
still the output is created. If i try to run that it says
fatal:libauth.so.1: open failed:no such file or directory.
Following s the detailed output of the make
gcc -I. -I../inc -I/opt/OV/include -I/usr/OV/include -I/usr/solid/include
-DPRINT -g -c download.c
gcc -I. -I../inc -I/opt/OV/include -I/usr/OV/include -I/usr/solid/include
-DPRINT -g -c pend_pdu.c
gcc -I. -I../inc -I/opt/OV/include -I/usr/OV/include -I/usr/solid/include
-DPRINT -g -c smgr_cli.c
gcc -I. -I../inc -I/opt/OV/include -I/usr/OV/include -I/usr/solid/include
-DPRINT -g -c g_checksum.c
gcc -I. -I../inc -I/opt/OV/include -I/usr/OV/include -I/usr/solid/include
-DPRINT -g -c memory.c
gcc -I. -I../inc -I/opt/OV/include -I/usr/OV/include -I/usr/solid/include
-L../libs/ -L /opt/OV/lib -L /usr/solid/lib -L/usr/OV/lib -g download.o
pend_pdu.o smgr_cli.o g_checksum.o memory.o -lovsnmp -lovw -lov -lini
-lgovutl -lipc -lsmgr -lsolcli -o download
/usr/local/sparc-sun-solaris2.8/bin/ld: warning: libauth.so.1, needed by
/usr/solid/lib/libsolcli.so, not found (try using -rpath or -rpath-link)
$ ./download
ld.so.1: ./download: fatal: libovsnmp.so.2: open failed: No such file or
directory
Killed
Thanks
Regards
Nagesh
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <616BE6A276E3714788D2AC35C40CD18D30F860@whale.softwire.co.uk>]
* RE: bfd error
[not found] <616BE6A276E3714788D2AC35C40CD18D30F860@whale.softwire.co.uk>
@ 2002-01-17 23:35 ` Rupert Wood
0 siblings, 0 replies; 8+ messages in thread
From: Rupert Wood @ 2002-01-17 23:35 UTC (permalink / raw)
To: 'nagesh lingegowda'; +Cc: gcc-help
Nagesh Lingegowda wrote:
> I've a problem with the gcc 2.95.3 compiler on solaris. I can compile
> successfully but while linking its showing bfd assertion error with
> elflink.h file
:
> /usr/local/sparc-sun-solaris2.8/bin/ld: bfd assertion fail
> elflink.h:3542
> GNU ld version 2.11.2 (with BFD 2.11.2)
I don't have a copy of the 2.11.2 binutils sources floating around but
I'd suggest that you either
a, try a CVS copy of binutils (see http://sources.redhat.com/binutils)
to see if the bug has been fixed; if not, write to the binutils mailing
lists
or
b, use the Solaris linker, /usr/ccs/bin/ld. If you're not using C++
then I don't think there are many benefits from using the GNU linker
over the Solaris one.
Obviously (b) is simpler for you in the short-term but (a) may be better
for the long-term.
Good luck,
Rup.
^ permalink raw reply [flat|nested] 8+ messages in thread
* bfd error
@ 2002-01-17 11:32 nagesh lingegowda
0 siblings, 0 replies; 8+ messages in thread
From: nagesh lingegowda @ 2002-01-17 11:32 UTC (permalink / raw)
To: me; +Cc: gcc-help
hello,
I've a problem with the gcc 2.95.3 compiler on solaris. I can compile
successfully but while linking its showing bfd assertion error with
elflink.h file
command is :
gcc test.c -v -I /opt/OV/include -L/opt/OV/include -lovutil
error is :
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/specs
gcc version 2.95.3 20010315 (release)
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/cpp0 -lang-c -v -I
/opt/OV/include -D__GNUC__=2 -D__GNUC_MINOR__=95 -Dsparc -Dsun -Dunix
-D__svr4__ -D__SV
R4 -D__sparc__ -D__sun__ -D__unix__ -D__svr4__ -D__SVR4 -D__sparc -D__sun
-D__unix -Asystem(unix) -Asystem(svr4) -D__GCC_NEW_VARARGS__ -Acpu(sparc)
-Amachine(
sparc) test.c /var/tmp/cc5XH4vi.i
GNU CPP version 2.95.3 20010315 (release) (sparc)
#include "..." search starts here:
#include <...> search starts here:
/opt/OV/include
/usr/local/include
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/../../../../sparc-sun-solaris2.8/include
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/include
/usr/include
End of search list.
The following default directories have been omitted from the search path:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/../../../../include/g++-3
End of omitted list.
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/cc1 /var/tmp/cc5XH4vi.i
-quiet -dumpbase test.c -version -o /var/tmp/ccCdoViw.s
GNU C version 2.95.3 20010315 (release) (sparc-sun-solaris2.8) compiled by
GNU C version 2.95.3 20010315 (release).
/usr/local/sparc-sun-solaris2.8/bin/as -V -Qy -s -o /var/tmp/ccxHX7gN.o
/var/tmp/ccCdoViw.s
GNU assembler version 2.11.2 (sparc-sun-solaris2.8) using BFD version 2.11.2
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/collect2 -V -Y
P,/usr/ccs/lib:/usr/lib -Qy
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/crt1.o /usr/
local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/crti.o
/usr/ccs/lib/values-Xa.o
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/crtbegin.o -L /opt/OV/lib
-L/
usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3
-L/usr/local/sparc-sun-solaris2.8/lib -L/usr/ccs/bin -L/usr/ccs/lib
-L/usr/local/lib /var/tmp/ccxHX7gN.o -lo
vutil -lgcc -lc -lgcc
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/crtend.o
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/crtn.o
/usr/local/sparc-sun-solaris2.8/bin/ld: bfd assertion fail elflink.h:3542
GNU ld version 2.11.2 (with BFD 2.11.2)
Supported emulations:
elf32_sparc
elf64_sparc
Early reply will be highly appreciated.
Thanks
Nagesh
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-07-28 21:14 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-05 21:17 BFD error Phil taddei
2006-07-06 6:52 ` Kai Ruottu
-- strict thread matches above, loose matches on Subject: below --
2006-07-28 21:14 Alan Thompson
2006-07-07 22:14 Phil taddei
2006-07-08 1:34 ` Tim Prince
2002-01-22 7:43 bfd error nagesh lingegowda
[not found] <616BE6A276E3714788D2AC35C40CD18D30F860@whale.softwire.co.uk>
2002-01-17 23:35 ` Rupert Wood
2002-01-17 11:32 nagesh lingegowda
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).