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

next in thread | previous in thread | raw e-mail | index | archive | help
John Baldwin wrote:
> 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.
>   
FWIW, building Java from source has been working for me just fine.

--
Coleman



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