Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 2008 16:10:13 -0400
From:      John Baldwin <jhb@FreeBSD.org>
To:        freebsd-amd64@FreeBSD.org
Cc:        Dominic Fandrey <kamikaze@bsdforen.de>, freebsd-gnats-submit@FreeBSD.org
Subject:   Re: amd64/127276: ldd invokes linux yes
Message-ID:  <200809101610.13951.jhb@freebsd.org>
In-Reply-To: <200809101744.m8AHiaQq053643@www.freebsd.org>
References:  <200809101744.m8AHiaQq053643@www.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809101610.13951.jhb>