OpenJDK7 on Debian GNU/kFreeBSD

Damien Raude-Morvan drazzib at
Thu Jun 23 14:27:44 PDT 2011


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 at l.d.o and 567992 at b.d.o in CC.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: hs_err_pid96754.log
Type: text/x-log
Size: 13799 bytes
Desc: not available
Url : 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : 

More information about the distro-pkg-dev mailing list