Control: tags -1 + patch On Wed, 02 Apr 2025 at 16:35:18 +0100, Simon McVittie wrote: > All of the VKD3D libraries (of which libvkd3d-shader1 is the > lowest-level) are marked as requiring an executable stack ... > For what it's worth, Fedora[1] and Arch[2] don't seem to use any special > linker options, which suggests that either (2.) is the right > interpretation, or the need for an executable stack has gone away in > newer upstream releases (see #1033733).
I tried updating the package to 1.15 [3] and removing the special linker option [4], and it seems the resulting library still works to at least a basic level (the demos from vkd3d-demos work, I don't know how to test more thoroughly). [3] https://salsa.debian.org/smcv-guest/vkd3d/-/tree/wip/1.15?ref_type=heads [4] https://salsa.debian.org/smcv-guest/vkd3d/-/commit/3fd8118725e37821b98d764b23a34d776b0df810 So please consider applying the patch below. Thanks, smcv ------------------------------------------------------------------------ From: Simon McVittie <s...@collabora.com> Date: Wed, 2 Apr 2025 16:46:25 +0100 Subject: d/rules: Stop enabling executable stack Closes: #1101937 Signed-off-by: Simon McVittie <s...@collabora.com> --- debian/rules | 3 --- 1 file changed, 3 deletions(-) diff --git a/debian/rules b/debian/rules index 554af334..6b385de6 100755 --- a/debian/rules +++ b/debian/rules @@ -10,9 +10,6 @@ export DH_VERBOSE=1 # enable all build hardening flags export DEB_BUILD_MAINT_OPTIONS=hardening=+all future=+lfs optimize=+lto -# disable executable stack -export DEB_LDFLAGS_MAINT_APPEND=-Wl,-z,execstack - # configure flags CONFLAGS=--enable-demos \ --with-ncurses \