Bug Template
Title: CenOS build image fails
Description:
"Your toolchain has set _GLIBCXX_USE_CXX11_ABI to a value that uses a std::string " "implementation that is not thread-safe. This may cause rare and difficult-to-debug errors " "if std::string is passed between threads in any way. If you accept this risk, you may define " "ENVOY_IGNORE_GLIBCXX_USE_CXX11_ABI_ERROR=1 in your build."
#error "Your toolchain has set _GLIBCXX_USE_CXX11_ABI to a value that uses a std::string "
[optional Relevant Links:]
This is the command I have run
IMAGE_NAME=envoyproxy/envoy-build-centos ./ci/run_envoy_docker.sh './ci/do_ci.sh bazel.release.server_only'
Question: Can you please let us know how do we include this ENVOY_IGNORE_GLIBCXX_USE_CXX11_ABI_ERROR=1 in the Basel build options
I have modified BAZEL_OPTIONS but there is no effect. Thanks for your help !
@vpiduri you might want to set this in SOURCE_DIR/.bazelrc as a --copt="-DENVOY_IGNORE_GLIBCXX_USE_CXX11_ABI_ERROR=1 " build option, see https://docs.bazel.build/versions/master/user-manual.html#bazelrc.
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 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". Thank you for your contributions.
Most helpful comment
@vpiduri you might want to set this in
SOURCE_DIR/.bazelrcas a--copt="-DENVOY_IGNORE_GLIBCXX_USE_CXX11_ABI_ERROR=1 "build option, see https://docs.bazel.build/versions/master/user-manual.html#bazelrc.