Control: retitle -1 systemtap: FTBFS with g++-13 on i386, ppc64el, riscv64

On 2023-12-01 04:53, Emanuele Rocca wrote:
> In constructor ‘symresolution_info::symresolution_info(systemtap_session&, 
> bool)’,
>     inlined from ‘int semantic_pass_symbols(systemtap_session&)’ at 
> elaborate.cxx:1872:28:
> elaborate.cxx:2659:21: error: storing the address of local variable ‘sym’ in 
> ‘*s.systemtap_session::symbol_resolver’ [-Werror=dangling-pointer=]
>  2659 |   s.symbol_resolver = this; // save resolver for early PR25841 
> function resolution
>       |   ~~~~~~~~~~~~~~~~~~^~~~~~
> elaborate.cxx: In function ‘int semantic_pass_symbols(systemtap_session&)’:
> elaborate.cxx:1872:22: note: ‘sym’ declared here
>  1872 |   symresolution_info sym (s);
>       |                      ^~~
> elaborate.cxx:1870:43: note: ‘s’ declared here
>  1870 | semantic_pass_symbols (systemtap_session& s)
>       |                        ~~~~~~~~~~~~~~~~~~~^

This is happening only with g++-13. With CXX=g++-12 systemtap builds
fine.

Reply via email to