Sam James cbd8f5219c dev-libs/libffi: don't add executable stack on HPPA
When building libffi on HPPA with `-Wl,--warn-warn-execstack`, we get:
```
ld: warning: src/pa/.libs/linux.o: missing .note.GNU-stack section implies executable stack
ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
``

This is because pa/linux.S lacks a .GNU-stack note so it gets one added
automatically that states an executable stack is needed.

That becomes more problematic with glibc-2.41 which forbids dlopen()
of a library with an executable stack, and libffi is commonly dlopen()'d,
especially by Python.

I suspect the reason it didn't show up on Debian is that since February,
Debian has been building Binutils with --disable-default-execstack.

Closes: https://bugs.gentoo.org/953805
Signed-off-by: Sam James <sam@gentoo.org>
2025-04-15 04:43:04 +01:00
2025-04-13 10:18:33 +03:00
2025-04-14 13:38:32 -05:00
2025-04-14 10:56:09 +02:00
2025-04-14 23:14:53 +02:00
2025-03-29 10:08:54 +01:00
2025-04-14 07:49:15 +10:00
2025-04-14 22:32:36 -05:00
2025-04-15 02:02:27 +01:00
2025-04-11 08:04:16 -04:00
2025-04-15 00:04:55 +01:00
2025-03-27 19:32:20 +01:00
2025-04-04 17:30:48 +08:00
2025-04-13 09:11:19 +02:00
2025-04-07 17:49:09 +03:00
2025-04-15 03:55:32 +01:00
2025-04-12 21:49:00 +01:00
2025-03-19 01:03:57 +01:00
2025-04-13 19:50:44 -07:00
2025-04-05 18:17:55 +01:00
2025-04-15 01:46:03 +01:00
…
S
Description
No description provided
9.8 GiB
Languages
Shell 98%
Roff 1.3%
Emacs Lisp 0.2%
C 0.1%