[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/22458] libbfd fails to detect elf32-littlearm target when
From: |
amodra at gmail dot com |
Subject: |
[Bug binutils/22458] libbfd fails to detect elf32-littlearm target when it is compiled with support for all targets |
Date: |
Tue, 15 May 2018 02:49:14 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=22458
Alan Modra <amodra at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amodra at gmail dot com
--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
Please do fill in host and target. I suspect what you've done is configured
binutils on, say, x86_64-linux with --enable-targets=all. That would make the
primary binutils target x86_64-linux with arm targets secondary. In that case
binutils doesn't know which of the arm targets to choose by default. If you
configure with --target=arm-linuxeabi --enable-targets=all then arm-linuxeabi
becomes the primary target, even if your host is x86_64-linux.
Making your particular arm target higher priority than others by patching
match_priority isn't a solution that can be applied to the main binutils
sources. (Of course, you are welcome to do as you like with your own copy of
the source!)
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/22458] libbfd fails to detect elf32-littlearm target when it is compiled with support for all targets,
amodra at gmail dot com <=