|
From: Florian K. <fl...@ei...> - 2026-03-13 17:33:22
|
Greetings,
I was attempting to build valgrind with clang on s390 and x86-64 and
am getting various failures in 'make check'. This is with clang 14.0.0 which was
released in 2022. Is there a min. version of clang that is required?
If you're curious:
s390 fails:
xmas_tree.cpp:63:5: error: no matching function for call to 'operator delete[]'
operator delete[](mem, badsize);
^~~~~~~~~~~~~~~~~
x86-64 fails:
./memcheck/tests/amd64/fxsave-amd64.c et al.
/usr/bin/ld: fxsave_amd64-fxsave-amd64.o: relocation R_X86_64_32S against symbol
`vecZ' can not be used when making a PIE object; recompile with -fPIE
none/tests/x86/insn_sse.c et al.
insn_sse.c:85:10: error: inline assembly requires more registers than available
"fsave %6\n"
./none/tests/amd64/cmpxchg.c et al.
/usr/bin/ld: cmpxchg-cmpxchg.o: relocation R_X86_64_32S against symbol `rax' can
not be used when making a PIE object; recompile with -fPIE
/usr/bin/ld: failed to set dynamic section sizes: bad value
On both platforms: glibc 2.35 and binutils 2.38
Cheers,
Florian
|