NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

toolchain/48329: objdump broken on arm



>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
>Originator:     Martin Husemann
>Release:        NetBSD 6.1_STABLE
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD night-porter.duskware.de 6.1_STABLE NetBSD 6.1_STABLE (PORTER) 
#6: Wed May 29 21:38:20 CEST 2013 
martin%night-porter.duskware.de@localhost:/usr/src-6/sys/arch/i386/compile/PORTER
 i386
Architecture: i386
Machine: i386
>Description:

build.sh -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/libc.so.12.187:     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/libc.so.12.185:     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

>How-To-Repeat:
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?

>Fix:
n/a



Home | Main Index | Thread Index | Old Index