Unable to bootstrap binutils 2.20 with plugin-enabled /usr/bin/ar
Drew Moseley
drew@moseleynet.net
Fri Feb 12 21:58:00 GMT 2010
Mike Frysinger wrote:
> sounds like:
> http://sourceware.org/bugzilla/show_bug.cgi?id=4970
> -mike
Yes, I believe it is the same issue. I can use ldd to see that ar and
friends will be dynamically linked with the newly built libbfd*.so
rather than the one installed in the system. I read through the
bugzilla listing and the referenced mailing list discussions but I
can't figure out how to resolve this. Any ideas?
The script I'm using to reproduce this is below. Running this on
Ubuntu does not error out; strange considering the system-installed
binutils does exhibit the behavior. Running this on SLES11 does error
out.
Drew
#!/bin/sh
#
BASEDIR=/work/dmoseley/foo
rm -rf ${BASEDIR}/obj.p/*
rm -rf ${BASEDIR}/install.p/*
rm -rf ${BASEDIR}/obj.np/*
rm -rf ${BASEDIR}/install.np/*
cd ${BASEDIR}/obj.p
${BASEDIR}/binutils-2.20/configure \
--prefix=${BASEDIR}/install.p \
--enable-shared \
--enable-plugins
make
make install
export PATH=${BASEDIR}/install.p/bin:${PATH}
cd ${BASEDIR}/obj.np
${BASEDIR}/binutils-2.20/configure \
--prefix=${BASEDIR}/install.np \
--enable-shared
make
More information about the Binutils
mailing list