[cfe-dev] Forcing default target, linker, includes
Chris Hanson via cfe-dev
cfe-dev at lists.llvm.org
Sun Nov 10 12:14:23 PST 2019
On Nov 9, 2019, at 10:39 PM, Simon Atanasyan <simon at atanasyan.com> wrote:
> The message is about "$IRIXSDK/usr/local/include" but you say that
> "$IRIXSDK/usr/include" exists.
Doh! Thanks for catching that! I don’t know why my eyes just skipped right over the “local” there…
> In LLD you can try to handle that in the addReservedSymbols() function.
>> Is it related to the warnings about local symbols in global parts of the symbol table in libc.so?
>> Is there any way to suppress those too, or to have lld interpret them “properly” (as SGI intended
>> in Irix 6.5.30, irrespective of what’s proper today)?
> The error above is not related to these warnings. It looks like SGI
> libraries violate ELF rule that all local symbols precede weak or
> global symbols in each symbol table, and an index of first non-local
> symbol is stored to sh_info. LLD checks this in the
> SharedFile::parse() method.
Thanks for the explanations! I’ll see what I can do with this new information today. :)
More information about the cfe-dev