When using gentoo-hardened with the new fortify-source-3.patch built into Gcc-12.2.1_p20221231 , svt-av1 package results in a warning about a definition redefined collision. <command-line>: warning: "_FORTIFY_SOURCE" redefined <built-in>: note: this is the location of the previous definition The package has _F_S=2 hardcoded in : @ CMakeLists.txt @ gstreamer-plugin/CMakeLists.txt @ gstreamer-plugin/meson.build and that flag should be stripped so _F_S=3 can take effect without conflict. Reproducible: Always
Created attachment 848010 [details] svt-av1 build.log warning: "_FORTIFY_SOURCE" redefined
hardened_tinderbox has reproduced this issue with version 1.1.0 - Updating summary.
tinderbox_musl has reproduced this issue with version 1.4.1 - Updating summary.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f298acb0c9958b158914fd9ce4fce8692a16f23 commit 5f298acb0c9958b158914fd9ce4fce8692a16f23 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-05-31 06:25:09 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-05-31 06:56:26 +0000 media-libs/svt-av1: add 1.5.0 Closes: https://bugs.gentoo.org/890280 Signed-off-by: Sam James <sam@gentoo.org> media-libs/svt-av1/Manifest | 1 + .../files/svt-av1-1.5.0-fortify-no-override.patch | 37 ++++++++++++++++++ media-libs/svt-av1/svt-av1-1.5.0.ebuild | 45 ++++++++++++++++++++++ media-libs/svt-av1/svt-av1-9999.ebuild | 4 ++ 4 files changed, 87 insertions(+)