This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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] Append system library paths to environment for testprograms


On Wed, 4 Apr 2012 12:03:25 -0400
"Carlos O'Donell" <carlos@systemhalted.org> wrote:
> > Hmm, this ought to be possible by adding the gcc search paths during
> > this search and then symlinking the libraries into the build
> > environment. Carlos, do you think this would be OK? With this the
> > gcc search paths can be used to find the extra libraries and
> > symlink those libraries into the build directory. The actual test
> > runs will then be completely isolated.
> 
> It sounds like that should work and maintain isolation.
> 
> > I have a pretty straightforward patch that implements
> > --inhibit-ldcache in the dynamic linker to tell the linker not to
> > look at ld.so.cache. I will post it once I finish testing it. With
> > this change and --library-path, we should ?be able to limit dso
> > search to just the built libraries and symlinked libraries and
> > paths built into rpath during test case compilation.
> 
> I think inhibiting ld.so.cache is a good idea for a test framework.
> 
> We want to maintain test isolation from the current system.

I have finally finished with this and I've broken it down into three
separate changes. Patches coming up.

--
Siddhesh


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