This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: binutils 2.11-CVS won't link GCC 3.0-snap's libobjc.so on Red Hat
- To: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- Subject: Re: binutils 2.11-CVS won't link GCC 3.0-snap's libobjc.so on Red Hat
- From: "David O'Brien" <obrien at FreeBSD dot org>
- Date: Sat, 14 Jul 2001 09:46:44 -0700
- Cc: Alexandre Oliva <aoliva at redhat dot com>, binutils at sources dot redhat dot com, gcc-bugs at gcc dot gnu dot org, Loren James Rittle <rittle at latour dot rsch dot comm dot mot dot com>
- Organization: The NUXI BSD group
- References: <orpub8qv04.fsf@guarana.lsd.ic.unicamp.br> <yddelrn4qpr.fsf@xayide.TechFak.Uni-Bielefeld.DE>
- Reply-To: obrien at FreeBSD dot org
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
>
> http://gcc.gnu.org/ml/gcc-patches/2001-06/msg01880.html
>
> 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)