diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2018-07-08 10:59:49 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2018-07-08 11:00:05 +0100 |
commit | 738995e4af3a935b410a8f16663feaf3c7e0332a (patch) | |
tree | 09ade5b87fae001ed0fbe92b6dd947a39dc77cc2 /sys-libs/libunwind/files | |
parent | app-admin/sudo: Removed old. (diff) | |
download | gentoo-738995e4af3a935b410a8f16663feaf3c7e0332a.tar.gz gentoo-738995e4af3a935b410a8f16663feaf3c7e0332a.tar.bz2 gentoo-738995e4af3a935b410a8f16663feaf3c7e0332a.zip |
sys-libs/libunwind: fix build with -fuse-ld=gold, bug #659732
Backport upstream patch to drop protected atrribute.
Reported-by: jorgicio
Closes: https://bugs.gentoo.org/659732
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Diffstat (limited to 'sys-libs/libunwind/files')
-rw-r--r-- | sys-libs/libunwind/files/libunwind-1.2.1-no-PROTECTED.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sys-libs/libunwind/files/libunwind-1.2.1-no-PROTECTED.patch b/sys-libs/libunwind/files/libunwind-1.2.1-no-PROTECTED.patch new file mode 100644 index 000000000000..6b12d9712ff8 --- /dev/null +++ b/sys-libs/libunwind/files/libunwind-1.2.1-no-PROTECTED.patch @@ -0,0 +1,14 @@ +https://bugs.gentoo.org/659732 +https://github.com/libunwind/libunwind/issues/58 + +From a1437a3d27924e17d00021df3cc659bd998e8580 Mon Sep 17 00:00:00 2001 +From: Dave Watson <davejwatson@fb.com> +Date: Thu, 28 Dec 2017 08:26:42 -0800 +Subject: [PATCH] Remove PROTECTED visibility + +This only works on bfd ld, not lld or gold. +--- a/include/compiler.h ++++ b/include/compiler.h +@@ -43 +43 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +-# define PROTECTED __attribute__((visibility ("protected"))) ++# define PROTECTED |