-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to build asan with clang? #14489
Comments
Plz try |
It seems the docker used by ./ci/run_envoy_docker.sh 'echo $(which clang)'
./ci/run_envoy_docker.sh 'echo $(which gcc)'
/usr/bin/gcc |
So it seems like some of the bazel flags from Line 26 in e90d674
clang-asan in the root-level bazelrc by default, only added for CI. Wonder why.
|
The issue seems related to #13973. Unfortunately I had no luck setting those extra bazel flags, so I had to disable Ubsan for now. GoogleCloudPlatform/esp-v2#462 and envoyproxy/nighthawk#593 track this. |
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted" or "no stalebot". Thank you for your contributions. |
Title: I need some help for building asan with clang
Description:
I tried
bazel test --config=clang-asan ...
, but got:After applying the solution in https://bugs.llvm.org/show_bug.cgi?id=16404
now I get:
Maybe I miss something? I am using Ubuntu 20.04 & clang 11. It would be great if anyone provides me some help.
The text was updated successfully, but these errors were encountered: