PR22458, failure to choose a matching ELF target

Mahesh Bodapati maheshbodapati212@gmail.com
Mon Feb 25 17:05:00 GMT 2019


Hi,
https://patches-gcc.linaro.org/patch/4729/

I am getting linker errors "Multiple Prevailing definition errors" in LTO
mode with the below changes.

       /* Don't check the default target twice.  */
       if (*target == &binary_vec-	  || (!abfd->target_defaulted &&
*target == save_targ)-	  || *(*target)->match_priority >
best_match)*+	  || (!abfd->target_defaulted && *target == save_targ))


removal of (*target)->match_priority > best_match)* is causing *the build
error for me.
could you re-look at this statement and can you explain the reason for
getting build errors.

Thanks,
Mahesh B



More information about the Binutils mailing list