This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
RE : PR22458, failure to choose a matching ELF target
- From: Mahesh Bodapati <maheshbodapati212 at gmail dot com>
- To: binutils at sourceware dot org, amodra at gmail dot com
- Date: Mon, 25 Feb 2019 22:34:57 +0530
- Subject: RE : PR22458, failure to choose a matching ELF target
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