[PATCH] updated GNU/FreeBSD patch for latest binutils

H. J. Lu hjl@lucon.org
Mon Jun 2 14:46:00 GMT 2003


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.



More information about the Binutils mailing list