From owner-freebsd-amd64@FreeBSD.ORG Wed Sep 10 20:13:58 2008 Return-Path: Delivered-To: freebsd-amd64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28E8A1065681; Wed, 10 Sep 2008 20:13:58 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from server.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 9CDD08FC18; Wed, 10 Sep 2008 20:13:57 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from localhost.corp.yahoo.com (john@localhost [IPv6:::1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m8AKDFEo022214; Wed, 10 Sep 2008 16:13:28 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-amd64@FreeBSD.org Date: Wed, 10 Sep 2008 16:10:13 -0400 User-Agent: KMail/1.9.7 References: <200809101744.m8AHiaQq053643@www.freebsd.org> In-Reply-To: <200809101744.m8AHiaQq053643@www.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809101610.13951.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:::1]); Wed, 10 Sep 2008 16:13:29 -0400 (EDT) X-Virus-Scanned: ClamAV 0.93.1/8211/Wed Sep 10 15:01:28 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Dominic Fandrey , freebsd-gnats-submit@FreeBSD.org Subject: Re: amd64/127276: ldd invokes linux yes X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Sep 2008 20:13:58 -0000 On Wednesday 10 September 2008 01:44:36 pm Dominic Fandrey wrote: > > >Number: 127276 > >Category: amd64 > >Synopsis: ldd invokes linux yes > >Confidential: no > >Severity: serious > >Priority: medium > >Responsible: freebsd-amd64 > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Wed Sep 10 17:50:01 UTC 2008 > >Closed-Date: > >Last-Modified: > >Originator: Dominic Fandrey > >Release: RELENG_7 > >Organization: > private > >Environment: > FreeBSD mobileKamikaze.norad 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Fri Aug 29 23:22:22 CEST 2008 root@mobileKamikaze.norad:/usr/obj/HP6510b/amd64/usr/src/sys/HP6510b amd64 > >Description: > When ldd is used on linux yes it invokes it instead of producing the usual output. > > # pkg_info -W /compat/linux/usr/bin/yes > /compat/linux/usr/bin/yes was installed by package linux_base-f8-8_4 > # sysctl compat.linux.osrelease > compat.linux.osrelease: 2.6.16 > > This behaviour breaks pkg_libchk from the sysutils/bsdadminscripts port. > >How-To-Repeat: > # ldd /compat/linux/usr/bin/yes ldd is not going to work for Linux binaries. The Linux ldd should be used for Linux binaries. -- John Baldwin