Date: Mon, 28 Jul 1997 01:50:36 -0500 From: stephen farrell <stephen@farrell.org> To: marc@bowtie.nl Cc: erich@FreeBSD.org, freebsd-emulation@FreeBSD.org Subject: Re: linux jdk on freebsd Message-ID: <199707280650.BAA03938@phaedrus.uchicago.edu> In-Reply-To: Your message of "Sun, 27 Jul 1997 21:49:51 %2B0200." <199707271949.VAA24704@nietzsche.bowtie.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
>Yes, I saw it come by on the mailing list, > >Allthough I havent't tried it yet it seemed to be a problem in the >linux libraries (but this is from memory, I'll have to get back >to you when I find the messages telling this) > >Did you try to install the latest linux-lib package from ports? Yes... I've just been playing around with this some more. It's tantalizingly close to working beautifully--and noticeably faster than it does under linux (!). Basically we're working with the following: steve byrne packaged up with 1.1.1-v3 libc.so.5.4.13, and libdl.so.1.?.? (he did not leave the version names on them, and strings won't show me which libdl this is). These reside in jdk1.1.1/lib/i586/green_threads/, and are found by default unless you rename them. the latest linux_lib (2.4) includes libc.so.5.4.23 and libdl.so.1.7.14. (incidentally, either running "linux", or a note that you need to do so before installing this port might be good. I was a little confused at first when it failed to run ldconfig) Now, I can toggle between which of these is used by renaming the libs in jdk1.1.1/lib/i586/green_threads/. I find immediately that the linux_lib libdl.so causes a "illegal instruction" error if I try to use it. It doesn't appear to matter much which libc I use... either one is susceptible to the "pause hang". This hang occurs rarely, but is reproducible. Sometimes it's more common, like when I was running the trace below, the pause hang was more common. It was particularly reproducible, for example, in one program I can only get it to happen if I try to open up a heirarchical list that takes a few seconds to load under linux or solaris. Here's a bit of a ktrace output, which appears to just repeat like this indefinitely: http://www.farrell.org/stephen_paul/trace.html -- Steve Farrell
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707280650.BAA03938>