This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
a more basic problem
- To: java-discuss at sourceware dot cygnus dot com
- Subject: a more basic problem
- From: Fred Gray <fegray at uiuc dot edu>
- Date: Sat, 20 May 2000 19:07:06 -0500 (CDT)
- Organization: Nuclear Physics Laboratory, University of Illinois
Many thanks to those of you who pointed out that my exception handling testcase
seems to work in the latest CVS version of gcj.
I am trying to take your advice: I downloaded the latest gcc and the latest
libgcj and built them. The compiler seems to work, but when I run any
executable made with it, I get an error message like this one:
gij: error in loading shared libraries: /usr/local/gcj/lib/libgcjawt.so.1: undefined symbol: __dso_handle
Notice that I got this particular error from running "gij". When I try to
run the exception handling testcase that I posted yesterday, the library
mentioned in the complaint is libzgcj.so.0, but the undefined symbol is
the same.
If I statically link the executable by compiling with gcj -static, the
problem goes away. However, I understand that this can make other trouble.
It would appear that the file gcc/crtstuff.c is relevant to this problem,
but I confess that I'm not sure what to make of it.
Any suggestions will be greatly appreciated. Thanks!
-- Fred