This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: GCJ application runs not too bad with shared libs, but crasheswith static libs - seems to be in _Jv_MonitorEnter
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