From owner-freebsd-current@FreeBSD.ORG Sat Mar 14 17:46:42 2009 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B95421065670; Sat, 14 Mar 2009 17:46:42 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (77-93-215-190.static.masterinter.net [77.93.215.190]) by mx1.freebsd.org (Postfix) with ESMTP id 6DAD88FC20; Sat, 14 Mar 2009 17:46:42 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 223859CB071; Sat, 14 Mar 2009 18:46:27 +0100 (CET) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (lev.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fAC7GkiULT2v; Sat, 14 Mar 2009 18:46:24 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 774169CB123; Sat, 14 Mar 2009 18:46:24 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.3/8.14.3/Submit) id n2EHkOdH037341; Sat, 14 Mar 2009 18:46:24 +0100 (CET) (envelope-from rdivacky) Date: Sat, 14 Mar 2009 18:46:24 +0100 From: Roman Divacky To: "Sean C. Farley" Message-ID: <20090314174624.GB36903@freebsd.org> References: <3f1fd1ea0903140635p74a47a7n290a70e1570b6f08@mail.gmail.com> <3f1fd1ea0903140702n27db3182tee7d68a352a8538b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: Alexander Best , freebsd-current@FreeBSD.org, Michal Varga Subject: Re: linux 3d applications keep crashing X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Mar 2009 17:46:43 -0000 On Sat, Mar 14, 2009 at 11:58:04AM -0500, Sean C. Farley wrote: > On Sat, 14 Mar 2009, Michal Varga wrote: > > >On Sat, Mar 14, 2009 at 2:55 PM, Alexander Best > > wrote: > >>thanks for the hint. setting compat.linux.osrelease=2.4.2 works. :-) > >>settings compat.linux.osrelease=2.4.20 let's quake4 crash with the > >>very same error message when using compat.linux.osrelease=2.6.16. > >> > >Ah, I missed the .20 part. I think "2.4.2" and "2.6.16" are the magic > >words to flip 2.4/2.6 linuxulators, as far as I know there should be > >no other sub-versions doing anything specific (yes, too lazy to check > >sources). I'd assume that setting 2.4.20 just enables the default > >path, that is 2.6 on -CURRENT. > > Setting 2.4.20 and greater flips a switch in the linker to use NPTL as > opposed to LinuxThreads (old threading library). > > Here are some good links about the different versions and how they can > be changed for execution of a program: > http://my.opera.com/onyxluo/blog/2008/10/15/metalink-note-433292-1-ld-assume-kernel-environment-variable > http://developer.novell.com/wiki/index.php/LD_ASSUME_KERNEL we dont support this