Bug 2046015
| Summary: | systemtap: FTBFS in Fedora Rawhide | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tomáš Hrnčiar <thrnciar> |
| Component: | systemtap | Assignee: | Frank Ch. Eigler <fche> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | amerey, dsmith, fche, mcermak, mjw, scox, wcohen |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | https://koschei.fedoraproject.org/package/systemtap | ||
| Whiteboard: | |||
| Fixed In Version: | systemtap-4.7~pre16433134g7d871ab5-1.fc36 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-01-27 21:04:41 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 2047316 | ||
| Bug Blocks: | 1992484, 2016048 | ||
|
Description
Tomáš Hrnčiar
2022-01-26 07:51:06 UTC
This has been fixed in the upstream version of systemtap by:
commit 56c498d95c4749f15980da73b4933e7443b3f26c
Author: Jonathan Wakely <jwakely.gcc>
Date: Tue Jan 18 15:52:18 2022 -0500
gcc12 c++ compatibility tweak: use lambdas instead of ptr_fun<>
Even while stap is a c++11 code base, such cleanups make code
nicer to look at.
Attempted a respin of the systemtap git sources for rawhide, https://koji.fedoraproject.org/koji/taskinfo?taskID=81941041 . All the architectures built except armv7hl. A number of errors of the form: In file included from staptree.cxx:10: staptree.h: In member function 'next_statement::~next_statement()': staptree.h:841:8: error: pointer used after 'operator delete(void*, unsigned int)' [-Werror=use-after-free] 841 | struct next_statement: public statement | ^~~~~~~~~~~~~~ staptree.h:841:8: note: call to 'operator delete(void*, unsigned int)' here staptree.h: In member function 'continue_statement::~continue_statement()': staptree.h:834:8: error: pointer used after 'operator delete(void*, unsigned int)' [-Werror=use-after-free] 834 | struct continue_statement: public statement | ^~~~~~~~~~~~~~~~~~ Given that this is arch specific, it is looking like these use-after-free warning/errors may be a problem in gcc 12 rather than systemtap. Have work around in the current systemtap.spec file for 247316, so the SRPM builds for rawhide. |