[Bug releng/32523] make stap buildable with clang/clang++

Денис Пронин dannftk@yandex.ru
Fri Jan 17 21:09:49 GMT 2025


Hello,

The issue is in *-Werror* flag that is passed to the compiler through 
*automake + autoconf* utilities. clang catches some warnings-as-errors 
and fails the compilation process

*-Werror* is often a killer of compilation. I would consider getting rid 
of it at all or pass *CXXFLAGS=-Wno-error* to the *./configure* script. 
*-Werror* is a notorious flag that does nothing useful, from my point of 
view, but ensures for the compilation to be clean from warnings

Thank you

> https://sourceware.org/bugzilla/show_bug.cgi?id=32523
>
> --- Comment #2 from Frank Ch. Eigler <fche at redhat dot com> ---
> Some of the patches have been merged, but are not quite enough to pass the
> above clang/clang++ tests on Fedora 41.
>


More information about the Systemtap mailing list