Bug#1129949: llvm-toolchain-21: FTBFS on ppc64el on Trixie
Trupti
trupti at linux.ibm.com
Wed Mar 11 11:30:25 GMT 2026
Hi Fabin,
As a quick update, I was able to reproduce the issue on ppc64el with
Trixie. With below errors:
/build/reproducible-path/llvm-toolchain-21-21.1.8/cmake/Modules/../../libc/src/stdio/printf_core/float_hex_converter.h:43:30:
error: no member named 'is_neg' in
'__llvm_libc_common_utils::fputil::FPBits<long double>'
43 | is_negative = float_bits.is_neg();
| ~~~~~~~~~~ ^
/build/reproducible-path/llvm-toolchain-21-21.1.8/cmake/Modules/../../libc/src/stdio/printf_core/float_hex_converter.h:44:27:
error: no member named 'get_explicit_exponent' in
'__llvm_libc_common_utils::fputil::FPBits<long double>'
44 | exponent = float_bits.get_explicit_exponent();
| ~~~~~~~~~~ ^
/build/reproducible-path/llvm-toolchain-21-21.1.8/cmake/Modules/../../libc/src/stdio/printf_core/float_hex_converter.h:45:27:
error: no member named 'get_explicit_mantissa' in
'__llvm_libc_common_utils::fputil::FPBits<long double>'
45 | mantissa = float_bits.get_explicit_mantissa();
| ~~~~~~~~~~ ^
/build/reproducible-path/llvm-toolchain-21-21.1.8/cmake/Modules/../../libc/src/stdio/printf_core/float_hex_converter.h:46:32:
error: no member named 'is_inf_or_nan' in
'__llvm_libc_common_utils::fputil::FPBits<long double>'
46 | is_inf_or_nan = float_bits.is_inf_or_nan();
| ~~~~~~~~~~ ^
/build/reproducible-path/llvm-toolchain-21-21.1.8/cmake/Modules/../../libc/src/stdio/printf_core/float_hex_converter.h:87:16:
error: no member named 'FRACTION_LEN' in
'__llvm_libc_common_utils::fputil::FPBits<long double>'
87 | (LDBits::FRACTION_LEN / BITS_IN_HEX_DIGIT) + 1;
| ^~~~~~~~~~~~
/build/reproducible-path/llvm-toolchain-21-21.1.8/cmake/Modules/../../libc/src/stdio/printf_core/float_hex_converter.h:88:20:
warning: variable length arrays in C++ are a Clang extension
[-Wvla-cxx-extension]
88 | char mant_buffer[MANT_BUFF_LEN];
| ^~~~~~~~~~~~~
/build/reproducible-path/llvm-toolchain-21-21.1.8/cmake/Modules/../../libc/src/stdio/printf_core/float_hex_converter.h:88:20:
note: initializer of 'MANT_BUFF_LEN' is unknown
/build/reproducible-path/llvm-toolchain-21-21.1.8/cmake/Modules/../../libc/src/stdio/printf_core/float_hex_converter.h:86:20:
note: declared here
86 | constexpr size_t MANT_BUFF_LEN =
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
I'm currently testing the build with your suggested patches from
https://github.com/llvm/llvm-project/pull/184995
I'm also discussing this with PowerPC toolchain experts to better
understand
if there are any implications from the PPC side.
I will update here once I have more information.
Thanks,
Trupti
More information about the Pkg-llvm-team
mailing list