orivej at gmx dot fr
2017-11-19 04:25:45 UTC
https://sourceware.org/bugzilla/show_bug.cgi?id=22458
Bug ID: 22458
Summary: libbfd fails to detect elf32-littlearm target when it
is compiled with support for all targets
Product: binutils
Version: 2.29
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: orivej at gmx dot fr
Target Milestone: ---
binutils 2.29.1 compiled with --enable-targets=all do not work with ARM ELF
files unless the target (elf32-littlearm) is specified explicitly. For example
[1],
objdump -t atomic_lock_free.0.o
prints
objdump: atomic_lock_free.0.o: File format is ambiguous
objdump: Matching formats: elf32-littlearm elf32-littlearm-symbian
elf32-littlearm-vxworks
This bug was reportedly solved by the patch in [2], but the patch is present in
the current binutils. elf32-littlearm-symbian and elf32-littlearm-vxworks may
have lost their lower priority since then. Currently I'm using this [3]
workaround.
[1] https://github.com/NixOS/nixpkgs/files/1485206/atomic_lock_free.0.o.gz
[2] https://sourceware.org/ml/binutils/2013-05/msg00271.html
[3]
https://github.com/NixOS/nixpkgs/commit/c76890f2fe24ca64bc216515149f7316080912f0
Bug ID: 22458
Summary: libbfd fails to detect elf32-littlearm target when it
is compiled with support for all targets
Product: binutils
Version: 2.29
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: orivej at gmx dot fr
Target Milestone: ---
binutils 2.29.1 compiled with --enable-targets=all do not work with ARM ELF
files unless the target (elf32-littlearm) is specified explicitly. For example
[1],
objdump -t atomic_lock_free.0.o
prints
objdump: atomic_lock_free.0.o: File format is ambiguous
objdump: Matching formats: elf32-littlearm elf32-littlearm-symbian
elf32-littlearm-vxworks
This bug was reportedly solved by the patch in [2], but the patch is present in
the current binutils. elf32-littlearm-symbian and elf32-littlearm-vxworks may
have lost their lower priority since then. Currently I'm using this [3]
workaround.
[1] https://github.com/NixOS/nixpkgs/files/1485206/atomic_lock_free.0.o.gz
[2] https://sourceware.org/ml/binutils/2013-05/msg00271.html
[3]
https://github.com/NixOS/nixpkgs/commit/c76890f2fe24ca64bc216515149f7316080912f0
--
You are receiving this mail because:
You are on the CC list for the bug.
You are receiving this mail because:
You are on the CC list for the bug.