Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 345138 Details for
Bug 465010
>=media-libs/libpng-1.5* fails to compile on Darwin due to -Wa,--noexecstack
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
avoid -Wa,--execstack
libpng-noexec.patch (text/plain), 1.30 KB, created by
SpanKY
on 2013-04-10 18:42:35 UTC
(
hide
)
Description:
avoid -Wa,--execstack
Filename:
MIME Type:
Creator:
SpanKY
Created:
2013-04-10 18:42:35 UTC
Size:
1.30 KB
patch
obsolete
>--- a/arm/filter_neon.S >+++ b/arm/filter_neon.S >@@ -16,11 +16,11 @@ > #define PNG_VERSION_INFO_ONLY > #include "../pngpriv.h" > >-#if defined(PNG_FILTER_OPTIMIZATIONS) && defined(__arm__) && \ >- defined(__ARM_NEON__) > #if defined(__linux__) && defined(__ELF__) > .section .note.GNU-stack,"",%progbits /* mark stack as non-executable */ > #endif >+#if defined(PNG_FILTER_OPTIMIZATIONS) && defined(__arm__) && \ >+ defined(__ARM_NEON__) > > #ifdef __ELF__ > # define ELF >--- a/configure.ac >+++ b/configure.ac >@@ -166,11 +166,6 @@ AC_ARG_WITH(binconfigs, > [binconfigs='${binconfigs}']) > AC_SUBST([binconfigs]) > >-# Because GCC by default assembles code with an executable stack, even though it >-# compiles C code with a non-executable stack, it is necessary to do a fixup >-# here (this may by GCC specific) >-AC_SUBST([AM_CCASFLAGS], [-Wa,--noexecstack]) >- > AC_ARG_ENABLE([arm-neon], > AS_HELP_STRING([[[--enable-arm-neon]]], > [Enable ARM NEON optimizations: =off, check, api, on:] >--- a/configure >+++ b/configure >@@ -12812,7 +12812,7 @@ fi > # Because GCC by default assembles code with an executable stack, even though it > # compiles C code with a non-executable stack, it is necessary to do a fixup > # here (this may by GCC specific) >-AM_CCASFLAGS=-Wa,--noexecstack >+AM_CCASFLAGS= > > > # Check whether --enable-arm-neon was given.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 465010
:
344758
| 345138 |
346348