Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Mar 2008 08:41:04 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        "Aryeh M. Friedman" <aryeh.friedman@gmail.com>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, David Xu <davidxu@freebsd.org>, cvs-all@freebsd.org, freebsd-java@freebsd.org
Subject:   Re: cvs commit: src/lib/libthr/thread thr_affinity.c
Message-ID:  <200803200841.04914.jhb@freebsd.org>
In-Reply-To: <47E17A5A.20909@gmail.com>
References:  <200803190638.m2J6cLKU059782@repoman.freebsd.org> <47E0C20E.5040002@freebsd.org> <47E17A5A.20909@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 19 March 2008 04:40:58 pm Aryeh M. Friedman wrote:
> David Xu wrote:
> > Aryeh M. Friedman wrote:
> >> I know this is off topic but the removal of KSE made it so it is not
> >> possible to get any Java VM running on 8-current (AMD64).
> >> Spcifically  I have attached the results of attempting to install
> >> java/diablo-jdk15, java/linux-sun-jdk15, java/linux-sun-jdk16 with
> >> the second two giving false positive installs.   I have contacted
> >> Greg Lewis and the -java@ mailing list and seems like they are as
> >> baffled as I am on the sitution.... If you would be so kind as to
> >> make a tempurary workaround to allow java/diablo-jdk15 to install/run
> >> correctly then it would be possible to build a native VM and this
> >> would give various intrested parties time to figure out how to how to
> >> not rely on KSE.
> >
> > man libmap.conf
>
> Sorry for taking a day to get back but unless I am confused it is
> already using compat libs thus should not have this issue (but it does):
>
> flosoft# pwd && ldd ./java
> /usr/ports/java/diablo-jdk15/work/diablo-jdk1.5.0_07/bin
> ./java:
>     libz.so.3 => /usr/local/lib/compat/libz.so.3 (0x80063b000)
>     libpthread.so.2 => /usr/local/lib/compat/libpthread.so.2 (0x80074f000)
>     libc.so.6 => /usr/local/lib/compat/libc.so.6 (0x80087a000)
> flosoft# ls /usr/local/lib/compat/libz.so*
> /usr/local/lib/compat/libz.so.3
> flosoft# ls /usr/local/lib/compat/libthread_db.so*
> /usr/local/lib/compat/libthread_db.so.2
> flosoft# ls /usr/local/lib/compat/libc.so*
> /usr/local/lib/compat/libc.so.6

The KSE syscalls are gone, you have to use libthr rather than libpthread.

-- 
John Baldwin



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