This is introducing many more compiler and linker options than just
frame pointers.
pkg in archive:
export DEBUG=-DNDEBUG DISTRIBUTION=debian INSTALL_USER=root INSTALL_GROUP=root
LDFLAGS='' LOCAL_CONFIGURE_OPTIONS="--build=x86_64-linux-gnu
--with-multiarch=x86_64-linux-gnu --host=x86_64-linux-gnu --disable-ubsan
--disable-addrsan --disable-threadsan --enable-lto --enable-editline=yes
--enable-blkid=yes" ; export OPTIMIZER=-Os
LOCAL_CONFIGURE_OPTIONS="--build=x86_64-linux-gnu
--with-multiarch=x86_64-linux-gnu --host=x86_64-linux-gnu --disable-ubsan
--disable-addrsan --disable-threadsan --enable-lto --enable-gettext=no"
package in unapproved:
export DEBUG=-DNDEBUG DISTRIBUTION=debian INSTALL_USER=root INSTALL_GROUP=root
LDFLAGS='-Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -Wl,-z,relro'
CFLAGS='-g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-ffile-prefix-map=/home/ubuntu/git/packages/xfsprogs/xfsprogs=. -flto=auto
-ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection
-fdebug-prefix-map=/home/ubuntu/git/packages/xfsprogs/xfsprogs=/usr/src/xfsprogs-6.6.0-1ubuntu2.1'
CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=3'
LOCAL_CONFIGURE_OPTIONS="--build=x86_64-linux-gnu
--with-multiarch=x86_64-linux-gnu --host=x86_64-linux-gnu --disable-ubsan
--disable-addrsan --disable-threadsan --enable-lto --enable-editline=yes
--enable-blkid=yes" ; export OPTIMIZER=-Os
LOCAL_CONFIGURE_OPTIONS="--build=x86_64-linux-gnu
--with-multiarch=x86_64-linux-gnu --host=x86_64-linux-gnu --disable-ubsan
--disable-addrsan --disable-threadsan --enable-lto --enable-gettext=no"
At a glance, I see at least:
- new lto flags, like -ffat-lto-objects and -flto=auto
- LDFLAGS was empty before, now it has the mentioned lto changes, and
-Bsymbolic-functions
- -O2 is now used
= FORTIFY_SOURCE=3 is now used
Do we really need all these changes to enable frame pointers? What about
the risk of these other flags being introduced?
** Changed in: xfsprogs (Ubuntu Noble)
Status: In Progress => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2076309
Title:
[SRU] xfsprogs missing frame pointer
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xfsprogs/+bug/2076309/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs