binutils 2.11-CVS won't link GCC 3.0-snap's libobjc.so on Red Hat
Sat Jul 14 09:47:00 GMT 2001
On Wed, Jul 11, 2001 at 02:04:16PM +0200, Rainer Orth wrote:
> The same problem happened on alpha-*-freebsd5.0 after I checked in
> After some discussion with Loren Rittle and checking the ld manual, it
> became clear that the use of SIZEOF_HEADERS in the elf64alpha linker script
> is the culprit, and one of the hints in the ld manual about how to fix this
> should be implemented. Loren agreed to leave the patch in and check with
> the FreeBSD binutils maintainers how to fix this. Loren, did you come to a
> conclusion yet?
I haven't had time to look into this yet. FreeBSD AXP-5-CURRENT
(in-development version) has been *very* rocky for the past 3 mo. So I
haven't had a really stable Alpha to test things on. Loren is using an
outdated box for his testing.
> I suppose this clearly indicates that we need an even stronger warning
> about not to use --enable-shared unless you know *exactly* what you're
> doing in install.texi?
Works for me. *Personally*, I do not support people trying to use a
shared libstdc++ built from GCC sources. Mostly because people forget to
supply the shared lib with their binaries, and I've seen recipients try
to symlink the base system's libstdc++ to the sh name the binary wants.
And of course the libs could be very different.
-- David (obrien@FreeBSD.org)
More information about the Gcc-bugs