Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 May 2007 06:41:25 -0500
From:      Eric Anderson <anderson@freebsd.org>
To:        Pascal Hofstee <caelian@gmail.com>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: linux_base-fc6 and linux-sun-jdk* problems
Message-ID:  <4656CB65.3040106@freebsd.org>
In-Reply-To: <1180083709.19278.13.camel@neo.zion>
References:  <1180083709.19278.13.camel@neo.zion>

next in thread | previous in thread | raw e-mail | index | archive | help
On 05/25/07 04:01, Pascal Hofstee wrote:
> Hi,
> 
> I decided after the recent gcc-4.2.0, symbol versioning and xorg-7.2
> update i might as well give the new linux_base-fc6 a whirl and see how
> that works out.
> 
> The linux-base install itself went painless though i haven't really used
> it yet until this morning when i wanted to install OpenOffice.org which
> for which i need a native JDK to build. So i tried to install java/jdk15
> which (on default) uses linux-sun-jdk14 as its bootstrapping compiler.
> 
> However this is where things started to go wrong ... i tried installing
> linux-sun-jdk15 instead but wasn't any luckier there either.
> 
> A simple invocation of the command "javac" (no parameters whatsoever ..
> plain javac) bails out with the following problem (under
> linux-sun-jdk15):

[..snip..]

> #
> #  SIGSEGV (0xb) at pc=0x280f999a, pid=7224, tid=900856720
> #
> # Java VM: Java HotSpot(TM) Client VM (1.5.0_11-b03 mixed mode)
> # Problematic frame: 
> # C  [libc.so.6+0x6a99a]  cfree+0x7a

[..snip..]

> Stack: [0x00000000,0x00000000),  sp=0x35b1f1d8,  free space=879740k
> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code,
> C=native code)
> C  [libc.so.6+0x6a99a]  cfree+0x7a
> C  [libpthread.so.0+0x69f6]  pthread_attr_destroy+0x26
> V  [libjvm.so+0x2916c2]
> V  [libjvm.so+0x291403]
> V  [libjvm.so+0x2fed1c]
> V  [libjvm.so+0x30058d]
> V  [libjvm.so+0x2f620c]
> V  [libjvm.so+0x33128e]
> V  [libjvm.so+0x28fbe8]
> C  [libpthread.so.0+0x526a]

[..snip..]

> OS:Fedora Core release 6 (Zod)
> 
> uname:Linux 2.6.16 FreeBSD 7.0-CURRENT #0: Wed May 23 00:37:58 CEST 2007
> i686

[..snip..]

> I hope somebody more knowledgeable in the inner workings of our
> linuxulator can do something with this information.
> 


So you're running -CURRENT, but the java binary is linked against a 6.x 
libc?

I have no idea if that matters or not, nor am I a guru of the 
linuxulator, so it could be a false red flag.  However, you might try 
using /etc/libmap.conf to remap the libc.so.6 to libc.so.7, or better 
yet, try recompiling your java ports from scratch.

Eric






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4656CB65.3040106>