<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="margin: 0;">The real cause is that avr clang driver omits user specified --sysrootŁ¬I have created a patch to fix that.</div><div style="margin: 0;"><br></div><div style="margin: 0;"><a href="https://reviews.llvm.org/D95529" _src="https://reviews.llvm.org/D95529">https://reviews.llvm.org/D95529</a> </div><div style="margin: 0;"><br></div><div style="margin: 0;">Ben</div><p style="margin: 0;"><br></p><p style="margin: 0;"><br></p><p style="margin: 0;"><br></p><p style="margin: 0;"><br></p><div style="position:relative;zoom:1"></div><div id="divNeteaseMailCard"></div><p style="margin: 0;"><br></p><p>At 2021-01-26 09:53:56, "Ben Shi" <powerman1st@163.com> wrote:</p><blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="margin: 0;">I have reproduced the failures on my ubuntu server. The main reason is,</div><div style="margin: 0;"><br></div><div style="margin: 0;">though I tested with removal of avr-gcc, the avr-libc and avr-binutils were not auto removed.</div><div style="margin: 0;"><br></div><div style="margin: 0;">I will try the test with all avr-related things removed on both linux and windows. </div><div style="margin: 0;"><br></div><div style="margin: 0;">Ben </div><div style="margin: 0;"><br></div><div style="margin: 0;"><br></div><p style="margin: 0;"><br></p><p style="margin: 0;"><br></p><p style="margin: 0;"><br></p><p style="margin: 0;"><br></p><div style="position:relative;zoom:1"></div><div></div><p style="margin: 0;"><br></p><pre><br>At 2021-01-26 02:26:55, "F¨ˇng-ru¨¬ S¨°ng" <maskray@google.com> wrote:
>On Sun, Jan 24, 2021 at 8:35 PM Ben Shi via llvm-dev
><llvm-dev@lists.llvm.org> wrote:
>>
>> Dear developers,
>>
>> A recent call commit by me caused a build failure, due to not enough test.
>>
>> Please do not revert it and I will fix it ASAP.
>>
>> http://lab.llvm.org:8011/#/builders/109/builds/7148
>>
>> Ben
>
>Seems that you've reverted it
>(01d9f13c3a5914baf9739348ef666e348a7b2a2f), but please mention reasons
>for revert in the future.
>
>It was not due to insufficient test. It failed on macOS and Windows
>and was likely due to platform differences.
>
>For `clang -target x86_64` and many other target triples, they behave
>as generic ELF and should have the same behavior on different OSes.
>You may need to check why `-target avr` is different on macOS and Windows.
</pre></div></blockquote></div>