[PATCH] D75849: [compiler-rt] Allow golang race detector to run on musl-c

Alex Lorenz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 25 16:16:56 PDT 2020


arphaman added a comment.

In D75849#1942382 <https://reviews.llvm.org/D75849#1942382>, @arphaman wrote:

> Hi @graywolf-at-work, @dvyukov
>
> This change causes compiler-rt to fail to build `lib/CMakeFiles/SanitizerLintCheck` on Darwin with the following error:
>
>   clang-11: warning: include path for libstdc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
>   /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm: race_darwin_amd64.syso: No such file or directory.
>
>
> Example: http://lab.llvm.org:8080/green/job/clang-stage1-RA/7900/consoleFull#-87031640a1ca8a51-895e-46c6-af87-ce24fa4cd561
>
> Can you please take a look at this issue as soon as you can? Let me know if you need help reproducing this.


Apologies, I think I misdiagnosed the failure. I think there's another issue that follows the missing `race_darwin_amd64.syso` that is failing the build. I'll get back to you once I know more.


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

https://reviews.llvm.org/D75849





More information about the llvm-commits mailing list