NetBSD Problem Report #48329

From  Tue Oct 22 07:15:51 2013
Return-Path: <>
Received: from ( [])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "", Issuer "Postmaster" (verified OK))
	by (Postfix) with ESMTPS id 36C55A5873
	for <>; Tue, 22 Oct 2013 07:15:51 +0000 (UTC)
Subject: objdump broken on arm
X-Send-Pr-Version: 3.95

>Number:         48329
>Category:       toolchain
>Synopsis:       objdump broken on arm
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 22 07:20:00 +0000 2013
>Last-Modified:  Wed Oct 23 07:15:01 +0000 2013
>Originator:     Martin Husemann
>Release:        NetBSD 6.1_STABLE
The NetBSD Foundation, Inc.
System: NetBSD 6.1_STABLE NetBSD 6.1_STABLE (PORTER) #6: Wed May 29 21:38:20 CEST 2013 i386
Architecture: i386
Machine: i386
>Description: -m shark -O /... -T /usr/tools tools

creates a non-working tools objdump, same with -m eshark.

Same output from the created native eabi objdump.

This test was done with -current sources updated yesterday.

-rwxr-xr-x  2 root  wheel  1049410 Oct 21 21:21 /usr/tools/bin/armv4--netbsdelf-eabi-objdump*
-rwxr-xr-x  2 root  wheel  1049410 Oct 21 21:42 /usr/tools/bin/arm--netbsdelf-objdump*

/hosts/eshark/lib/     file format elf32-littlearm
00051784 <_setjmp14>:
   51784:       e92d4007        .word   0xe92d4007
   51788:       e2902064        .word   0xe2902064
   5178c:       e3b01000        .word   0xe3b01000
   51790:       e3b00000        .word   0xe3b00000
   51794:       ebff5229        .word   0xebff5229
   51798:       e8bd4007        .word   0xe8bd4007
   5179c:       e59f10bc        .word   0xe59f10bc
   517a0:       e59f2034        .word   0xe59f2034

/hosts/shark/lib/     file format elf32-littlearm
00051708 <_setjmp14>:
   51708:       e92d4007        .word   0xe92d4007
   5170c:       e2802064        .word   0xe2802064
   51710:       e3a01000        .word   0xe3a01000
   51714:       e3a00000        .word   0xe3a00000
   51718:       ebff507a        .word   0xebff507a
   5171c:       e8bd4007        .word   0xe8bd4007

This might be host / host-os-version dependend, others have said their 
amd64/current build of objdump is ok. Maybe the binutils build uses some
/bin/sh (or whatever) features not working on -6?


From: Nick Hudson <>
Subject: Re: toolchain/48329: objdump broken on arm
Date: Wed, 23 Oct 2013 08:14:22 +0100

 Don't use -d  (--disassemble) use -D (--disassemble-all) :)

 Something weird is going on in arm-dis.c


NetBSD Home
NetBSD PR Database Search

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