[GCAtomic] Treat single capability structs like a capability #724
+253
−20
CHERI Jenkins / Jenkins
failed
Jan 9, 2025 in 1m 0s
Build llvm-native : error in 'sh (Building with cheribuild on altera linuxj1 docker linux-baseline linux-latest quartuspro focal quar)' step
Build llvm-native / Building with cheribuild on altera linuxj1 docker linux-baseline linux-latest quartuspro focal quar
Error in sh (Building with cheribuild on altera linuxj1 docker linux-baseline linux-latest quartuspro focal quar)
step, with arguments ./cheribuild/jenkins-cheri-build.py --build llvm-native --llvm/build-type=Release --install-prefix=/ --without-sdk --llvm/build-everything --llvm/install-toolchain-only --llvm/assertions '--llvm/cmake-options="-DBUILD_SHARED_LIBS=OFF" "-DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF" "-DLLVM_STATIC_LINK_CXX_STDLIB=ON" "-DLLVM_LIT_ARGS=--xunit-xml-output llvm-test-output.xml --max-time 3600 --timeout 300"'
.
script returned exit code 1
Build log
+ ./cheribuild/jenkins-cheri-build.py --build llvm-native --llvm/build-type=Release --install-prefix=/ --without-sdk --llvm/build-everything --llvm/install-toolchain-only --llvm/assertions --llvm/cmake-options="-DBUILD_SHARED_LIBS=OFF" "-DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF" "-DLLVM_STATIC_LINK_CXX_STDLIB=ON" "-DLLVM_LIT_ARGS=--xunit-xml-output llvm-test-output.xml --max-time 3600 --timeout 300"
/usr/lib/llvm-10/bin/clang -v
Using fallback config option value llvm/build-type for llvm-riscv64/build-type -> 'Release'
Using fallback config option value llvm/cmake-options for llvm-riscv64/cmake-options -> '"-DBUILD_SHARED_LIBS=OFF" "-DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF" "-DLLVM_STATIC_LINK_CXX_STDLIB=ON" "-DLLVM_LIT_ARGS=--xunit-xml-output llvm-test-output.xml --max-time 3600 --timeout 300"'
Warning: Config option llvm-riscv64/cmake-options ("-DBUILD_SHARED_LIBS=OFF" "-DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF" "-DLLVM_STATIC_LINK_CXX_STDLIB=ON" "-DLLVM_LIT_ARGS=--xunit-xml-output llvm-test-output.xml --max-time 3600 --timeout 300") should be a list, got a string instead -> assuming the correct value is ['-DBUILD_SHARED_LIBS=OFF', '-DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF', '-DLLVM_STATIC_LINK_CXX_STDLIB=ON', '-DLLVM_LIT_ARGS=--xunit-xml-output llvm-test-output.xml --max-time 3600 --timeout 300']
Using fallback config option value llvm/build-type for llvm-aarch64/build-type -> 'Release'
Using fallback config option value llvm/cmake-options for llvm-aarch64/cmake-options -> '"-DBUILD_SHARED_LIBS=OFF" "-DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF" "-DLLVM_STATIC_LINK_CXX_STDLIB=ON" "-DLLVM_LIT_ARGS=--xunit-xml-output llvm-test-output.xml --max-time 3600 --timeout 300"'
Warning: Config option llvm-aarch64/cmake-options ("-DBUILD_SHARED_LIBS=OFF" "-DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF" "-DLLVM_STATIC_LINK_CXX_STDLIB=ON" "-DLLVM_LIT_ARGS=--xunit-xml-output llvm-test-output.xml --max-time 3600 --timeout 300") should be a list, got a string instead -> assuming the correct value is ['-DBUILD_SHARED_LIBS=OFF', '-DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF', '-DLLVM_STATIC_LINK_CXX_STDLIB=ON', '-DLLVM_LIT_ARGS=--xunit-xml-output llvm-test-output.xml --max-time 3600 --timeout 300']
Using fallback config option value llvm/build-type for llvm-amd64/build-type -> 'Release'
Using fallback config option value llvm/cmake-options for llvm-amd64/cmake-options -> '"-DBUILD_SHARED_LIBS=OFF" "-DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF" "-DLLVM_STATIC_LINK_CXX_STDLIB=ON" "-DLLVM_LIT_ARGS=--xunit-xml-output llvm-test-output.xml --max-time 3600 --timeout 300"'
Warning: Config option llvm-amd64/cmake-options ("-DBUILD_SHARED_LIBS=OFF" "-DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF" "-DLLVM_STATIC_LINK_CXX_STDLIB=ON" "-DLLVM_LIT_ARGS=--xunit-xml-output llvm-test-output.xml --max-time 3600 --timeout 300") should be a list, got a string instead -> assuming the correct value is ['-DBUILD_SHARED_LIBS=OFF', '-DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF', '-DLLVM_STATIC_LINK_CXX_STDLIB=ON', '-DLLVM_LIT_ARGS=--xunit-xml-output llvm-test-output.xml --max-time 3600 --timeout 300']
Using fallback config option value llvm/build-type for llvm-riscv64-purecap/build-type -> 'Release'
Using fallback config option value llvm/cmake-options for llvm-riscv64-purecap/cmake-options -> '"-DBUILD_SHARED_LIBS=OFF" "-DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF" "-DLLVM_STATIC_LINK_CXX_STDLIB=ON" "-DLLVM_LIT_ARGS=--xunit-xml-output llvm-test-output.xml --max-time 3600 --timeout 300"'
Warning: Config option llvm-riscv64-purecap/cmake-options ("-DBUILD_SHARED_LIBS=OFF" "-DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF" "-DLLVM_STATIC_LINK_CXX_STDLIB=ON" "-DLLVM_LIT_ARGS=--xunit-xml-output llvm-test-output.xml --max-time 3600 --timeout 300") should be a list, got a string instead -> assuming the correct value is ['-DBUILD_SHARED_LIBS=OFF', '-DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF', '-DLLVM_STATIC_LINK_CXX_STDLIB=ON', '-DLLVM_LIT_ARGS=--xunit-xml-output llvm-test-output.xml --max-time 3600 --timeout 300']
Using fallback config option value llvm/build-type for llvm-morello-purecap/build-type -> 'Release'
Using fallback config option value llvm/cmake-options for llvm-morello-purecap/cmake-options -> '"-DBUILD_SHARED_LIBS=OFF" "-DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF" "-DLLVM_STATIC_LINK_CXX_STDLIB=ON" "-DLLVM_LIT_ARGS=--xunit-xml-output llvm-test-output.xml --max-time 3600 --timeout 300"'
Warning: Config option llvm-morello-purecap/cmake-options ("-DBUILD_SHARED_LIBS=OFF" "-DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF" "-DLLVM_STATIC_LINK_CXX_STDLIB=ON" "-DLLVM_LIT_ARGS=--xunit-xml-output llvm-test-output.xml --max-time 3600 --timeout 300") should be a list, got a string instead -> assuming the correct value is ['-DBUILD_SHARED_LIBS=OFF', '-DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF', '-DLLVM_STATIC_LINK_CXX_STDLIB=ON', '-DLLVM_LIT_ARGS=--xunit-xml-output llvm-test-output.xml --max-time 3600 --timeout 300']
Using fallback config option value llvm/build-type for llvm-morello-hybrid-for-purecap-rootfs/build-type -> 'Release'
Using fallback config option value llvm/cmake-options for llvm-morello-hybrid-for-purecap-rootfs/cmake-options -> '"-DBUILD_SHARED_LIBS=OFF" "-DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF" "-DLLVM_STATIC_LINK_CXX_STDLIB=ON" "-DLLVM_LIT_ARGS=--xunit-xml-output llvm-test-output.xml --max-time 3600 --timeout 300"'
Warning: Config option llvm-morello-hybrid-for-purecap-rootfs/cmake-options ("-DBUILD_SHARED_LIBS=OFF" "-DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF" "-DLLVM_STATIC_LINK_CXX_STDLIB=ON" "-DLLVM_LIT_ARGS=--xunit-xml-output llvm-test-output.xml --max-time 3600 --timeout 300") should be a list, got a string instead -> assuming the correct value is ['-DBUILD_SHARED_LIBS=OFF', '-DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF', '-DLLVM_STATIC_LINK_CXX_STDLIB=ON', '-DLLVM_LIT_ARGS=--xunit-xml-output llvm-test-output.xml --max-time 3600 --timeout 300']
Using fallback config option value llvm/build-type for llvm-riscv64-hybrid-for-purecap-rootfs/build-type -> 'Release'
Using fallback config option value llvm/cmake-options for llvm-riscv64-hybrid-for-purecap-rootfs/cmake-options -> '"-DBUILD_SHARED_LIBS=OFF" "-DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF" "-DLLVM_STATIC_LINK_CXX_STDLIB=ON" "-DLLVM_LIT_ARGS=--xunit-xml-output llvm-test-output.xml --max-time 3600 --timeout 300"'
Warning: Config option llvm-riscv64-hybrid-for-purecap-rootfs/cmake-options ("-DBUILD_SHARED_LIBS=OFF" "-DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF" "-DLLVM_STATIC_LINK_CXX_STDLIB=ON" "-DLLVM_LIT_ARGS=--xunit-xml-output llvm-test-output.xml --max-time 3600 --timeout 300") should be a list, got a string instead -> assuming the correct value is ['-DBUILD_SHARED_LIBS=OFF', '-DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF', '-DLLVM_STATIC_LINK_CXX_STDLIB=ON', '-DLLVM_LIT_ARGS=--xunit-xml-output llvm-test-output.xml --max-time 3600 --timeout 300']
Using fallback config option value llvm/build-type for llvm-native/build-type -> 'Release'
Using fallback config option value llvm/cmake-options for llvm-native/cmake-options -> '"-DBUILD_SHARED_LIBS=OFF" "-DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF" "-DLLVM_STATIC_LINK_CXX_STDLIB=ON" "-DLLVM_LIT_ARGS=--xunit-xml-output llvm-test-output.xml --max-time 3600 --timeout 300"'
Warning: Config option llvm-native/cmake-options ("-DBUILD_SHARED_LIBS=OFF" "-DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF" "-DLLVM_STATIC_LINK_CXX_STDLIB=ON" "-DLLVM_LIT_ARGS=--xunit-xml-output llvm-test-output.xml --max-time 3600 --timeout 300") should be a list, got a string instead -> assuming the correct value is ['-DBUILD_SHARED_LIBS=OFF', '-DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF', '-DLLVM_STATIC_LINK_CXX_STDLIB=ON', '-DLLVM_LIT_ARGS=--xunit-xml-output llvm-test-output.xml --max-time 3600 --timeout 300']
/usr/lib/llvm-10/bin/clang is clang version (10, 0, 0) with default target x86_64-pc-linux-gnu
export PATH=/local/scratch/jenkins/workspace/CLANG-LLVM-linux_PR-724/bootstrap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
pkg-config --modversion zlib
llvm-native INSTALLDIR=/local/scratch/jenkins/workspace/CLANG-LLVM-linux_PR-724/tarball INSTALL_PREFIX=/local/scratch/jenkins/workspace/CLANG-LLVM-linux_PR-724/tarball DESTDIR=/
/usr/local/bin/cmake --version
/usr/bin/clang -fuse-ld=lld -xc -o /dev/null -
/usr/bin/clang does not support -fuse-ld=lld, using slower bfd instead
Not using default value of '--max-time 3600 --timeout 300 -s -vv' for configure option 'LLVM_LIT_ARGS' since it is explicitly overwritten in the configuration
mkdir -p /local/scratch/jenkins/workspace/CLANG-LLVM-linux_PR-724/tarball
export PATH=/local/scratch/jenkins/workspace/CLANG-LLVM-linux_PR-724/bootstrap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
export CLANG_FORCE_COLOR_DIAGNOSTICS=always
llvm-native directories: source=/local/scratch/jenkins/workspace/CLANG-LLVM-linux_PR-724/llvm-project build=/local/scratch/jenkins/workspace/CLANG-LLVM-linux_PR-724/llvm-project-build install=/local/scratch/jenkins/workspace/CLANG-LLVM-linux_PR-724/tarball
You are about to do a clean LLVM build. This may take a long time. Are you sure? [Y]/n y
mkdir -p /local/scratch/jenkins/workspace/CLANG-LLVM-linux_PR-724/llvm-project-build
Configuring llvm-native (-native) ...
rm -f /local/scratch/jenkins/workspace/CLANG-LLVM-linux_PR-724/llvm-project-build/CMakeCache.txt
cd /local/scratch/jenkins/workspace/CLANG-LLVM-linux_PR-724/llvm-project-build && env PKG_CONFIG_PATH=/local/scratch/jenkins/workspace/CLANG-LLVM-linux_PR-724/bootstrap/lib/x86_64-linux-gnu/pkgconfig:/local/scratch/jenkins/workspace/CLANG-LLVM-linux_PR-724/bootstrap/share/pkgconfig:/local/scratch/jenkins/workspace/CLANG-LLVM-linux_PR-724/bootstrap/libdata/pkgconfig:/local/scratch/jenkins/workspace/CLANG-LLVM-linux_PR-724/bootstrap/lib/pkgconfig: /usr/local/bin/cmake -GNinja -S /local/scratch/jenkins/workspace/CLANG-LLVM-linux_PR-724/llvm-project/llvm -B /local/scratch/jenkins/workspace/CLANG-LLVM-linux_PR-724/llvm-project-build -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/local/scratch/jenkins/workspace/CLANG-LLVM-linux_PR-724/bootstrap -DCMAKE_INSTALL_PREFIX=/local/scratch/jenkins/workspace/CLANG-LLVM-linux_PR-724/tarball -DCMAKE_BUILD_RPATH_USE_ORIGIN=TRUE -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE '-DCMAKE_INSTALL_RPATH=$ORIGIN/../lib' -DLLVM_PARALLEL_LINK_JOBS=16 -DLLVM_CCACHE_BUILD=FALSE -DPYTHON_EXECUTABLE=/usr/bin/python3 -DPython3_EXECUTABLE=/usr/bin/python3 -DLLVM_INSTALL_BINUTILS_SYMLINKS=TRUE -DLLVM_ENABLE_LIBXML2=FALSE -DLLVM_ENABLE_ZLIB=FORCE_ON -DLLVM_INSTALL_TOOLCHAIN_ONLY=TRUE -DLLVM_OPTIMIZED_TABLEGEN=FALSE -DLLVM_USE_SPLIT_DWARF=TRUE -DLLVM_ENABLE_ASSERTIONS=TRUE '-DLLVM_ENABLE_PROJECTS=llvm;clang;lld' -DCLANG_ROUND_TRIP_CC1_ARGS=FALSE -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DCMAKE_ASM_COMPILER=/usr/bin/clang -DBUILD_SHARED_LIBS=OFF -DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF -DLLVM_STATIC_LINK_CXX_STDLIB=ON '-DLLVM_LIT_ARGS=--xunit-xml-output llvm-test-output.xml --max-time 3600 --timeout 300'
CMake Error at CMakeLists.txt:3 (cmake_minimum_required):
CMake 3.20.0 or higher is required. You are running version 3.16.2
-- Configuring incomplete, errors occurred!
Using fallback config option value llvm/build-everything for llvm-native/build-everything -> True
Using fallback config option value llvm/install-toolchain-only for llvm-native/install-toolchain-only -> True
Using fallback config option value llvm/assertions for llvm-native/assertions -> True
Fatal error (in target llvm-native): Command `/usr/local/bin/cmake -GNinja -S /local/scratch/jenkins/workspace/CLANG-LLVM-linux_PR-724/llvm-project/llvm -B /local/scratch/jenkins/workspace/CLANG-LLVM-linux_PR-724/llvm-project-build -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/local/scratch/jenkins/workspace/CLANG-LLVM-linux_PR-724/bootstrap -DCMAKE_INSTALL_PREFIX=/local/scratch/jenkins/workspace/CLANG-LLVM-linux_PR-724/tarball -DCMAKE_BUILD_RPATH_USE_ORIGIN=TRUE -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE '-DCMAKE_INSTALL_RPATH=$ORIGIN/../lib' -DLLVM_PARALLEL_LINK_JOBS=16 -DLLVM_CCACHE_BUILD=FALSE -DPYTHON_EXECUTABLE=/usr/bin/python3 -DPython3_EXECUTABLE=/usr/bin/python3 -DLLVM_INSTALL_BINUTILS_SYMLINKS=TRUE -DLLVM_ENABLE_LIBXML2=FALSE -DLLVM_ENABLE_ZLIB=FORCE_ON -DLLVM_INSTALL_TOOLCHAIN_ONLY=TRUE -DLLVM_OPTIMIZED_TABLEGEN=FALSE -DLLVM_USE_SPLIT_DWARF=TRUE -DLLVM_ENABLE_ASSERTIONS=TRUE '-DLLVM_ENABLE_PROJECTS=llvm;clang;lld' -DCLANG_ROUND_TRIP_CC1_ARGS=FALSE -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DCMAKE_ASM_COMPILER=/usr/bin/clang -DBUILD_SHARED_LIBS=OFF -DLLVM_ENABLE_EXPENSIVE_CHECKS=OFF -DLLVM_STATIC_LINK_CXX_STDLIB=ON '-DLLVM_LIT_ARGS=--xunit-xml-output llvm-test-output.xml --max-time 3600 --timeout 300'` failed with non-zero exit code 1
Details
- Set job properties (1.5 sec)
- Checkout (43 sec)
- Copying required artifacts (2.7 sec)
- Build llvm-native (6.1 sec)
Error: script returned exit code 1
- Build llvm-native (6.1 sec)
Loading