[PATCH] D102453: [CMake][ELF] Add -fno-semantic-interposition for GCC and Clang>=13
Luís Ferreira via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 12 17:31:04 PST 2022
ljmf00 added a comment.
In D102453#3238656 <https://reviews.llvm.org/D102453#3238656>, @MaskRay wrote:
> What's your Clang version? Clang -DLLVM_USE_SANITIZER=Address works well for me (and sanitizer* build bots) with both Debug and Release.
> If it's problems in older Clang versions, we can just disable the older versions.
I'm running builds on an Arch Linux based docker container with Clang and LLVM tools with version 13.0.0 (rel version 2, for clang, on Arch Linux) on this target CPU https://termbin.com/82n2 . I'm also using ccache 4.4.2 to speed up builds.
I've done a full clean build and logged it here https://ipfs.io/ipfs/bafybeia4kdu4a55fcp5nfntwcqe33aucuwv3uacelmo6zcsmasnsuafvim/ . I'm sorry for including that many flags, but I have an automated CMake bootstrap script to do it but some of them are the default values.
I tried to debug this a bit and figure out if there is a combination of flags that can succeed. I consulted the infrastructure repository and confirmed that sanitisers are being built with gold linker. So perhaps is this something linker related? I can try gold if it is worth trying.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102453/new/
https://reviews.llvm.org/D102453
More information about the llvm-commits
mailing list