This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: GNU Binutils on OpeBSD
On Mon, Apr 25, 2011 at 03:35:12PM +0400, Maxim Koltsov wrote:
> >
> > looks like your host linker sucks. ?when linking libopcodes.so, libtool does:
> > -Wl,/home/maksbotan/gentoo/var/tmp/portage/sys-devel/binutils-2Y.21/work/build/opcodes/../bfd/.libs/libbfd.so
> >
> > instead of encoding the DT_SONAME, it wrongly encodes the full path.
> > not really a bug in binutils that i can see.
> >
> So, what can you advice to fix the issue. Can we modify DT_NEEDED with
> objcopy or anything else?
> Also, FYI the linker is openbsd modified GNU binutils-2.15.
Build binutils static, install, rebuild shared if you like it that
way.
--
Alan Modra
Australia Development Lab, IBM