From 5b09d15c331fe02995b23e3d694e058faa52bd22 Mon Sep 17 00:00:00 2001 From: Jan Tattermusch Date: Thu, 25 Oct 2018 17:45:47 +0200 Subject: [PATCH] fix ubsan on rbe --- tools/remote_build/rbe_common.bazelrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/remote_build/rbe_common.bazelrc b/tools/remote_build/rbe_common.bazelrc index cdb93376c85..cdf492a2cc2 100644 --- a/tools/remote_build/rbe_common.bazelrc +++ b/tools/remote_build/rbe_common.bazelrc @@ -82,3 +82,7 @@ build:ubsan --test_timeout=3600 #build:ubsan --copt=-fno-sanitize=function,vptr # TODO: revisit this from grpc_ubsan_on_foundry.sh: #--crosstool_top=@com_github_bazelbuild_bazeltoolchains//configs/experimental/ubuntu16_04_clang/1.0/bazel_0.15.0/ubsan:toolchain +# TODO(jtattermusch): remove this once Foundry adds the env to the docker image. +# ubsan needs symbolizer to work properly, otherwise the suppression file doesn't work +# and we get test failures. +build:ubsan --action_env=UBSAN_SYMBOLIZER_PATH=/usr/local/bin/llvm-symbolizer