From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 31 18:48:20 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 8DBBF16A403; Sat, 31 Mar 2007 18:48:20 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.freebsd.org (Postfix) with ESMTP id 302C913C468; Sat, 31 Mar 2007 18:48:20 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (zion.baldwin.cx [192.168.0.7]) (authenticated bits=0) by server.baldwin.cx (8.13.8/8.13.8) with ESMTP id l2VIm9uK067650; Sat, 31 Mar 2007 13:48:09 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-arch@freebsd.org Date: Sat, 31 Mar 2007 14:40:43 -0400 User-Agent: KMail/1.9.4 References: <1175318584.00714931.1175306401@10.7.7.3> <1175318590.00714940.1175308202@10.7.7.3> <460E0AB8.8040608@icyb.net.ua> In-Reply-To: <460E0AB8.8040608@icyb.net.ua> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703311440.44428.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [192.168.0.1]); Sat, 31 Mar 2007 13:48:09 -0500 (EST) X-Virus-Scanned: ClamAV 0.88.3/2981/Sat Mar 31 10:50:41 2007 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Daniel Eischen , freebsd-hackers@freebsd.org, Andriy Gapon Subject: Re: 32/64bit KSE issues? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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 18:48:20 -0000 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. > > > Daniel, > > maybe you can send a followup to the following ? > http://www.freebsd.org/cgi/query-pr.cgi?pr=110655 > > Given that 32-bit libthr also doesn't work on 64-bit kernel, the only > option is to map thread libs to libc_r via libmap32.conf. > BTW, next time there is a poll about retiring libc_r please count me > against for precisely this reason. 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. -- John Baldwin