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

Денис Пронин dannftk@yandex.ru
Sat Jan 18 08:15:04 GMT 2025


https://sourceware.org/git/?p=systemtap.git;a=commit;h=895d8cf3ffe48a5e123a1189ea9447515a87a8b5

Frank,

I am nobody to say to you something, but if there were to be hosts those 
lack *boost_iostreams* then there might be hosts where *boost_system* 
could be absent, but the latter is *strictly* required by the build. So 
I have a question why *boost_iostreams *is not treated as well as 
*boost_system*

The community is kindly requested to participate in the conversation

Thank you

18.01.2025 00:09, Денис Пронин пишет:
>
> 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