From nobody@FreeBSD.org  Wed Sep 10 17:37:51 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 9F677106567C
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 10 Sep 2008 17:37:51 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 8B89A8FC20
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 10 Sep 2008 17:37:51 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m8AHbpUp052275
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 10 Sep 2008 17:37:51 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m8AHbpRo052273;
	Wed, 10 Sep 2008 17:37:51 GMT
	(envelope-from nobody)
Message-Id: <200809101737.m8AHbpRo052273@www.freebsd.org>
Date: Wed, 10 Sep 2008 17:37:51 GMT
From: Dominic Fandrey <kamikaze@bsdforen.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ldd produces uncatchable output
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         127275
>Category:       amd64
>Synopsis:       ldd(1) produces uncatchable output
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-amd64
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 10 17:40:03 UTC 2008
>Closed-Date:    Mon Sep 15 21:45:20 UTC 2008
>Last-Modified:  Mon Sep 15 21:45:20 UTC 2008
>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:
Ldd produces the output 'ELF binary type "0" not known.' upon encountering binaries that are listed as 'Unix - System V' by readelf -e.

>How-To-Repeat:
tcsh:
# ldd /usr/local/Adobe/Reader8/ENU/Adobe/HelpViewer/1.0/intellinux/bin/ahv-binary >& /dev/null

sh:
# ldd /usr/local/Adobe/Reader8/ENU/Adobe/HelpViewer/1.0/intellinux/bin/ahv-binary
> /dev/null 2>&1
>Fix:


>Release-Note:
>Audit-Trail:

From: Dominic Fandrey <kamikaze@bsdforen.de>
To: bug-followup@FreeBSD.org, kamikaze@bsdforen.de
Cc:  
Subject: Re: amd64/127275: ldd(1) produces uncatchable output
Date: Mon, 15 Sep 2008 19:51:14 +0200

 This can be closed, because what I thought were two distinct problems has
 turned out to have the same cause. So this can be considered a duplicate of
 amd64/127276.
 
 Ldd invokes the binary and in case of a nonsensical elf-brand the kernel (at
 least that is my suspect) posts a message on the terminal.
 
 The workaround is to only run ldd on FreeBSD binaries. The safe solution,
 would in my opinion, be a check weather the binary uses the FreeBSD linker,
 but this discussion can remain in amd64/127276.
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Mon Sep 15 21:45:01 UTC 2008 
State-Changed-Why:  
See amd64/127276. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=127275 
>Unformatted:
