This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: Binutils 2.9.5.0.29 ld crash
"H . J . Lu" <hjl@valinux.com> writes:
> On Mon, Mar 13, 2000 at 05:57:06AM +0100, Jakub Jelinek wrote:
> > On Sun, Mar 12, 2000 at 01:51:32PM -0800, Geoff Keating wrote:
> > > > Date: Sun, 12 Mar 2000 12:17:36 -0800
> > > > From: "H . J . Lu" <hjl@valinux.com>
> > > > Cc: binutils@sourceware.cygnus.com
> > >
> > > > As you have noticed that using non-PIC code in shared libraries are
> > > > not well supported. Not all ELF linkers even try to support such a
> > > > feature. Not many people are doing what you are trying to do. I
> > > > guess it is very low on the binutils's priority list.
> > >
> > > This worked last I looked on powerpc (some months ago). It may have
> > > broken recently or be wrong just for sparc or for REL targets.
> >
> > It worked very well on sparc*-linux as well, at least in the 2.9.5.0.22
> > (plus two patches in unrelated area, mostly sparc64).
> > I'll check current CVS version soon.
>
> Have you tried the posted testcase?
FYI, I checked with 2.9.5.0.22, ld SIGSEGVs too...
Well, I guess I have to build statically linked executable...
Phil.