[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1022787: Fwd: mips: executable-stack-in-shared-library



For later reference.

---------- Forwarded message ---------
From: Mathieu Malaterre <malat@debian.org>
Date: Tue, Sep 20, 2022 at 8:29 AM
Subject: mips: executable-stack-in-shared-library
To: <debian-mips@lists.debian.org>


[cc me please]

Dear mips porter,

Upstream of one of my package is trying to provide a fix for the
lintian report:executable-stack-in-shared-library (*)

Basically the patch is as follow (**):

[...]
if (HWY_ARCH MATCHES "mips")
  target_link_options(hwy PUBLIC "LINKER:-z,noexecstack")
endif (HWY_ARCH MATCHES "mips")
[...]

Could someone please confirm this is the "right" patch. I fail to
understand why each and every source package would need to change the
default LDFLAGS value...

Thanks for suggestion/help

-M

(*) https://udd.debian.org/lintian/?packages=highway
(**) https://github.com/google/highway/issues/988


Reply to: