a more basic problem

Fred Gray fegray@uiuc.edu
Sun May 21 12:41:00 GMT 2000


Bryce McKinlay wrote:
> > gij: error in loading shared libraries: /usr/local/gcj/lib/libgcjawt.so.1: undefined symbol: __dso_handle
> 
> I noticed a thread on the gcc list discussing this:
> 
> http://gcc.gnu.org/ml/gcc/2000-05/msg00239.html
> 
> Please let us know if the suggestions there fix the problem.

Yes, this problem was fixed by a variation on suggestion (3) in that message:
I added "#undef HAVE_GAS_HIDDEN" to gcc/crtstuff.c after the block of #include 
directives.

Just for reference, I'm using the current Debian Linux potato (x86), which 
has binutils version 2.9.5.0.37-1 (I'm not sure which part of this number 
comes from upstream and which part is Debian-specific).  Apparently this 
version has broken support for the ".hidden" assembler directive.

This version does not have a problem with the exception handling test case
that I reported a few days ago.  It remains to be seen how it does with my
real application (a data acqusition and online analysis system).

In order to get libgcj to build with the current CVS gcc, I had to drop
the "-O2" flag from CXXFLAGS.  With optimization, I got an internal compiler
error in verify_local_live_at_start at flow.c:2671.  This occured (at least)
in jni.cc, natObject.cc, and natSystem.cc (I gave up entirely on optimizing 
at that point in the build process).

Thanks again for your help!

-- Fred


More information about the Java mailing list