This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [PATCH] Fix jni/PR16923.c on Solaris
- From: Tom Tromey <tromey at redhat dot com>
- To: Eric Botcazou <ebotcazou at libertysurf dot fr>
- Cc: java-patches at gcc dot gnu dot org
- Date: 25 Mar 2005 15:51:08 -0700
- Subject: Re: [PATCH] Fix jni/PR16923.c on Solaris
- References: <200503251147.16085.ebotcazou@libertysurf.fr>
- Reply-to: tromey at redhat dot com
>>>>> "Eric" == Eric Botcazou <ebotcazou@libertysurf.fr> writes:
Eric> The test fails because the C code cannot be linked: it needs libsocket.
Eric> Tested on sparc-sun-solaris2.8. OK for mainline and 4.0 branch?
Eric> 2005-03-25 Eric Botcazou <ebotcazou@libertysurf.fr>
Eric> * testsuite/libjava.jni/jni.exp (gcj_jni_invocation_test_one): Pass
Eric> -lsocket on Solaris.
It seems to me that we should find a way to pass this information from
configure to the JNI test suite. Otherwise we'll slowly replicate all
those checks again in jni.exp. For instance, if we could get the
SYSTEMSPEC setting from configure to dejagnu, that would do it.
Hmm, probably libgcj.so itself should just be linked against these
libraries. Then this wouldn't be a problem at all, would it?
Tom