On Mon, May 21, 2012 at 04:00:25PM +0100, Simon B wrote:
> Here is the exact command I used to configure it:
> ../binutils-2.22/configure --prefix=/usr --enable-shared --with-sysroot=

If I configure with exactly those options, using virgin binutils-2.22
sources, I get:

$ ld/ld-new --sysroot=/tmp
.../ld/.libs/lt-ld-new: this linker was not configured to use sysroots

So, something weird is happening.  --enable-shared can cause trouble
unless you know exactly what you're doing.  Try building without it.
You may be picking up the wrong libbfd.so.

-- 
Alan Modra
Australia Development Lab, IBM

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to