From owner-freebsd-ports@FreeBSD.ORG Wed Sep 12 09:21:50 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B9C116A419 for ; Wed, 12 Sep 2007 09:21:50 +0000 (UTC) (envelope-from leafy7382@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179]) by mx1.freebsd.org (Postfix) with ESMTP id C09CE13C48A for ; Wed, 12 Sep 2007 09:21:48 +0000 (UTC) (envelope-from leafy7382@gmail.com) Received: by py-out-1112.google.com with SMTP id u77so297564pyb for ; Wed, 12 Sep 2007 02:21:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=wxjVCKcSgF9xLe3UAy5GrVvH+X9zKLR1h+W7Gb0Rn6c=; b=MudqXaj5wzV/TV4Z2Hbk1QccpiL+PSLYiTFHUHAD7r58QI7JO0SXvls6mMDlICnCQPDk/ec673dlIfkoYvJEOTvGDpLfMejnPv6aHB7qIlz9101nSOEbb9dNGgRfVq8TvSemOL8lj0uAq/emPKALgGpCMykYdAC88zpWtiPlcGI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Z0or2yeKQc6C7IOslBRgCxS7p5BrA5+SQlbPGuM5HKUHpYm+2byTVFAtgDMfFSz5b2rdPVJ4dfqRZTmdld7rP0VXXeiSAtQ9lLv5bt35PPK0cB6EI9CJW8OtzQtBCGopBre3LRGdexO+iykC29XMp3KM7QT30wh4ygLJSrkstDs= Received: by 10.65.139.9 with SMTP id r9mr14251520qbn.1189588907781; Wed, 12 Sep 2007 02:21:47 -0700 (PDT) Received: by 10.64.27.10 with HTTP; Wed, 12 Sep 2007 02:21:47 -0700 (PDT) Message-ID: Date: Wed, 12 Sep 2007 17:21:47 +0800 From: "Jiawei Ye" To: "Kris Kennaway" In-Reply-To: <46E7ABC9.1030706@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46E6331C.7000208@delphij.net> <46E7ABC9.1030706@FreeBSD.org> Cc: d@delphij.net, freebsd ports Subject: Re: compat-6x does not work when kernel has NO_KSE X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Sep 2007 09:21:50 -0000 On 9/12/07, Kris Kennaway wrote: > > How does symbol versioning affect this? Are you saying that libmap no > longer works with pre-7 libraries? > > Kris > This is what happens when I try to run diablo-jdk15 on a symbol-versioned -current with NO_KSE kernel. [leafy@business /usr/ports/java/diablo-jdk15]$ /usr/local/diablo-jdk1.5.0/jre/bin/java -version Fatal error 'kse_create() failed ' at line 444 in file /usr/src/lib/libpthread/thread/thr_kern.c (errno = 2) So I added this to /etc/libmap.conf (this will use libthr.so.3) [/usr/local/diablo-jdk1.5.0/jre/bin/java] libpthread.so.2 libthr.so [leafy@business /etc]$ /usr/local/diablo-jdk1.5.0/jre/bin/java -version /libexec/ld-elf.so.1: /usr/lib/libthr.so: version LIBTHREAD_1_0 required by /usr/local/diablo-jdk1.5.0/jre/bin/java not found I am not sure what is the correct way to fix this. Jiawei -- "If it looks like a duck, walks like a duck, and quacks like a duck, then to the end user it's a duck, and end users have made it pretty clear they want a duck; whether the duck drinks hot chocolate or coffee is irrelevant."