From b2a26e9d7a8bb0a747e00ca1e28b5ad085eb9ae8 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Tue, 15 Apr 2025 01:31:05 -0400 Subject: dev-qt/qtwebengine: ensure execstack is disabled On second thought, think would rather ensure that this is disabled even if do not know how it happened in the first place, especially given chromium itself relies on noexecstack rather than notes, but then qtwebengine does not pass it for the final linking phase. Believe this is only an issue for qtwebengine with its multitude of asm files that may or may not be used, so not doing it in the eclass. Not revbumping given it seems to only happen in edge cases, but may as well get this done before stable 6.8.3 so that if glibc-2.41 is stabled later it'll ensure it's fine for them. Closes: https://bugs.gentoo.org/953111 Signed-off-by: Ionen Wolkens --- dev-qt/qtwebengine/qtwebengine-6.9999.ebuild | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dev-qt/qtwebengine/qtwebengine-6.9999.ebuild') diff --git a/dev-qt/qtwebengine/qtwebengine-6.9999.ebuild b/dev-qt/qtwebengine/qtwebengine-6.9999.ebuild index 1a65a1e73f68..e39783175f0f 100644 --- a/dev-qt/qtwebengine/qtwebengine-6.9999.ebuild +++ b/dev-qt/qtwebengine/qtwebengine-6.9999.ebuild @@ -251,6 +251,10 @@ src_configure() { use arm64 && tc-is-gcc && filter-flags '-march=*' '-mcpu=*' fi + # chromium passes this by default, but qtwebengine does not and it may + # "possibly" get enabled by some paths and cause issues (bug #953111) + append-ldflags -Wl,-z,noexecstack + export NINJAFLAGS=$(get_NINJAOPTS) [[ ${NINJA_VERBOSE^^} == OFF ]] || NINJAFLAGS+=" -v" -- cgit v1.2.3