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: 30 Jan 2010 05:24:26 -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 #7 from aanisimov at inbox dot ru 2010-01-30 05:24 -------
(In reply to comment #6)
> > in my opinion, it's necessary that the build scripts
> > specify all library directories explicitely.
>
> Then use configure options --with-ppl / --with-ppl-include / --with-ppl-lib,
> and --with-cloog / --with-cloog-include / --with-cloog-lib.
>
I do not quite agree with you -- these options are supposed to be used when
ppl/cloog are installed in a location that only I know of. With /usr/local/lib
the situation is different -- the configure script knows about this dir and
must also teach the linker about it. Not passing /usr/local/lib in the explicit
libraries path means relying on GNU ld's behaviour.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42756