This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [patch 3.4/3.5] libffi & libjava port for hppa-linux
On Sat, Mar 20, 2004 at 10:25:28AM +0100, Matthias Klose wrote:
> another (i.e. s390-linux shows 900 test failures in libjava).
I just ran into a zillion gij test failures on powerpc64-linux,
something I'm not used to seeing lately.. Perhaps the problem is the
same one you are seeing.
Running one of the tests with LD_DEBUG=files,libs showed the problem:
lt-gij is built using -rpath, with a list of paths that _doesn't_
include one for the newly built libgcc_s.so. DT_RPATH in an executable
overrides LD_LIBRARY_PATH (which was correct), so the tests used an
older libgcc_s.so.1. The old libgcc_s.so.1 happened to be incompatible
with the newly built libgcc_s.so.1 that we linked against. Aborts on
every test. :-(
Before I dive in and fix this, I have to ask, why is -rpath necessary
in libjava?
--
Alan Modra
IBM OzLabs - Linux Technology Centre