This is the mail archive of the java@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: GCJ application runs not too bad with shared libs, but crasheswith static libs - seems to be in _Jv_MonitorEnter


>>>>> "Adam" == Adam Megacz <gcj@lists.megacz.com> writes:

Adam> Tom Tromey <tromey@redhat.com> writes:
Adam> Ah, we have PAM to thank for this...  is there any way to get values
Adam> for user.name and user.home without going through getpwuid()?

>> No, I don't think so.

Adam> Well, for now I just disabled the code that sets user.home/user.dir.

Adam> The other problem is that natRuntime::init() tries to dlopen()
Adam> itself... why does it do this?  What functionality would be lost if it
Adam> didn't do this?  Is there any way to detect at runtime if this binary
Adam> is a static binary (and then not try to dlopen)?

Adam>   - a


Tom


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