https://sourceware.org/bugzilla/show_bug.cgi?id=27666

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|nickc at redhat dot com            |amodra at gmail dot com

--- Comment #10 from Alan Modra <amodra at gmail dot com> ---
(In reply to Jan Beulich from comment #8)
> Imo excluding the plain ELF targets there would better be avoided.
Agreed.
> What I'm puzzled by it that with --enable-targets=all the issue doesn't occur.
object file matching in check_format_matches goes like this: The default target
matches even when other targets do too.  Next targets with highest priority
(lowest match_priority) match, which in this case would exclude generic ELF. 
Of those with highest priority the first one matches.  That ought to match
anything in the config targ_selvecs before targets added by --enable-targets. 
However, something else must be going on with archive armaps.

I suspect why you don't see it now with --enable-targets is that the default
target for sparcv9-solaris2.11 has changed.  If I configure with
--target=sparc64-sun-solaris2.11 --enable-targets="sparc64-elf,sparc-elf" an
archive with a 32-bit sparc object lacks the armap.  Without --enable-targets
we get an armap.  This happens with both normal and thin archives.  I'll take a
look some time when I have a spare moment.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to