Skip to content

build(bazel): disable fully_static_link under asan configuration - #29620

Open
tonyliaoss wants to merge 1 commit into
mainfrom
fix/asan-disable-static-link
Open

build(bazel): disable fully_static_link under asan configuration#29620
tonyliaoss wants to merge 1 commit into
mainfrom
fix/asan-disable-static-link

Conversation

@tonyliaoss

Copy link
Copy Markdown
Member

LLVM 15+ compiler-rt prohibits static linking (-static) with AddressSanitizer on Linux via __asan::AsanDoesNotSupportStaticLinkage(), which fails on targets like //:protoc_static when linking with LLD 18. Disable the fully_static_link feature under --config=asan.

LLVM 15+ compiler-rt prohibits static linking (-static) with AddressSanitizer on Linux via __asan::AsanDoesNotSupportStaticLinkage(), which fails on targets like //:protoc_static when linking with LLD 18. Disable the fully_static_link feature under --config=asan.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant