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

Douglas Yung via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 25 19:30:22 PDT 2020


dyung added a subscriber: wolfgangp.
dyung added a comment.

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

> 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.


Hi, I believe this problem was due to an issue in D76073 <https://reviews.llvm.org/D76073> which @wolfgangp fixed in 93f77438 <https://github.com/llvm/llvm-project/commit/93f7743851b7a01a8c8f54b3753b6e5cd5591e15>.


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

https://reviews.llvm.org/D75849





More information about the llvm-commits mailing list