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


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

Re: Unreviewed libjava testsuite patch for 3.0.1


Tom Tromey writes:

> As I understand it the problem is that gcj automatically links against
> certain libraries, and then the test suite links against them as well.
> We could modify the test suite not to do this, but then we might run
> into problems when running the tests uninstalled.
> 
> Is that right?

I don't think running the tests uninstalled is the problem (I'm doing this
all the time, not having any installed version of GCC 3.0 in $prefix), but
guaranteeing that only the copy of the libraries just built is used during
the testsuite run, not an already installed version.  This is certainly no
problem on Solaris, which always respects LD_LIBRARY_PATH, but likely is on
platforms where the runtime linker ignores LD_LIBRARY_PATH if it finds the
desired libraries in the RPATH encoded into the binary.  But I've never
really tried this, and it may well be not an issue at all (I've just
checked on IRIX 6.5, which is such a platform and the RPATH isn't encoded
neiter into the binaries built during the testsuite run nor into the
uninstalled shared libgcj.so etc.).  So it's certainly best to get a
comment from a libtool developer.

	Rainer

-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University

Email: ro@TechFak.Uni-Bielefeld.DE


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