Skip to content
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

clang++-17: error: missing sanitizer ignorelist: 'share/cfi_ignorelist.txt' #148

Open
alexmat opened this issue Nov 22, 2023 · 1 comment

Comments

@alexmat
Copy link

alexmat commented Nov 22, 2023

I'm getting the following issue with cfi_ignorelist.txt when building using docker-build.sh

[2577/57985] LINK ./chrome_sandbox
FAILED: chrome_sandbox 
"python3" "../../build/toolchain/gcc_link_wrapper.py" --output="./chrome_sandbox" -- clang++-17 -pie -fuse-ld=lld -Wl,--build-id=sha1 -fPIC -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--icf=all -Wl,--color-diagnostics -Wl,-mllvm,-instcombine-lower-dbg-declare=0 -flto=thin -Wl,--thinlto-jobs=all -Wl,--thinlto-cache-dir=thinlto-cache -Wl,--thinlto-cache-policy=cache_size=10\%:cache_size_bytes=40g:cache_size_files=100000 -Wl,-mllvm,-import-instr-limit=30 -fwhole-program-vtables -Wl,--undefined-version -Wl,--no-call-graph-profile-sort -m64 -no-canonical-prefixes -Wl,-O2 -Wl,--gc-sections -rdynamic -Wl,-z,defs -Wl,--as-needed -nostdlib++ --sysroot=../../build/linux/debian_bullseye_amd64-sysroot -Wl,--lto-O0 -fsanitize=cfi-vcall -fsanitize=cfi-icall -pie -Wl,--disable-new-dtags  -resource-dir= -B/usr/lib/llvm-17/bin -o "./chrome_sandbox" -Wl,--start-group @"./chrome_sandbox.rsp"  -Wl,--end-group  -ldl -lpthread -lrt 
clang++-17: error: missing sanitizer ignorelist: 'share/cfi_ignorelist.txt'
[2586/57985] CXX obj/skia/skia_opts_hsw/SkOpts_hsw.o
ninja: build stopped: subcommand failed.
@clickot
Copy link
Collaborator

clickot commented Dec 10, 2023

hi @alexmat, sorry for my late reply. I haven't seen this error myself, but i had to switch to llvm 18 (including clang 18) to get things built lately. Maybe you could check if the error disappears if you do the same.

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

No branches or pull requests

2 participants