From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 31 22:02:17 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B309516A401 for ; Sat, 31 Mar 2007 22:02:17 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.ntplx.net (mail.ntplx.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id 7590F13C48C for ; Sat, 31 Mar 2007 22:02:17 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.ntplx.net (8.14.0/8.14.0/NETPLEX) with ESMTP id l2VM2CDw000741; Sat, 31 Mar 2007 18:02:12 -0400 (EDT) X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.ntplx.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-3.0 (mail.ntplx.net [204.213.176.10]); Sat, 31 Mar 2007 18:02:13 -0400 (EDT) Date: Sat, 31 Mar 2007 18:02:12 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: John Baldwin In-Reply-To: <200703311440.44428.jhb@freebsd.org> Message-ID: References: <1175318584.00714931.1175306401@10.7.7.3> <1175318590.00714940.1175308202@10.7.7.3> <460E0AB8.8040608@icyb.net.ua> <200703311440.44428.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-hackers@freebsd.org, Andriy Gapon , freebsd-arch@freebsd.org Subject: Re: 32/64bit KSE issues? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Mar 2007 22:02:17 -0000 On Sat, 31 Mar 2007, John Baldwin wrote: > On Saturday 31 March 2007 03:16, Andriy Gapon wrote: >> on 31/03/2007 05:23 Daniel Eischen said the following: >>> On Fri, 30 Mar 2007, David E. Cross wrote: >>> >>>> I recently ran into a problem where the 32bit JVM won't run on a 64bit host. >>>> I, and at least one other person in -java thinks it has to do with 32 bit KSE >>>> on a 64bit kernel (I have a vague memory on this somewheres WAY back). Is >>>> this still the issue? Could someone point me in the general direction of the >>>> specifics of the problem (if they exist, if not, I may try to create a >>>> simpler test case then java)? >>>> >>>> I tried a few searches, but nothing matching what I remembered came up. >>> >>> No, you can't run 32-bit libpthread on 64-bit kernel. There >>> are no compatiblity hooks in the kernel to handle 32-bit kse >>> interfaces. It is really too messy to provide it. [ ... ] > I plan on making sure full 32-bit compat exists for both libthr and > libpthread and backporting it to 6.x for work. Very few things are > too hard to wrap with a 32-bit shim. Not according to peter@ ;-) But if you can do it, that'd be great. -- DE