Hi Java Team,
[Sorry, I forgot to add debian-java in my original CC, original Message-id is
<201106232327.53814.drazzib@drazzib.com>]
FYI, I'm currently trying to port OpenJDK7 to kfreebsd-i386 and kfreebsd-amd64
arch. Not ready for prime time yet but I hope to get something working during
summer.
---------- Message transmis ----------
Sujet : OpenJDK7 on Debian GNU/kFreeBSD
Date : jeudi 23 juin 2011
De : "Damien Raude-Morvan" <drazzib@drazzib.com>
À : distro-pkg-dev@openjdk.java.net
Hi,
I'm currently trying to port OpenJDK7 (ie. icedtea) to Debian GNU/kFreeBSD
[1]. Debian GNU/kFreeBSD is a port that consists of GNU userland using the GNU
C library on top of FreeBSD kernel with classic Debian package management
software

There is in fact two ports : kfreebsd-i386 and kfreebsd-amd64.
My current WiP patch [2] consist mostly in :
- Alter build system to consider GNU/kFreeBSD like mostly linux (ie. add many
ifdef __GLIBC__)
- Steal BSD network stack impl for bsd-port hg repository
- Use sysctl call instead of sysinfo()
- Disable build of alsa and sctp
I'm able to compile a stage1 jdk (openjdk-boot) but first invocation of this
jdk (with ZeroVM of course) just fail badly :
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (os_linux_zero.cpp:260), pid=96754, tid=1026
# fatal error: caught unhandled signal 11
#
# JRE version: 7.0_136-b136
# Java VM: OpenJDK Zero VM (21.0-b07 interpreted mode linux-i386 )
# Derivative: IcedTea7 2.0pre
# Distribution: Debian GNU/kFreeBSD unstable (sid), package 7~b136-2.0~pre1-3
I've attached hs_err_pid96754.log and put a GDB output online [3]
=> Did someone have a clue about this issue ? Or maybe a process to track down
this segv signal ?
PS: Please keep debian-bsd@l.d.o and 567992@b.d.o in CC.
[1] http://www.debian.org/ports/kfreebsd-gnu/
[2] http://people.debian.org/~drazzib/openjdk/kfreebsd-support.diff
[3] http://paste.debian.net/120778/
Regards,
--
Damien
-------------------------------------------------------
--
Damien