systemtap 4.9-1 fails to build on ppc64el and i386:
g++ -DHAVE_CONFIG_H -I. -DBINDIR='"/usr/bin"' -DSYSCONFDIR='"/etc"' -DPKGDATADIR='"/usr/share/systemtap"' -DPKGLIBDIR='"/usr/lib/systemtap"' -DLOCALEDIR='"/usr/share/locale"' -DDOCDIR='"/usr/share/doc/systemtap"' -DPYEXECDIR='""' -DPY3EXECDIR='""' -I./includes -I./includes/sys -DSTAP_SDT_V2 -D_REENTRANT -I/usr/include/nss -I/usr/include/nspr -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Werror -faligned-new -D_REENTRANT -I/usr/include/nss -I/usr/include/nspr -g -O3 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/systemtap-4.9-1 -c -o stap-loc2stap.o `test -f 'loc2stap.cxx' || echo './'`loc2stap.cxx
In member function ‘symresolution_info::symresolution_info(systemtap_session&, bool)’,
inlined from ‘semantic_pass_symbols(systemtap_session&)’ at elaborate.cxx:1884:28:
elaborate.cxx:2661:21: error: storing the address of local variable ‘sym’ in ‘*s_128(D).symbol_resolver’ [-Werror=dangling-pointer=]
2661 | s.symbol_resolver = this; // save resolver for early PR25841 function resolution
| ~~~~~~~~~~~~~~~~~~^~~~~~
elaborate.cxx: In function ‘semantic_pass_symbols(systemtap_session&)’:
elaborate.cxx:1884:22: note: ‘sym’ declared here
1884 | symresolution_info sym (s);
| ^~~
elaborate.cxx:1882:43: note: ‘s’ declared here
1882 | semantic_pass_symbols (systemtap_session& s)
| ~~~~~~~~~~~~~~~~~~~^
Full log: https://launchpadlibrarian.net/683922360/buildlog_ubuntu-mantic-ppc64el.systemtap_4.9-1_BUILDING.txt.gz