bpf-translate.cxx:1214:34: error: ‘num’ may be used uninitialized in this function [-Werror=maybe-uninitialized] 1214 | return this_prog.lookup_reg(num); | ~~~~~~~~~~~~~~~~~~~~^~~~~ cc1plus: all warnings being treated as errors x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -DBINDIR='"/usr/bin"' -DSYSCONFDIR='"/etc"' -DPKGDATADIR='"/usr/share/systemtap"' -DPKGLIBDIR='"/usr/libexec/systemtap"' -DLOCALEDIR='"/usr/share/locale"' -DDOCDIR='"/usr/share/doc/systemtap-4.5"' -DPYEXECDIR='"/usr/lib/python3.8/site-packages"' -DPY3EXECDIR='"/usr/lib/python3.8/site-packages"' -I./includes -I./includes/sys -DSTAP_SDT_V2 -I/usr/include/nss -I/usr/include/nspr -Wall -Wextra -Werror -fPIE -I/usr/include/nss -I/usr/include/nspr -fstack-protector-all -D_FORTIFY_SOURCE=2 -pipe -march=native -fno-diagnostics-color -Og -g -c -o stap-cscommon.o `test -f 'cscommon.cxx' || echo './'`cscommon.cxx ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_hardened-j2-20210510-165205 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-9.3.1 [3] x86_64-pc-linux-gnu-11.1.0 * clang version 12.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/12/bin /usr/lib/llvm/12 12.0.0 Python 3.8.10 Available Rust versions: [1] rust-bin-1.52.1 * The following VMs are available for generation-2: *) AdoptOpenJDK 8.292_p10 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Wed May 12 22:20:25 UTC 2021 emerge -qpvO dev-util/systemtap [ebuild N ] dev-util/systemtap-4.5 USE="ssl -libvirt (-selinux) -sqlite -test -zeroconf" PYTHON_SINGLE_TARGET="python3_8 -python3_7 -python3_9"
Created attachment 707859 [details] emerge-info.txt
Created attachment 707862 [details] dev-util:systemtap-4.5:20210512-235839.log
Created attachment 707865 [details] emerge-history.txt
Created attachment 707868 [details] environment
Created attachment 707871 [details] etc.portage.tar.bz2
Created attachment 707874 [details] logs.tar.bz2
Created attachment 707877 [details] temp.tar.bz2
Needed CXXFLAGS=-Og to reproduce the warning (happens with both gcc10 and 11).
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f34a5e36c7ec1608f4752d2eda545751da14846c commit f34a5e36c7ec1608f4752d2eda545751da14846c Author: Alessandro Barbieri <lssndrbarbieri@gmail.com> AuthorDate: 2021-11-03 17:56:35 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-11-04 20:04:38 +0000 dev-util/systemtap: EAPI 8 bump python autoreconf Closes: https://bugs.gentoo.org/789795 Closes: https://bugs.gentoo.org/820029 Closes: https://bugs.gentoo.org/820155 Closes: https://bugs.gentoo.org/532570 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/22808 Signed-off-by: Sam James <sam@gentoo.org> dev-util/systemtap/systemtap-4.5-r1.ebuild | 117 +++++++++++++++++++++++++++++ 1 file changed, 117 insertions(+)