GNU Binutils on OpeBSD

Maxim Koltsov maksbotan@gentoo.org
Sun Apr 24 18:41:00 GMT 2011


Hi!
I'm building binutils on OpenBSD 4.8. I've ported OpenBSD's binutils
patch to binutils-2.21, so bfd is aware of openbsd now. But i get very
strange error with --enable-shared: libopcodes.so has DT_NEEDED
pointing to libbfd.so in temporaly location:
  NEEDED      /home/maksbotan/gentoo/var/tmp/portage/sys-devel/binutils-2.21/work/build/opcodes/../bfd/.libs/libbfd.so
Of course, this cannot be found, and tools like as and objdump cannot
work. And when compiling binutils on linux, libopcodes.so has only
'libbfd-2.21.so' in DT_NEEDED. Can you figure out what problem is
cause by? My patch is attached.
Maxim.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: big-patch
Type: application/octet-stream
Size: 40351 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20110424/f0b5c247/attachment.obj>


More information about the Binutils mailing list