Bug#1129213: LLVM built with the wrong baseline for armhf
Matthias Klose <[email protected]>
| Newsgroups | gmane.linux.debian.ports.arm |
|---|---|
| Message-ID | <2dfe9a93-22a0-47ae-aaa3-7c99e97fff8d__11205.3500999295$1772215650$gmane$org@debian.org> |
Package: src:llvm-toolchain-21 Version: 1:21.1.8-3 Severity: serious Tags: sid forky X-Debbugs-CC: [email protected] seen while looking at build logs: --target=armv8l-unknown-linux-gnueabihf but Debian's baseline is armv7 based. [...] FAILED: [code=1] openmp/runtime/src/CMakeFiles/omp.dir/kmp_alloc.cpp.o /build/reproducible-path/llvm-toolchain-21-21.1.8/build-llvm/bin/clang++ --target=armv8l-unknown-linux-gnueabihf -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Domp_EXPORTS -I/build/reproducible-path/llvm-toolchain-21-21.1.8/build-llvm/runtimes/runtimes-bins/openmp/runtime/src -I/build/reproducible-path/llvm-toolchain-21-21.1.8/openmp/runtime/src -I/build/reproducible-path/llvm-toolchain-21-21.1.8/openmp/runtime/src/i18n -I/build/reproducible-path/llvm-toolchain-21-21.1.8/openmp/runtime/src/include -I/build/reproducible-path/llvm-toolchain-21-21.1.8/openmp/runtime/src/thirdparty/ittnotify -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-unused-command-line-argument -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fdebug-prefix-map=/build/reproducible-path/llvm-toolchain-21-21.1.8/build-llvm/runtimes/runtimes-bins=../../../ -fdebug-prefix-map=/build/reproducible-path/llvm-toolchain-21-21.1.8/= -no-canonical-prefixes -ffile-prefix-map=/build/reproducible-path/llvm-toolchain-21-21.1.8/build-llvm/runtimes/runtimes-bins=../../../ -ffile-prefix-map=/build/reproducible-path/llvm-toolchain-21-21.1.8/= -no-canonical-prefixes -Wall -fcolor-diagnostics -Wcast-qual -Wformat-pedantic -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -fno-semantic-interposition -fdata-sections -O3 -DNDEBUG -std=c++17 -fPIC -D _GNU_SOURCE -D _REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -U_GLIBCXX_ASSERTIONS -fno-exceptions -fno-rtti -Wno-covered-switch-default -Wno-frame-address -Wno-strict-aliasing -Wno-switch -Wno-uninitialized -Wno-return-type-c-linkage -Wno-cast-qual -Wno-int-to-void-pointer-cast -m32 -MD -MT openmp/runtime/src/CMakeFiles/omp.dir/kmp_alloc.cpp.o -MF openmp/runtime/src/CMakeFiles/omp.dir/kmp_alloc.cpp.o.d -o openmp/runtime/src/CMakeFiles/omp.dir/kmp_alloc.cpp.o -c /build/reproducible-path/llvm-toolchain-21-21.1.8/openmp/runtime/src/kmp_alloc.cpp In file included from /build/reproducible-path/llvm-toolchain-21-21.1.8/openmp/runtime/src/kmp_alloc.cpp:13: In file included from /build/reproducible-path/llvm-toolchain-21-21.1.8/openmp/runtime/src/kmp.h:17: In file included from /build/reproducible-path/llvm-toolchain-21-21.1.8/build-llvm/runtimes/runtimes-bins/openmp/runtime/src/kmp_config.h:14: /build/reproducible-path/llvm-toolchain-21-21.1.8/openmp/runtime/src/kmp_platform.h:295:2: error: Unknown or unsupported architecture 295 | #error Unknown or unsupported architecture | ^ In file included from /build/reproducible-path/llvm-toolchain-21-21.1.8/openmp/runtime/src/kmp_alloc.cpp:13: In file included from /build/reproducible-path/llvm-toolchain-21-21.1.8/openmp/runtime/src/kmp.h:92: /build/reproducible-path/llvm-toolchain-21-21.1.8/openmp/runtime/src/kmp_os.h:189:2: error: "Can't determine size_t printf format specifier." 189 | #error "Can't determine size_t printf format specifier." | ^ 2 errors generated. [2555/2914] /build/reproducible-path/llvm-toolchain-21-21.1.8/build-llvm/bin/clang++ --target=armv8l-unknown-linux-gnueabihf -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Domp_EXPORTS -I/build/reproducible-path/llvm-toolchain-21-21.1.8/build-llvm/runtimes/runtimes-bins/openmp/runtime/src -I/build/reproducible-path/llvm-toolchain-21-21.1.8/openmp/runtime/src -I/build/reproducible-path/llvm-toolchain-21-21.1.8/openmp/runtime/src/i18n -I/build/reproducible-path/llvm-toolchain-21-21.1.8/openmp/runtime/src/include -I/build/reproducible-path/llvm-toolchain-21-21.1.8/openmp/runtime/src/thirdparty/ittnotify -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wno-unused-command-line-argument -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fdebug-prefix-map=/build/reproducible-path/llvm-toolchain-21-21.1.8/build-llvm/runtimes/runtimes-bins=../../../ -fdebug-prefix-map=/build/reproducible-path/llvm-toolchain-21-21.1.8/= -no-canonical-prefixes -ffile-prefix-map=/build/reproducible-path/llvm-toolchain-21-21.1.8/build-llvm/runtimes/runtimes-bins=../../../ -ffile-prefix-map=/build/reproducible-path/llvm-toolchain-21-21.1.8/= -no-canonical-prefixes -Wall -fcolor-diagnostics -Wcast-qual -Wformat-pedantic -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -fno-semantic-interposition -fdata-sections -O3 -DNDEBUG -std=c++17 -fPIC -D _GNU_SOURCE -D _REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -U_GLIBCXX_ASSERTIONS -fno-exceptions -fno-rtti -Wno-covered-switch-default -Wno-frame-address -Wno-strict-aliasing -Wno-switch -Wno-uninitialized -Wno-return-type-c-linkage -Wno-cast-qual -Wno-int-to-void-pointer-cast -m32 -MD -MT openmp/runtime/src/CMakeFiles/omp.dir/kmp_atomic.cpp.o -MF openmp/runtime/src/CMakeFiles/omp.dir/kmp_atomic.cpp.o.d -o openmp/runtime/src/CMakeFiles/omp.dir/kmp_atomic.cpp.o -c /build/reproducible-path/llvm-toolchain-21-21.1.8/openmp/runtime/src/kmp_atomic.cpp FAILED: [code=1] openmp/runtime/src/CMakeFiles/omp.dir/kmp_atomic.cpp.o