This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] updated GNU/FreeBSD patch for latest binutils


hi Nick!

On Fri, May 30, 2003 at 08:59:09AM +0100, Nick Clifton wrote:
> 
> I would prefer to have to have some verification that the current
> versions of the configuration files are broken for native FreeBSD
> systems before we go changing them again.

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),
and only on GNU/FreeBSD, the install target fails with:

/bin/sh ./libtool  --mode=install /bin/sh /home/rmh/tmp/binutils/binutils-cvs20030530/install-sh -c libopcodes.la /tmp/usr//lib/libopcodes.la
libtool: install: warning: relinking `libopcodes.la'
(cd /home/rmh/tmp/binutils/binutils-cvs20030530/opcodes; /bin/sh ./libtool --mode=relink gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -o libopcodes.la -rpath /usr/local/lib -release 2.14.90 dis-buf.lo disassemble.lo i386-dis.lo ../bfd/libbfd.la)
gcc -shared  .libs/dis-buf.o .libs/disassemble.o .libs/i386-dis.o  -Wl,--rpath -Wl,/usr/local/lib  -L/usr/local/lib -lbfd   -Wl,-soname -Wl,libopcodes-2.14.90.so -o .libs/libopcodes-2.14.90.so
/usr/bin/ld: cannot find -lbfd
collect2: ld returned 1 exit status
libtool: install: error: relink `libopcodes.la' with the above command before installing it

maybe a missing -L flag?

I'm attaching you the full build log in case you want to look.

-- 
Robert Millan

Attachment: binutils-log.gz
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]