This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] updated GNU/FreeBSD patch for latest binutils
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: Robert Millan <zeratul2 at wanadoo dot es>, binutils at sources dot redhat dot com
- Date: Mon, 2 Jun 2003 07:46:54 -0700
- Subject: Re: [PATCH] updated GNU/FreeBSD patch for latest binutils
- References: <20030523155908.GA6349@aragorn> <m3n0hd3a8k.fsf@redhat.com> <20030525022156.GA11408@aragorn> <m3smqy12lm.fsf@redhat.com> <20030529160545.GB664@aragorn> <m3k7c9wrqx.fsf@redhat.com> <20030530001946.GA863@aragorn> <m3wug8vp9u.fsf@redhat.com> <20030602112859.GA1521@aragorn> <m31xycpoay.fsf@redhat.com>
On Mon, Jun 02, 2003 at 03:05:41PM +0100, Nick Clifton wrote:
> Hi Robert,
>
> > it seems there's still some problem (on GNU/FreeBSD, haven't tested
> > native FreeBSD). It happens with the CVS snapshot i took after you
> > fixed the GNU/FreeBSD test case in gas.
> >
> > I built binutils like this:
> >
> > ./configure --enable-shared
> > make
> > sudo make prefix=/tmp/usr/ install
> >
> > after some testing i found that only when this exact combination is used
> > (if i pass --prefix=/tmp/usr to configure, and not to make, then it works),
>
> I am not sure that this is supposed to work. I think that you need to
> select the install directory at configure time, not install time.
>
No. The current binutils is broken when --enable-shared is used. See
http://sources.redhat.com/ml/binutils/2003-05/msg00736.html
I put in a kludge in my Linux binutils:
http://sources.redhat.com/ml/binutils/2003-05/msg00739.html
H.J.