+++ This bug was initially created as a clone of Bug #1947894 +++ We need to inherit -mcpu=power9, -mtune=power9 at least. This does not change baseline, it just enables control via redhat-rpm-config.
Minimal patch: diff --git a/glibc.spec b/glibc.spec index 40b605f..5ee1887 100644 --- a/glibc.spec +++ b/glibc.spec @@ -1095,10 +1095,14 @@ rpm_inherit_flags \ "-march=z15" \ "-march=zEC12" \ "-mbranch-protection=standard" \ + "-mcpu=power8" \ + "-mcpu=power9" \ "-mfpmath=sse" \ "-msse2" \ "-mstackrealign" \ "-mtune=generic" \ + "-mtune=power8" \ + "-mtune=power9" \ "-mtune=z13" \ "-mtune=z14" \ "-mtune=z15" \
Merge request: https://gitlab.com/redhat/centos-stream/rpms/glibc/-/merge_requests/5
No regressions have been found.