-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Open
Labels
clangClang issues not falling into any other categoryClang issues not falling into any other categorycmakeBuild system in general and CMake in particularBuild system in general and CMake in particular
Milestone
Description
Given
"/usr/bin/clang-scan-deps-18" \
-format=p1689 -- \
/usr/bin/clang++ \
--target=x86_64-unknown-linux-gnu \
-I/tmp/project/source \
-fdiagnostics-color=always \
-fstack-protector-strong \
-fvisibility=hidden \
-stdlib=libstdc++ \
-O3 -DNDEBUG \
-std=c++20 \
-flto=thin \
-fsanitize=cfi \
-x c++ \
/tmp/project/source/message.cpp \
-c -o source/CMakeFiles/message.dir/message.cpp.o \
-MT source/CMakeFiles/message.dir/message.cpp.o.ddi \
-MD -MF source/CMakeFiles/message.dir/message.cpp.o.ddi.d \
> source/CMakeFiles/message.dir/message.cpp.o.ddi.tmp && mv source/CMakeFiles/message.dir/message.cpp.o.ddi.tmp source/CMakeFiles/message.dir/message.cpp.o.ddi
I get
error: missing sanitizer ignorelist: '/usr/lib/clang/18/share/cfi_ignorelist.txt'
Error while scanning dependencies for /tmp/project/source/message.cpp:
error: missing sanitizer ignorelist: '/usr/lib/clang/18/share/cfi_ignorelist.txt'
It seems this file isn't copied across when building the apt packages for Ubuntu Mantic in a Docker instance.
FROM ubuntu:mantic
RUN apt-get update && \
apt-get dist-upgrade -y && \
apt-get update && \
apt-get install -y software-properties-common && \
add-apt-repository universe && \
apt-get update && \
apt-get install -y wget && \
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - && \
apt-add-repository 'deb http://apt.llvm.org/mantic/ llvm-toolchain-mantic main' && \
apt-get update && \
apt-get install -y \
ninja-build python3 python3-pip python3-git python-is-python3 git wget gcc g++ curl zip unzip tar pkg-config \
libllvm18 \
llvm \
llvm-18-dev \
llvm-18-runtime \
clang \
clang-tools \
libclang-common-18-dev \
libclang-18-dev \
libclang1-18 \
clang-format \
python3-clang \
clang-tidy \
libclang-rt-18-dev \
lldb \
lld \
libc++-18-dev \
libc++abi-18-dev \
libunwind-18-dev && \
python3 -m pip install lit cmake --break-system-packages
Metadata
Metadata
Assignees
Labels
clangClang issues not falling into any other categoryClang issues not falling into any other categorycmakeBuild system in general and CMake in particularBuild system in general and CMake in particular
Type
Projects
Status
Needs Fix