This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: PR other/17466: Testsuites in gcc override LD_LIBRARY_PATH
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: hjl at lucon dot org (H. J. Lu)
- Cc: ebotcazou at libertysurf dot fr, gcc-patches at gcc dot gnu dot org
- Date: Wed, 24 Nov 2004 19:21:37 -0500 (EST)
- Subject: Re: PATCH: PR other/17466: Testsuites in gcc override LD_LIBRARY_PATH
> > > Ok, I see this on hppa-linux but the tests are picking up an installed
> > > library so they don't fail. It looks like the path set in
> ld_library_path
> > > in the libjava test is getting overridden by a sourced file at execution
> > > time. There's only a couple of places this could occur. I'll look at
> > > this tonight.
> >
> > Try not to use the global ld_library_path. See
> >
> > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17469
I was aware of this problem.
> This patch does 2 things:
>
> 1. Remove the global ld_library_path.
The global ld_library_path is used by the dejagnu harness. So,
removing it will affect the behavior of dejagnu.
> 2. Consolidate libgcc_s.so detection in the gcc directory.
This appears to further simplify things and remove more duplicated
code. I'll give your patch a try.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)