From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 31 07:16:12 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 3150F16A402 for ; Sat, 31 Mar 2007 07:16:12 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from gateway.cybervisiontech.com.ua (gateway.cybervisiontech.com.ua [88.81.251.18]) by mx1.freebsd.org (Postfix) with ESMTP id DBB7713C455 for ; Sat, 31 Mar 2007 07:16:11 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (hq.cybervisiontech.com [127.0.0.1]) by gateway.cybervisiontech.com.ua (Postfix) with ESMTP id 9DAE6ED46C6; Sat, 31 Mar 2007 10:16:09 +0300 (EEST) X-Virus-Scanned: amavisd-new at cybervisiontech.com Received: from gateway.cybervisiontech.com.ua ([127.0.0.1]) by localhost (hq.cybervisiontech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L1Xor8-dkqek; Sat, 31 Mar 2007 10:16:08 +0300 (EEST) Received: from [10.2.1.87] (rein.cybervisiontech.com.ua [10.2.1.87]) by gateway.cybervisiontech.com.ua (Postfix) with ESMTP id 7F7B4ED469D; Sat, 31 Mar 2007 10:16:08 +0300 (EEST) Message-ID: <460E0AB8.8040608@icyb.net.ua> Date: Sat, 31 Mar 2007 10:16:08 +0300 From: Andriy Gapon User-Agent: Thunderbird 1.5.0.10 (X11/20070329) MIME-Version: 1.0 To: Daniel Eischen References: <1175318584.00714931.1175306401@10.7.7.3> <1175318590.00714940.1175308202@10.7.7.3> In-Reply-To: <1175318590.00714940.1175308202@10.7.7.3> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, freebsd-arch@freebsd.org 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 07:16:12 -0000 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. -- Andriy Gapon