#1467 Add macro to enable frame pointers for all Hyperscale 10 package build tags
Closed: Fixed by ngompa. Opened by ngompa.

The Hyperscale SIG would like all packages built by the SIG to have frame pointers turned on for CentOS Stream 10.

Could you please update our hyperscale10s-* build tags for package builds to include _include_frame_pointers set to 1?


Just to ensure, is that a rpm macro that can just be added ?
If so, that should just be a matter of cbs edit-tag ${tag} --extra rpm.macro._include_frame_pointers="1" ..
Just waiting for confirmation and we can eventually just do that on one build tag only (to be defined) and then applied to others if that works ?

Metadata Update from @arrfab:
- Issue assigned to arrfab

Metadata Update from @arrfab:
- Issue tagged with: cbs, feature-request, high-gain, low-trouble

Yes, it's an rpm macro.

It was set for the following build tags, so can you verify ?

cbs edit-tag hyperscale10s-packages-experimental-el10s-build --extra rpm.macro._include_frame_pointers=1
cbs edit-tag hyperscale10s-packages-facebook-el10s-build --extra rpm.macro._include_frame_pointers=1
cbs edit-tag hyperscale10s-packages-gnome-el10s-build --extra rpm.macro._include_frame_pointers=1
cbs edit-tag hyperscale10s-packages-intel-el10s-build --extra rpm.macro._include_frame_pointers=1
cbs edit-tag hyperscale10s-packages-main-el10s-build --extra rpm.macro._include_frame_pointers=1
cbs edit-tag hyperscale10s-packages-spin-el10s-build --extra rpm.macro._include_frame_pointers=1

Metadata Update from @arrfab:
- Issue priority set to: Waiting on Reporter (was: Needs Review)

Judging by this scratch build task of systemd, it looks like it worked.

+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '

Metadata Update from @ngompa:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Log in to comment on this ticket.

Metadata