This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: RE : PR22458, failure to choose a matching ELF target
- From: Alan Modra <amodra at gmail dot com>
- To: Mahesh Bodapati <maheshbodapati212 at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Tue, 26 Feb 2019 10:23:45 +1030
- Subject: Re: RE : PR22458, failure to choose a matching ELF target
- References: <CACSfpVaRC4nknCsUyAiFTuF9C3tKep_7=CuMOSDCc3ho-+v1Cw@mail.gmail.com>
On Mon, Feb 25, 2019 at 10:34:57PM +0530, Mahesh Bodapati wrote:
> removal of (*target)->match_priority > best_match)* is causing *the build
> error for me.
I think something else is causing your LTO errors. The priorities are
compared later in bfd_check_format_matches:
if (match_priority < best_match)
{
best_match = match_priority;
best_count = 0;
}
if (match_priority <= best_match)
{
/* This format checks out as ok! */
right_targ = temp;
best_count++;
}
--
Alan Modra
Australia Development Lab, IBM