NetBSD Problem Report #45311

From Manuel.Bouyer@lip6.fr  Mon Aug 29 21:58:15 2011
Return-Path: <Manuel.Bouyer@lip6.fr>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 424E663C0E2
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 29 Aug 2011 21:58:15 +0000 (UTC)
Message-Id: <20110829215812.4F31034C41@armandeche.soc.lip6.fr>
Date: Mon, 29 Aug 2011 23:58:12 +0200 (MEST)
From: Manuel.Bouyer@lip6.fr
Reply-To: Manuel.Bouyer@lip6.fr
To: gnats-bugs@gnats.NetBSD.org
Subject: ldd doesn't work on n32 binaries on mips64el
X-Send-Pr-Version: 3.95

>Number:         45311
>Category:       port-mips
>Synopsis:       ldd doesn't work on n32 binaries on mips64el
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    matt
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 29 22:00:01 +0000 2011
>Closed-Date:    Wed Nov 02 19:53:40 +0000 2016
>Last-Modified:  Wed Nov 02 19:53:40 +0000 2016
>Originator:     Manuel Bouyer
>Release:        NetBSD 5.99.55
>Organization:
>Environment:
System: NetBSD cuba.soc.lip6.fr 5.99.55 NetBSD 5.99.55 (LOONGSON) #52: Mon Aug 29 21:38:41 CEST 2011 bouyer@roll:/dsk/l1/misc/bouyer/tmp/evbmips64el/obj/dsk/l1/misc/bouyer/current/src/sys/arch/evbmips/compile/LOONGSON evbmips
Architecture: mipsel
Machine: evbmips-mips64el
>Description:
	ldd doesn't work on n32 binaries on a mips64el platform:
cuba:/home/bouyer/src/usr.bin/ftp>ldd /bin/sh 
ldd: /bin/sh: unrecognized file format2 [1 != 2]
cuba:/home/bouyer/src/usr.bin/ftp>file /bin/sh 
/bin/sh: ELF 32-bit LSB executable, MIPS, N32 MIPS-III version 1 (SYSV), dynamically linked (uses shared libs), for NetBSD 5.99.55, with unknown capability 0xf41 = 0x756e6700, with unknown capability 0x70100 = 0x3040000, not stripped

>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: toolchain-manager->port-mips-manager
Responsible-Changed-By: bouyer@NetBSD.org
Responsible-Changed-When: Tue, 30 Aug 2011 08:41:02 +0000
Responsible-Changed-Why:
Recategorize as port-mips


Responsible-Changed-From-To: port-mips-manager->port-mips-maintainer
Responsible-Changed-By: bouyer@NetBSD.org
Responsible-Changed-When: Tue, 30 Aug 2011 08:49:54 +0000
Responsible-Changed-Why:
Get Responsible right


Responsible-Changed-From-To: port-mips-maintainer->matt
Responsible-Changed-By: tsutsui@NetBSD.org
Responsible-Changed-When: Sun, 05 Jan 2014 05:46:53 +0000
Responsible-Changed-Why:
mips64 issue


State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Wed, 02 Nov 2016 19:53:40 +0000
State-Changed-Why:
this is not a problem any more (tested 7.99.42)


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.