FreeBSD Bugzilla – Attachment 185533 Details for
Bug 214864
[exp-run] test build with lld as /usr/bin/ld
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Add LLD_UNSAFE to force use of ld.bfd when ld is lld
D12064.diff (text/plain), 1018 bytes, created by
Ed Maste
on 2017-08-17 15:51:30 UTC
(
hide
)
Description:
Add LLD_UNSAFE to force use of ld.bfd when ld is lld
Filename:
MIME Type:
Creator:
Ed Maste
Created:
2017-08-17 15:51:30 UTC
Size:
1018 bytes
patch
obsolete
>Index: Mk/bsd.port.mk >=================================================================== >--- Mk/bsd.port.mk >+++ Mk/bsd.port.mk >@@ -1737,6 +1737,20 @@ > .include "${PORTSDIR}/Mk/bsd.gcc.mk" > .endif > >+_TEST_LD=/usr/bin/ld >+.if defined(LLD_UNSAFE) && ${_TEST_LD:tA} == "/usr/bin/ld.lld" >+LDFLAGS+= -fuse-ld=bfd >+. if !defined(USE_BINUTILS) >+. if exists(/usr/bin/ld.bfd) >+LD= /usr/bin/ld.bfd >+CONFIGURE_ENV+= LD=${LD} >+MAKE_ENV+= LD=${LD} >+. else >+USE_BINUTILS= yes >+. endif >+. endif >+.endif >+ > .if defined(USE_BINUTILS) && !defined(DISABLE_BINUTILS) > BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils > BINUTILS?= ADDR2LINE AR AS CPPFILT GPROF LD NM OBJCOPY OBJDUMP RANLIB \ >Index: devel/libunwind/Makefile >=================================================================== >--- devel/libunwind/Makefile >+++ devel/libunwind/Makefile >@@ -25,6 +25,7 @@ > 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|} >
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 214864
:
177426
|
181427
|
185533
|
185682
|
185684
|
185976
|
186042
|
186060
|
193869
|
195636
|
195726
|
197173
|
199581
|
200892