ungoogled-software / ungoogled-chromium-portablelinux

Portable Linux packaging for ungoogled-chromium
96 stars 30 forks source link

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

Open alexmat opened 11 months ago

alexmat commented 11 months ago

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 commented 10 months ago

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.