Date: Wed, 20 Sep 2000 21:37:18 +0700 (NSS) From: Max Khon <fjoe@iclub.nsu.ru> To: Antony T Curtis <antony@abacus.co.uk> Cc: Freebsd-stable@FreeBSD.ORG Subject: Re: Linux ABI & JDK1.3 Message-ID: <Pine.BSF.4.21.0009202131520.35762-200000@iclub.nsu.ru> In-Reply-To: <39C8C22B.58451714@abacus.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-1319006591-969460638=:35762 Content-Type: TEXT/PLAIN; charset=US-ASCII hi, there! On Wed, 20 Sep 2000, Antony T Curtis wrote: > Are there any known issues with the Linux ABI on STABLE-20000828 ? > > I have found that the Sun JVM 1.3 can cause FreeBSD to panic or worse, > crash solid so that a hardware reboot is required. > > Does anyone have any experiences with different Java environments on > FreeBSD? IBM's latest completely fails to run. Andrew Gallatin (gallatin@cs.duke.edu) has made some initial work to make IBM JDK work under 4.0-RELEASE. You can get his patches at http://www.cs.duke.edu/~gallatin/linux/sa_siginfo/4.0-release.diff http://www.cs.duke.edu/~gallatin/linux/sa_siginfo/diff (this is for -current) Sean O'Connell (sean@stat.duke.edu() has made quick-and-dirty port to -stable. I have attached his diffs. /fjoe --0-1319006591-969460638=:35762 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="linux.patch2" Content-Transfer-Encoding: BASE64 Content-ID: <Pine.BSF.4.21.0009202137180.35762@iclub.nsu.ru> Content-Description: Content-Disposition: attachment; filename="linux.patch2" LS0tIHN5cy9pMzg2L2xpbnV4L2xpbnV4Lmgub3JpZwlUdWUgU2VwIDEyIDEw OjE0OjI5IDIwMDANCisrKyBzeXMvaTM4Ni9saW51eC9saW51eC5oCVRodSBT ZXAgMTQgMTI6Mjg6MTIgMjAwMA0KQEAgLTMzLDYgKzMzLDggQEANCiANCiAj aW5jbHVkZSA8aTM4Ni9saW51eC9saW51eF9zeXNjYWxsLmg+DQogD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0ZXJuYXRlIHN0YWNrICovDQogI2RlZmluZSAgICAg ICAgU1NfRElTQUJMRSAgICAgIDB4MDAwNCAgLyogZGlzYWJsZSB0YWtpbmcg c2lnbmFscyBvbiBhbHRlcm5hdGUgc3RhY2sgKi8NCi0jZGVmaW5lICAgICAg ICBNSU5TSUdTVEtTWiAgICAgODE5MiAgICAgICAgICAgICAgICAgICAgLyog bWluaW11bSBhbGxvd2FibGUgc3RhY2sgKi8NCisjZGVmaW5lICAgICAgICBN SU5TSUdTVEtTWiAgICAgMjA0OCAgICAgICAgICAgICAgICAgICAgLyogbWlu aW11bSBhbGxvd2FibGUgc3RhY2sgKi8NCiAjZGVmaW5lICAgICAgICBTSUdT VEtTWiAgICAgICAgKE1JTlNJR1NUS1NaICsgMzI3NjgpICAgLyogcmVjb21t ZW5kZWQgc3RhY2sgc2l6ZSAqLw0KIA0KIC8qIEhhdmUgZW5vdWdoIHR5cGVk ZWZzIGZvciB0aGlzIG5vdy4gIFhYWCAqLw0K --0-1319006591-969460638=:35762-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0009202131520.35762-200000>