[PATCH] D145646: [clang][driver] Enable '-flto' on AVR

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 22 11:32:09 PDT 2023


MaskRay added a comment.

In D145646#4213547 <https://reviews.llvm.org/D145646#4213547>, @gulfem wrote:

> We started seeing a test failure in `avr-ld.c`.
>
>   /b/s/w/ir/x/w/llvm-llvm-project/clang/test/Driver/avr-ld.c:48:11: error: 
>   // LINKP: {{".*ld.*"}} {{.*}} "--defsym=__DATA_REGION_ORIGIN__=0x800100" "-plugin" {{.*}} "-plugin-opt=mcpu=atmega328"
>             ^
>   <stdin>:1:1: note: scanning from here
>   Fuchsia clang version 17.0.0 (https://llvm.googlesource.com/llvm-project 0d37efdbc599e61ce2a0418723a66d6b45aea8d7)
>   ^
>   <stdin>:6:239: note: possible intended match here
>
> https://luci-milo.appspot.com/ui/p/fuchsia/builders/toolchain.ci/clang-linux-x64/b8785950851645447937/overview

I am testing a change and will fix it in one minute.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145646/new/

https://reviews.llvm.org/D145646



More information about the cfe-commits mailing list