ppc64 fails with "Objects of target "RTInterception.powerpc" referenced but no such target exists"
- Dominant language
- LLVM
- Stars
- 40.5k
- Forks
- 18.7k
- PR merge metrics
- PR metrics pending
Description
From the [Debian build log for LLVM 23](https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-23&arch=ppc64&ver=1%3A23.1.0-2&stamp=1787863301&raw=0):
```
-- Looking for sinf128 in m - not found
-- Configuring done (40.0s)
CMake Error at /build/reproducible-path/llvm-toolchain-23-23.1.0/compiler-rt/cmake/Modules/AddCompilerRT.cmake:365 (add_library):
Error evaluating generator expression:
$
Objects of target "RTInterception.powerpc" referenced but no such target
exists.
Call Stack (most recent call first):
/build/reproducible-path/llvm-toolchain-23-23.1.0/compiler-rt/lib/profile/CMakeLists.txt:283 (add_compiler_rt_runtime)
CMake Error at /build/reproducible-path/llvm-toolchain-23-23.1.0/compiler-rt/cmake/Modules/AddCompilerRT.cmake:365 (add_library):
Error evaluating generator expression:
$
Objects of target "RTInterception.powerpc" referenced but no such target
exists.
Call Stack (most recent call first):
/build/reproducible-path/llvm-toolchain-23-23.1.0/compiler-rt/lib/profile/CMakeLists.txt:283 (add_compiler_rt_runtime)
CMake Error at /build/reproducible-path/llvm-toolchain-23-23.1.0/compiler-rt/cmake/Modules/AddCompilerRT.cmake:365 (add_library):
Error evaluating generator expression:
$
Objects of target "RTInterception.powerpc" referenced but no such target
exists.
Call Stack (most recent call first):
/build/reproducible-path/llvm-toolchain-23-23.1.0/compiler-rt/lib/profile/CMakeLists.txt:283 (add_compiler_rt_runtime)
CMake Error at /build/reproducible-path/llvm-toolchain-23-23.1.0/compiler-rt/cmake/Modules/AddCompilerRT.cmake:365 (add_library):
No SOURCES given to target: clang_rt.profile_rocm-powerpc
Call Stack (most recent call first):
/build/reproducible-path/llvm-toolchain-23-23.1.0/compiler-rt/lib/profile/CMakeLists.txt:283 (add_compiler_rt_runtime)
CMake Generate step failed. Build files cannot be regenerated correctly.
FAILED: [code=1] runtimes/runtimes-stamps/runtimes-configure /build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/runtimes/runtimes-stamps/runtimes-configure
cd /build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/runtimes/runtimes-bins && /usr/bin/cmake "-DCMAKE_C_FLAGS=-Werror=implicit-function-declaration -fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2" "-DCMAKE_CXX_FLAGS=-fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2" "-DCMAKE_EXE_LINKER_FLAGS=-Wl,-z,relro -Wl,--build-id" "-DCMAKE_SHARED_LINKER_FLAGS=-Wl,-z,relro -Wl,--build-id" "-DCMAKE_MODULE_LINKER_FLAGS=-Wl,-z,relro -Wl,--build-id" -DCMAKE_BUILD_TYPE=Release -DCMAKE_Fortran_FLAGS=-D_FORTIFY_SOURCE=2 -DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF -DLLVM_EXTERNAL_COMPILER_RT_SOURCE_DIR=/build/reproducible-path/llvm-toolchain-23-23.1.0/llvm/runtimes/../../compiler-rt -DLLVM_EXTERNAL_LIBCXX_SOURCE_DIR=/build/reproducible-path/llvm-toolchain-23-23.1.0/llvm/runtimes/../../libcxx -DLLVM_EXTERNAL_LIBCXXABI_SOURCE_DIR=/build/reproducible-path/llvm-toolchain-23-23.1.0/llvm/runtimes/../../libcxxabi -DLLVM_EXTERNAL_FLANG_RT_SOURCE_DIR=/build/reproducible-path/llvm-toolchain-23-23.1.0/llvm/runtimes/../../flang-rt -DLLVM_EXTERNAL_LIBUNWIND_SOURCE_DIR=/build/reproducible-path/llvm-toolchain-23-23.1.0/llvm/runtimes/../../libunwind -DLLVM_EXTERNAL_OPENMP_SOURCE_DIR=/build/reproducible-path/llvm-toolchain-23-23.1.0/llvm/runtimes/../../openmp --no-warn-unused-cli -DCMAKE_C_COMPILER=/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/./bin/clang -DCMAKE_CXX_COMPILER=/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/./bin/clang++ -DCMAKE_ASM_COMPILER=/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/./bin/clang -DCMAKE_Fortran_COMPILER=/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/./bin/flang -DCMAKE_LINKER=/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/./bin/ld.lld -DCMAKE_AR=/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/./bin/llvm-ar -DCMAKE_RANLIB=/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/./bin/llvm-ranlib -DCMAKE_NM=/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/./bin/llvm-nm -DCMAKE_OBJDUMP=/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/./bin/llvm-objdump -DCMAKE_OBJCOPY=/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/./bin/llvm-objcopy -DCMAKE_STRIP=/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/./bin/llvm-strip -DCMAKE_READELF=/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/./bin/llvm-readelf -DCMAKE_C_COMPILER_TARGET=powerpc64-unknown-linux-gnu -DCMAKE_CXX_COMPILER_TARGET=powerpc64-unknown-linux-gnu -DCMAKE_Fortran_COMPILER_TARGET=powerpc64-unknown-linux-gnu -DCMAKE_ASM_COMPILER_TARGET=powerpc64-unknown-linux-gnu -DCMAKE_INSTALL_PREFIX=/usr/lib/llvm-23 -DLLVM_BINARY_DIR=/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm -DLLVM_CONFIG_PATH=/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/bin/llvm-config -DLLVM_ENABLE_WERROR=OFF -DLLVM_HOST_TRIPLE=powerpc64-unknown-linux-gnu -DLLVM_HAVE_LINK_VERSION_SCRIPT=1 -DLLVM_USE_RELATIVE_PATHS_IN_DEBUG_INFO=ON -DLLVM_USE_RELATIVE_PATHS_IN_FILES=ON -DLLVM_LIT_ARGS=-sv -DLLVM_SOURCE_PREFIX= -DPACKAGE_VERSION=23.1.0 -DCMAKE_BUILD_TYPE=Release -DCMAKE_MAKE_PROGRAM=/usr/bin/ninja -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DCOMPILER_RT_BUILD_BUILTINS=Off -DLLVM_INCLUDE_TESTS=ON -DLLVM_DEFAULT_TARGET_TRIPLE=powerpc64-unknown-linux-gnu -DLLVM_ENABLE_PROJECTS_USED=ON -DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF -DLLVM_BUILD_TOOLS=ON -DLLVM_ENABLE_DOXYGEN=OFF -DCMAKE_C_COMPILER_WORKS=ON -DCMAKE_CXX_COMPILER_WORKS=ON -DCMAKE_Fortran_COMPILER_WORKS=ON -DCMAKE_ASM_COMPILER_WORKS=ON -DHAVE_LLVM_LIT=ON -DCLANG_RESOURCE_DIR= -DLLVM_LIBDIR_SUFFIX= "-DCMAKE_C_FLAGS=-Werror=implicit-function-declaration -fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2" "-DCMAKE_CXX_FLAGS=-fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2" "-DCMAKE_EXE_LINKER_FLAGS=-Wl,-z,relro -Wl,--build-id" "-DCMAKE_SHARED_LINKER_FLAGS=-Wl,-z,relro -Wl,--build-id" "-DCMAKE_MODULE_LINKER_FLAGS=-Wl,-z,relro -Wl,--build-id" -DCMAKE_BUILD_TYPE=Release -DCMAKE_Fortran_FLAGS=-D_FORTIFY_SOURCE=2 -DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF -DLLVM_EXTERNAL_COMPILER_RT_SOURCE_DIR=/build/reproducible-path/llvm-toolchain-23-23.1.0/llvm/runtimes/../../compiler-rt -DLLVM_EXTERNAL_LIBCXX_SOURCE_DIR=/build/reproducible-path/llvm-toolchain-23-23.1.0/llvm/runtimes/../../libcxx -DLLVM_EXTERNAL_LIBCXXABI_SOURCE_DIR=/build/reproducible-path/llvm-toolchain-23-23.1.0/llvm/runtimes/../../libcxxabi -DLLVM_EXTERNAL_FLANG_RT_SOURCE_DIR=/build/reproducible-path/llvm-toolchain-23-23.1.0/llvm/runtimes/../../flang-rt -DLLVM_EXTERNAL_LIBUNWIND_SOURCE_DIR=/build/reproducible-path/llvm-toolchain-23-23.1.0/llvm/runtimes/../../libunwind -DLLVM_EXTERNAL_OPENMP_SOURCE_DIR=/build/reproducible-path/llvm-toolchain-23-23.1.0/llvm/runtimes/../../openmp -DFORTRAN_SUPPORTS_REAL16=0 -DCOMPILER_RT_TEST_EXTERNAL_BUILTINS=ON "-DLLVM_ENABLE_RUNTIMES=compiler-rt;libcxx;libcxxabi;flang-rt;libunwind;openmp" -DFLANG_RUNTIME_F128_MATH_LIB= -DCOMPILER_RT_BUILD_XRAY=OFF -DCOMPILER_RT_INCLUDE_TESTS=OFF -DCOMPILER_RT_USE_BUILTINS_LIBRARY=ON -DCOMPILER_RT_USE_LIBCXX=OFF -DLIBCXXABI_ENABLE_EXCEPTIONS=ON -DLIBCXXABI_INSTALL_LIBRARY=OFF -DLIBCXXABI_USE_COMPILER_RT=ON -DLIBCXXABI_USE_LLVM_UNWINDER=OFF -DLIBCXX_ENABLE_EXCEPTIONS=ON -DLIBCXX_ENABLE_STATIC_ABI_LIBRARY=ON -DLIBCXX_INSTALL_LIBRARY=OFF -DLIBCXX_INSTALL_MODULES=ON -DLIBCXX_STATICALLY_LINK_ABI_IN_SHARED_LIBRARY=OFF -DLIBCXX_STATICALLY_LINK_ABI_IN_STATIC_LIBRARY=ON -DLIBCXX_USE_COMPILER_RT=ON -DLIBCXXABI_ENABLE_EXCEPTIONS=ON -DLIBCXXABI_INSTALL_LIBRARY=OFF -DLIBCXXABI_USE_COMPILER_RT=ON -DLIBCXXABI_USE_LLVM_UNWINDER=OFF -DLIBUNWIND_INSTALL_LIBRARY=OFF -DOPENMP_ENABLE_LIBOMPTARGET_PROFILING=OFF -DOPENMP_ENABLE_LIBOMP_PROFILING=OFF -DLIBOMP_ENABLE_ARM64X=OFF -DLIBOMP_ENABLE_RTTI=OFF -DLIBOMP_LIBFLAGS=-lm -DLIBOMP_OMPT_SUPPORT=OFF -DRUNTIMES_BUILD_BUILTINS=ON "-DRUNTIMES_CMAKE_ARGS=-DCMAKE_C_FLAGS=-Werror=implicit-function-declaration -fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2;-DCMAKE_CXX_FLAGS=-fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2;-DCMAKE_EXE_LINKER_FLAGS=-Wl,-z,relro -Wl,--build-id;-DCMAKE_SHARED_LINKER_FLAGS=-Wl,-z,relro -Wl,--build-id;-DCMAKE_MODULE_LINKER_FLAGS=-Wl,-z,relro -Wl,--build-id;-DCMAKE_BUILD_TYPE=Release;-DCMAKE_Fortran_FLAGS=-D_FORTIFY_SOURCE=2;-DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF;-DLLVM_EXTERNAL_COMPILER_RT_SOURCE_DIR=/build/reproducible-path/llvm-toolchain-23-23.1.0/llvm/runtimes/../../compiler-rt;-DLLVM_EXTERNAL_LIBCXX_SOURCE_DIR=/build/reproducible-path/llvm-toolchain-23-23.1.0/llvm/runtimes/../../libcxx;-DLLVM_EXTERNAL_LIBCXXABI_SOURCE_DIR=/build/reproducible-path/llvm-toolchain-23-23.1.0/llvm/runtimes/../../libcxxabi;-DLLVM_EXTERNAL_FLANG_RT_SOURCE_DIR=/build/reproducible-path/llvm-toolchain-23-23.1.0/llvm/runtimes/../../flang-rt;-DLLVM_EXTERNAL_LIBUNWIND_SOURCE_DIR=/build/reproducible-path/llvm-toolchain-23-23.1.0/llvm/runtimes/../../libunwind;-DLLVM_EXTERNAL_OPENMP_SOURCE_DIR=/build/reproducible-path/llvm-toolchain-23-23.1.0/llvm/runtimes/../../openmp" "-DRUNTIMES_CMAKE_ARGS=-DCMAKE_C_FLAGS=-Werror=implicit-function-declaration -fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2;-DCMAKE_CXX_FLAGS=-fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2;-DCMAKE_EXE_LINKER_FLAGS=-Wl,-z,relro -Wl,--build-id;-DCMAKE_SHARED_LINKER_FLAGS=-Wl,-z,relro -Wl,--build-id;-DCMAKE_MODULE_LINKER_FLAGS=-Wl,-z,relro -Wl,--build-id;-DCMAKE_BUILD_TYPE=Release;-DCMAKE_Fortran_FLAGS=-D_FORTIFY_SOURCE=2;-DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF;-DLLVM_EXTERNAL_COMPILER_RT_SOURCE_DIR=/build/reproducible-path/llvm-toolchain-23-23.1.0/llvm/runtimes/../../compiler-rt;-DLLVM_EXTERNAL_LIBCXX_SOURCE_DIR=/build/reproducible-path/llvm-toolchain-23-23.1.0/llvm/runtimes/../../libcxx;-DLLVM_EXTERNAL_LIBCXXABI_SOURCE_DIR=/build/reproducible-path/llvm-toolchain-23-23.1.0/llvm/runtimes/../../libcxxabi;-DLLVM_EXTERNAL_FLANG_RT_SOURCE_DIR=/build/reproducible-path/llvm-toolchain-23-23.1.0/llvm/runtimes/../../flang-rt;-DLLVM_EXTERNAL_LIBUNWIND_SOURCE_DIR=/build/reproducible-path/llvm-toolchain-23-23.1.0/llvm/runtimes/../../libunwind;-DLLVM_EXTERNAL_OPENMP_SOURCE_DIR=/build/reproducible-path/llvm-toolchain-23-23.1.0/llvm/runtimes/../../openmp" -GNinja -C/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/projects/runtimes/tmp/runtimes-cache-Release.cmake -S /build/reproducible-path/llvm-toolchain-23-23.1.0/llvm/runtimes/../../runtimes -B /build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/runtimes/runtimes-bins && /usr/bin/cmake -E touch /build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/runtimes/runtimes-stamps/runtimes-configure
[6517/6542] /usr/bin/g++ -DFLANG_INCLUDE_TESTS=1 -DFLANG_VENDOR="\"Debian \"" -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/tools/flang/lib/Lower -I/build/reproducible-path/llvm-toolchain-23-23.1.0/flang/lib/Lower -I/build/reproducible-path/llvm-toolchain-23-23.1.0/flang/include -I/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/tools/flang/include -I/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/include -I/build/reproducible-path/llvm-toolchain-23-23.1.0/llvm/include -isystem /build/reproducible-path/llvm-toolchain-23-23.1.0/flang/../mlir/include -isystem /build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/tools/mlir/include -isystem /build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/tools/clang/include -isystem /build/reproducible-path/llvm-toolchain-23-23.1.0/llvm/../clang/include -fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-dangling-pointer -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fdebug-prefix-map=/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm=../ -fdebug-prefix-map=/build/reproducible-path/llvm-toolchain-23-23.1.0/= -no-canonical-prefixes -ffile-prefix-map=/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm=../ -ffile-prefix-map=/build/reproducible-path/llvm-toolchain-23-23.1.0/= -no-canonical-prefixes -Wno-deprecated-copy -Wno-ctad-maybe-unsupported -fno-semantic-interposition -O3 -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/OpenMP.cpp.o -MF tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/OpenMP.cpp.o.d -o tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/OpenMP.cpp.o -c /build/reproducible-path/llvm-toolchain-23-23.1.0/flang/lib/Lower/OpenMP/OpenMP.cpp
[6518/6542] /usr/bin/g++ -DFLANG_INCLUDE_TESTS=1 -DFLANG_VENDOR="\"Debian \"" -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/tools/flang/lib/FrontendTool -I/build/reproducible-path/llvm-toolchain-23-23.1.0/flang/lib/FrontendTool -I/build/reproducible-path/llvm-toolchain-23-23.1.0/flang/include -I/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/tools/flang/include -I/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/include -I/build/reproducible-path/llvm-toolchain-23-23.1.0/llvm/include -isystem /build/reproducible-path/llvm-toolchain-23-23.1.0/flang/../mlir/include -isystem /build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/tools/mlir/include -isystem /build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/tools/clang/include -isystem /build/reproducible-path/llvm-toolchain-23-23.1.0/llvm/../clang/include -fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-dangling-pointer -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fdebug-prefix-map=/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm=../ -fdebug-prefix-map=/build/reproducible-path/llvm-toolchain-23-23.1.0/= -no-canonical-prefixes -ffile-prefix-map=/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm=../ -ffile-prefix-map=/build/reproducible-path/llvm-toolchain-23-23.1.0/= -no-canonical-prefixes -Wno-deprecated-copy -Wno-ctad-maybe-unsupported -fno-semantic-interposition -O3 -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/flang/lib/FrontendTool/CMakeFiles/flangFrontendTool.dir/ExecuteCompilerInvocation.cpp.o -MF tools/flang/lib/FrontendTool/CMakeFiles/flangFrontendTool.dir/ExecuteCompilerInvocation.cpp.o.d -o tools/flang/lib/FrontendTool/CMakeFiles/flangFrontendTool.dir/ExecuteCompilerInvocation.cpp.o -c /build/reproducible-path/llvm-toolchain-23-23.1.0/flang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
[6519/6542] /usr/bin/g++ -DFLANG_INCLUDE_TESTS=1 -DFLANG_VENDOR="\"Debian \"" -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/tools/flang/lib/Lower -I/build/reproducible-path/llvm-toolchain-23-23.1.0/flang/lib/Lower -I/build/reproducible-path/llvm-toolchain-23-23.1.0/flang/include -I/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/tools/flang/include -I/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/include -I/build/reproducible-path/llvm-toolchain-23-23.1.0/llvm/include -isystem /build/reproducible-path/llvm-toolchain-23-23.1.0/flang/../mlir/include -isystem /build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/tools/mlir/include -isystem /build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/tools/clang/include -isystem /build/reproducible-path/llvm-toolchain-23-23.1.0/llvm/../clang/include -fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-dangling-pointer -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fdebug-prefix-map=/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm=../ -fdebug-prefix-map=/build/reproducible-path/llvm-toolchain-23-23.1.0/= -no-canonical-prefixes -ffile-prefix-map=/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm=../ -ffile-prefix-map=/build/reproducible-path/llvm-toolchain-23-23.1.0/= -no-canonical-prefixes -Wno-deprecated-copy -Wno-ctad-maybe-unsupported -fno-semantic-interposition -O3 -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/DataSharingProcessor.cpp.o -MF tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/DataSharingProcessor.cpp.o.d -o tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/DataSharingProcessor.cpp.o -c /build/reproducible-path/llvm-toolchain-23-23.1.0/flang/lib/Lower/OpenMP/DataSharingProcessor.cpp
[6520/6542] /usr/bin/g++ -DFLANG_INCLUDE_TESTS=1 -DFLANG_VENDOR="\"Debian \"" -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/tools/flang/lib/Frontend -I/build/reproducible-path/llvm-toolchain-23-23.1.0/flang/lib/Frontend -I/build/reproducible-path/llvm-toolchain-23-23.1.0/flang/include -I/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/tools/flang/include -I/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/include -I/build/reproducible-path/llvm-toolchain-23-23.1.0/llvm/include -isystem /build/reproducible-path/llvm-toolchain-23-23.1.0/flang/../mlir/include -isystem /build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/tools/mlir/include -isystem /build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/tools/clang/include -isystem /build/reproducible-path/llvm-toolchain-23-23.1.0/llvm/../clang/include -fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-dangling-pointer -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fdebug-prefix-map=/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm=../ -fdebug-prefix-map=/build/reproducible-path/llvm-toolchain-23-23.1.0/= -no-canonical-prefixes -ffile-prefix-map=/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm=../ -ffile-prefix-map=/build/reproducible-path/llvm-toolchain-23-23.1.0/= -no-canonical-prefixes -Wno-deprecated-copy -Wno-ctad-maybe-unsupported -fno-semantic-interposition -O3 -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/flang/lib/Frontend/CMakeFiles/flangFrontend.dir/FrontendActions.cpp.o -MF tools/flang/lib/Frontend/CMakeFiles/flangFrontend.dir/FrontendActions.cpp.o.d -o tools/flang/lib/Frontend/CMakeFiles/flangFrontend.dir/FrontendActions.cpp.o -c /build/reproducible-path/llvm-toolchain-23-23.1.0/flang/lib/Frontend/FrontendActions.cpp
[6521/6542] /usr/bin/g++ -DFLANG_INCLUDE_TESTS=1 -DFLANG_VENDOR="\"Debian \"" -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/tools/flang/lib/Lower -I/build/reproducible-path/llvm-toolchain-23-23.1.0/flang/lib/Lower -I/build/reproducible-path/llvm-toolchain-23-23.1.0/flang/include -I/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/tools/flang/include -I/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/include -I/build/reproducible-path/llvm-toolchain-23-23.1.0/llvm/include -isystem /build/reproducible-path/llvm-toolchain-23-23.1.0/flang/../mlir/include -isystem /build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/tools/mlir/include -isystem /build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/tools/clang/include -isystem /build/reproducible-path/llvm-toolchain-23-23.1.0/llvm/../clang/include -fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-dangling-pointer -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fdebug-prefix-map=/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm=../ -fdebug-prefix-map=/build/reproducible-path/llvm-toolchain-23-23.1.0/= -no-canonical-prefixes -ffile-prefix-map=/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm=../ -ffile-prefix-map=/build/reproducible-path/llvm-toolchain-23-23.1.0/= -no-canonical-prefixes -Wno-deprecated-copy -Wno-ctad-maybe-unsupported -fno-semantic-interposition -O3 -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/Decomposer.cpp.o -MF tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/Decomposer.cpp.o.d -o tools/flang/lib/Lower/CMakeFiles/FortranLower.dir/OpenMP/Decomposer.cpp.o -c /build/reproducible-path/llvm-toolchain-23-23.1.0/flang/lib/Lower/OpenMP/Decomposer.cpp
[6522/6542] /usr/bin/g++ -DFLANG_INCLUDE_TESTS=1 -DFLANG_VENDOR="\"Debian \"" -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/tools/flang/lib/Frontend -I/build/reproducible-path/llvm-toolchain-23-23.1.0/flang/lib/Frontend -I/build/reproducible-path/llvm-toolchain-23-23.1.0/flang/include -I/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/tools/flang/include -I/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/include -I/build/reproducible-path/llvm-toolchain-23-23.1.0/llvm/include -isystem /build/reproducible-path/llvm-toolchain-23-23.1.0/flang/../mlir/include -isystem /build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/tools/mlir/include -isystem /build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm/tools/clang/include -isystem /build/reproducible-path/llvm-toolchain-23-23.1.0/llvm/../clang/include -fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-dangling-pointer -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fdebug-prefix-map=/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm=../ -fdebug-prefix-map=/build/reproducible-path/llvm-toolchain-23-23.1.0/= -no-canonical-prefixes -ffile-prefix-map=/build/reproducible-path/llvm-toolchain-23-23.1.0/build-llvm=../ -ffile-prefix-map=/build/reproducible-path/llvm-toolchain-23-23.1.0/= -no-canonical-prefixes -Wno-deprecated-copy -Wno-ctad-maybe-unsupported -fno-semantic-interposition -O3 -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/flang/lib/Frontend/CMakeFiles/flangFrontend.dir/ParserActions.cpp.o -MF tools/flang/lib/Frontend/CMakeFiles/flangFrontend.dir/ParserActions.cpp.o.d -o tools/flang/lib/Frontend/CMakeFiles/flangFrontend.dir/ParserActions.cpp.o -c /build/reproducible-path/llvm-toolchain-23-23.1.0/flang/lib/Frontend/ParserActions.cpp
ninja: build stopped: subcommand failed.
Command exited with non-zero status 1
Command being timed: "cmake --build build-llvm --target stage2"
User time (seconds): 55758.31
System time (seconds): 881.06
Percent of CPU this job got: 754%
Elapsed (wall clock) time (h:mm:ss or m:ss): 2:05:03
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 7382976
Average resident set size (kbytes): 0
Major (requiring I/O) page faults: 1875921
Minor (reclaiming a frame) page faults: 279952721
Voluntary context switches: 1980583
Involuntary context switches: 1422337
Swaps: 0
File system inputs: 24709056
File system outputs: 24981304
Socket messages sent: 0
Socket messages received: 0
Signals delivered: 0
Page size (bytes): 4096
Exit status: 1
```
Contributor guide
Research direction
Start with compiler-rt/cmake/Modules/AddCompilerRT.cmake at the reported add_library call and compiler-rt/lib/profile/CMakeLists.txt around line 283. Reproduce the runtimes CMake configuration for powerpc64 from the Debian build log, then verify that the RTInterception.powerpc reference resolves and clang_rt.profile_rocm-powerpc configures without the missing-target or no-sources errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake
- Domain
- build-system, compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 62/100