This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RE : PR22458, failure to choose a matching ELF target


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]