GCJ application runs not too bad with shared libs, but crasheswith static libs - seems to be in _Jv_MonitorEnter

Tom Tromey tromey@redhat.com
Wed Nov 27 16:53:00 GMT 2002


Adam> Well, for now I just disabled the code that sets user.home/user.dir.
I don't think we can do that in cvs though.
Adam> The other problem is that natRuntime::init() tries to dlopen()
Adam> itself... why does it do this?
I believe this lets us get names for symbols in a stack trace.
Adam> Is there any way to detect at runtime if this binary is a static
Adam> binary (and then not try to dlopen)?
We could compile libgcj.a differently. I think libtool defines a
symbol to allow this. That will make stack traces not work correctly
when statically linked.
Tom


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /