This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]