public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* c++ library error while building Gcc4.0.2
@ 2006-06-15  1:42 sean yang
  2006-06-15  2:03 ` Brian Dessent
  0 siblings, 1 reply; 3+ messages in thread
From: sean yang @ 2006-06-15  1:42 UTC (permalink / raw)
  To: gcc-help; +Cc: seanatpurdue

Did someone meet this before?
Thank,
Sean

#make
....
Making all in libmath
make[3]: Entering directory 
`/home/syang/software/objgcc/i686-pc-linux-gnu/libstdc++-v3/libmath'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory 
`/home/syang/software/objgcc/i686-pc-linux-gnu/libstdc++-v3/libmath'
Making all in src
make[3]: Entering directory 
`/home/syang/software/objgcc/i686-pc-linux-gnu/libstdc++-v3/src'
/bin/sh ../libtool --tag CXX --mode=link 
/home/syang/software/objgcc/gcc/xgcc -shared-libgcc 
-B/home/syang/software/objgcc/gcc/ -nostdinc++ 
-L/home/syang/software/objgcc/i686-pc-linux-gnu/libstdc++-v3/src 
-L/home/syang/software/objgcc/i686-pc-linux-gnu/libstdc++-v3/src/.libs 
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ 
-isystem /usr/local/i686-pc-linux-gnu/include -isystem 
/usr/local/i686-pc-linux-gnu/sys-include -Wl,-O1   -fno-implicit-templates 
-Wall -Wextra -Wwrite-strings -Wcast-qual  -fdiagnostics-show-location=once  
-ffunction-sections -fdata-sections   -o libstdc++.la -rpath /usr/local/lib 
-version-info 6:6:0 -Wl,--version-script=libstdc++-symbol.ver -lm  
bitmap_allocator.lo pool_allocator.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_facets.lo localename.lo stdexcept.lo strstream.lo tree.lo 
allocator-inst.lo concept-inst.lo fstream-inst.lo ext-inst.lo io-inst.lo 
istream-inst.lo istream.lo locale-inst.lo locale-misc-inst.lo misc-inst.lo 
ostream-inst.lo sstream-inst.lo streambuf-inst.lo streambuf.lo 
string-inst.lo valarray-inst.lo wlocale-inst.lo wstring-inst.lo atomicity.lo 
codecvt_members.lo collate_members.lo ctype_members.lo messages_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/syang/software/objgcc/gcc/xgcc -shared-libgcc 
-B/home/syang/software/objgcc/gcc/ -nostdinc++ 
-L/home/syang/software/objgcc/i686-pc-linux-gnu/libstdc++-v3/src 
-L/home/syang/software/objgcc/i686-pc-linux-gnu/libstdc++-v3/src/.libs 
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ 
-isystem /usr/local/i686-pc-linux-gnu/include -isystem 
/usr/local/i686-pc-linux-gnu/sys-include -shared -nostdlib /usr/lib/crti.o 
/home/syang/software/objgcc/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/io-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/syang/software/objgcc/i686-pc-linux-gnu/libstdc++-v3/src 
-L/home/syang/software/objgcc/i686-pc-linux-gnu/libstdc++-v3/src/.libs -lm 
../libmath/.libs/libmath.a -lm ../libsupc++/.libs/libsupc++convenience.a -lm 
-L/home/syang/software/objgcc/gcc -L/usr/local/lib -lgcc_s -lc -lgcc_s -lm 
-lgcc_s -lc -lgcc_s   /home/syang/software/objgcc/gcc/crtendS.o 
/usr/lib/crtn.o  -Wl,-O1 -Wl,--version-script=libstdc++-symbol.ver 
-Wl,-soname -Wl,libstdc++.so.6 -o .libs/libstdc++.so.6.0.6
/usr/bin/ld: BFD 2.15.92.0.2 20040927 internal error, aborting at 
../../bfd/elf32-i386.c line 2262 in elf_i386_relocate_section

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

collect2: ld returned 1 exit status
make[3]: *** [libstdc++.la] Error 1
make[3]: Leaving directory 
`/home/syang/software/objgcc/i686-pc-linux-gnu/libstdc++-v3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/syang/software/objgcc/i686-pc-linux-gnu/libstdc++-v3'
make[1]: *** [all] Error 2
make[1]: Leaving directory 
`/home/syang/software/objgcc/i686-pc-linux-gnu/libstdc++-v3'
make: *** [all-target-libstdc++-v3] Error 2

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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

* Re: c++ library error while building Gcc4.0.2
  2006-06-15  1:42 c++ library error while building Gcc4.0.2 sean yang
@ 2006-06-15  2:03 ` Brian Dessent
  2006-06-15  4:09   ` sean yang
  0 siblings, 1 reply; 3+ messages in thread
From: Brian Dessent @ 2006-06-15  2:03 UTC (permalink / raw)
  To: gcc-help

sean yang wrote:

> Did someone meet this before?
> ...
> /usr/bin/ld: BFD 2.15.92.0.2 20040927 internal error, aborting at
> ../../bfd/elf32-i386.c line 2262 in elf_i386_relocate_section
> 
> /usr/bin/ld: Please report this bug.

That's a linker error, so you should report it to the binutils mailing
list.  The linker is not part of gcc.

That said, you probably won't get a lot of sympathy for using a version
that's nearly two years old with a recent gcc.  Normally you need to use
versions of the tools with ages that roughly coincide.  Try with the
current version of binutils first.

Brian

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

* Re: c++ library error while building Gcc4.0.2
  2006-06-15  2:03 ` Brian Dessent
@ 2006-06-15  4:09   ` sean yang
  0 siblings, 0 replies; 3+ messages in thread
From: sean yang @ 2006-06-15  4:09 UTC (permalink / raw)
  To: gcc-help

Thanks for the reply. I installed a binutils-2.16.1, and the problem is 
solved
Sean


>From: Brian Dessent <brian@dessent.net>
>Reply-To: gcc-help@gcc.gnu.org
>To: gcc-help@gcc.gnu.org
>Subject: Re: c++ library error while building Gcc4.0.2
>Date: Wed, 14 Jun 2006 19:12:44 -0700
>
>sean yang wrote:
>
> > Did someone meet this before?
> > ...
> > /usr/bin/ld: BFD 2.15.92.0.2 20040927 internal error, aborting at
> > ../../bfd/elf32-i386.c line 2262 in elf_i386_relocate_section
> >
> > /usr/bin/ld: Please report this bug.
>
>That's a linker error, so you should report it to the binutils mailing
>list.  The linker is not part of gcc.
>
>That said, you probably won't get a lot of sympathy for using a version
>that's nearly two years old with a recent gcc.  Normally you need to use
>versions of the tools with ages that roughly coincide.  Try with the
>current version of binutils first.
>
>Brian

_________________________________________________________________
DonÂ’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/

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

end of thread, other threads:[~2006-06-15  4:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-15  1:42 c++ library error while building Gcc4.0.2 sean yang
2006-06-15  2:03 ` Brian Dessent
2006-06-15  4:09   ` sean yang

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).