Hi Mike,

the way to reproduce is:
 - build/install binutils like normal except add --enable-shared to configure
 - build/install binutils again with --enable-shared, and it'll fail during the
compile stages

(Just to confirm: between the first step and the second step above I should change my PATH so that the newly installed binaries from the first step are now ahead of any other binaries and so will be used in the build of the second step).

I tried this, but both builds and installs ran to completion and I was able to run the resulting installed binaries without problems.

One possible cause for this was that I was using the current mainline sources with the patch from this email applied:

  http://sourceware.org/ml/binutils/2007-10/msg00019.html

Although the patch is for a related problem I am not sure that it is responsible for making my builds/installs work whereas yours do not. Could you put together a small shell script that I could use to reproduce the problem ?

my fix for the problem would be to not set LD_LIBRARY_PATH at all

Do you have a patch that does this, so that I could take a look at it ?

Cheers
  Nick



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

Reply via email to