On Nov 05 2025, Guillaume Gardet wrote:

> It looks like the problem may be elsewhere. 
>>From llvm21:
> [10109s] /tmp/lto-llvm-28e954.o: in function `bool 
> llvm::ErrorInfoBase::isA<llvm::ErrorList>() const':
> [10109s] 
> /home/abuild/rpmbuild/BUILD/llvm21-21.1.4-build/llvm-21.1.4.src/include/llvm/Support/Error.h:79:(.text._ZN4llvm8coverage23CoverageMappingIterator9incrementEv+0x98):
>  dangerous relocation: unsupported relocation

No, that's the consequence of the failing cmake test:

[ 3638s] -- Performing Test C_SUPPORTS_FPIC
[ 3638s] -- Performing Test C_SUPPORTS_FPIC - Failed
[ 3638s] -- Performing Test CXX_SUPPORTS_FPIC
[ 3638s] -- Performing Test CXX_SUPPORTS_FPIC - Failed
[ 3638s] CMake Warning at cmake/modules/HandleLLVMOptions.cmake:377 (message):
[ 3638s]   -fPIC is not supported.
[ 3638s] Call Stack (most recent call first):
[ 3638s]   cmake/modules/HandleLLVMOptions.cmake:437 (add_flag_or_print_warning)
[ 3638s]   CMakeLists.txt:1086 (include)

-- 
Andreas Schwab, SUSE Labs, [email protected]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

Reply via email to