This is an auto-filed bug because dev-util/systemtap does not respect CFLAGS. The issue was originally discovered on amd64, but it may be reproducible on other arches as well. If you think that a different summary clarifies the issue better, feel free to change it. Attached build log and emerge --info. NOTE: To reproduce this issue you may want to add "-frecord-gcc-switches" to CFLAGS/CXXFLAGS/FFLAGS/FCFLAGS. If this is not something about c/c++ context see this bug as an hint to hide the QA warning (with QA_FLAGS_IGNORED) where is not possible to respect CFLAGS.
Created attachment 643840 [details] build.log build log and emerge --info
tinderbox has reproduced this issue with version 4.5 - Updating summary.
ci has reproduced this issue with version 4.5-r1 - Updating summary.
ci has reproduced this issue with version 4.7 - Updating summary.
ci has reproduced this issue with version 4.7-r1 - Updating summary.
ci has reproduced this issue with version 4.8 - Updating summary.
ci has reproduced this issue with version 4.9 - Updating summary.
gcc14_tinderbox has reproduced this issue with version 5.0 - Updating summary.
commit 98d1ea34e4c1f172773207ea0845b70fe9914fbb Author: Martin Cermak <mcermak@redhat.com> Date: Fri Jul 26 10:53:59 2024 +0200 Generate DWARF for python HelperSDT (refix) Refix commit 4e8058f38d7f2ec2040d43ddcfddff5217e89423 by letting CFLAGS propagate to python/setup.py through the Makefile, instead of passing the flag explicitly. Suggested by Miro Hroncok in https://issues.redhat.com/browse/RHEL-43481 .