[PATCH] D128133: [Driver] Support linking to compiler-rt for target AVR

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 15 19:34:39 PDT 2022


phosek added a comment.

In D128133#3724984 <https://reviews.llvm.org/D128133#3724984>, @benshi001 wrote:

> @phosek ,
>
> I have re-landed my patch, it seems the core reason is compiler-rt is default in Fuchsia environment, other than libgcc.
>
> please inform me if it went wrong any longer.

Thanks, I'll keep on monitoring our builders. Another difference is that we use LLD as a the default linker <https://github.com/llvm/llvm-project/blob/fbc4c26e9a7a315881b695e872682b84b7e2bcc4/clang/cmake/caches/Fuchsia-stage2.cmake#L32>. The solution we often use for other driver tests is setting `--rtlib=platform` and `-fuse-ld=`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D128133



More information about the cfe-commits mailing list