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]
Other format: [Raw text]

Re: [PATCH] Fix jni/PR16923.c on Solaris


>>>>> "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


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