FreeBSD Bugzilla – Attachment 185678 Details for
Bug 219524
devel/libunwind: ld: cannot preempt symbol '_Ux86_64_init_local' (WITH_LLD_IS_LD)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
devel/libunwind: set LLD_UNSAFE
0001-devel-libunwind-set-LLD_UNSAFE.patch (text/plain), 1.17 KB, created by
Ed Maste
on 2017-08-22 20:15:13 UTC
(
hide
)
Description:
devel/libunwind: set LLD_UNSAFE
Filename:
MIME Type:
Creator:
Ed Maste
Created:
2017-08-22 20:15:13 UTC
Size:
1.17 KB
patch
obsolete
>From c3de8cc5c91accfd610869640878e3143eee2087 Mon Sep 17 00:00:00 2001 >From: Ed Maste <emaste@freebsd.org> >Date: Thu, 17 Aug 2017 09:31:03 -0400 >Subject: [PATCH 1/5] devel/libunwind: set LLD_UNSAFE > >libunwind.so has symbols with ELF protected visibility which various >test applications attempt to preempt. Both GNU gold and LLVM's lld >fail to link this case, with errors like > >lld: >/usr/bin/ld: error: cannot preempt symbol: _ULx86_64_init_local >>>> defined in ../src/.libs/libunwind.so >>>> referenced by Lperf-trace.c >>>> Lperf-trace.o:(main) > >gold: >/usr/local/bin/ld.gold: error: Gperf-simple.o: cannot make copy relocation > for protected symbol '_Ux86_64_local_addr_space', defined in > ../src/.libs/libunwind-x86_64.so > >PR: 219524 >--- > devel/libunwind/Makefile | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/devel/libunwind/Makefile b/devel/libunwind/Makefile >index 2158e40de6e6..df1621949dfd 100644 >--- a/devel/libunwind/Makefile >+++ b/devel/libunwind/Makefile >@@ -25,6 +25,7 @@ GNU_CONFIGURE= yes > INSTALL_TARGET= install-strip > USE_LDCONFIG= yes > USES= libtool pathfix pkgconfig >+LLD_UNSAFE= yes > > PLIST_SUB= ARCH=${ARCH:S|i386|x86|:S|amd64|x86_64|} > >-- >2.13.2 >
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 219524
: 185678 |
207111
|
207112
|
207113
|
207116
|
207188