<div dir="ltr">My vote is to have a warning rather than error. Even if we fix the kernel, preventing links due to flag/type mismatches will act as a barrier for other projects trying to migrate to LLD.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 1, 2017 at 3:46 PM, George Rimar via llvm-commits <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">>>So, this really looks like a bug in the kernel. Even some of its flags<br>
>>are marked alloc.<br>
>><br>
>>Can you try changing include/linux/elfnote.h to have<br>
>><br>
>>#define ELFNOTE(name, type, desc)               \<br>
>>        ELFNOTE_START(name, type, "a")          \<br>
>>                desc                    ;       \<br>
>>        ELFNOTE_END<br>
>><br>
>>and see if that fixes the problem?<br>
>><br>
><br>
>Sure, I'll check that tomorrow and return with info.<br>
><br>
>By the way, may be we want to implement some simple option like -z permissive-flags, which<br>
>will ignore flags checks ? It looks it can be not a unique case for software that have such issues.<br>
><br>
>George.<br>
<br>
</span>It helped, LLD happy with this change.<br>
<br>
So what is plan, are we going to fix that place in kernel, make LLD more permissive or go with D29324 or something else ?<br>
<div class="HOEnZb"><div class="h5"><br>
George.<br>
<br>
______________________________<wbr>_________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-commits</a><br>
</div></div></blockquote></div><br></div>