This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/42756] Build fails if gold is used as linker and some libraries reside is /usr/local/lib
- From: "aanisimov at inbox dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jan 2010 16:32:12 -0000
- Subject: [Bug other/42756] Build fails if gold is used as linker and some libraries reside is /usr/local/lib
- References: <bug-42756-14026@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from aanisimov at inbox dot ru 2010-01-15 16:32 -------
(In reply to comment #1)
> Try to set LIBRARY_PATH, i.e.:
>
> export LIBRARY_PATH=/usr/local/lib
>
This worked much better ;-) -- stage2 finished successfully, but building
libstdc++ in stage3 failed with a bunch of
/usr/bin/ld: error: unsupported symbol binding
Trying to rerun the command to link libstdc++ with -Xlinker --debug=all to see
what's going wrong gave no result, because the error message didn't change.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42756