Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 593334 Details for
Bug 658054
sys-devel/binutils-config-5.1-r1: not accepting ld.lld as a linker
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ld.lld legal if supplied as full path
0001-allow-binutils-config-to-use-ld.lld.patch (text/plain), 1.20 KB, created by
Nicholas Sielicki
on 2019-10-19 20:50:33 UTC
(
hide
)
Description:
ld.lld legal if supplied as full path
Filename:
MIME Type:
Creator:
Nicholas Sielicki
Created:
2019-10-19 20:50:33 UTC
Size:
1.20 KB
patch
obsolete
>From 295eb2307ad857b4558b9252b7ff5dd118b226f7 Mon Sep 17 00:00:00 2001 >From: Nicholas Sielicki <sielicki@yandex.com> >Date: Sat, 19 Oct 2019 15:48:55 -0500 >Subject: [PATCH] allow binutils-config to use ld.lld > >--- > sys-devel/binutils-config/files/binutils-config-5.1 | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > >diff --git a/sys-devel/binutils-config/files/binutils-config-5.1 b/sys-devel/binutils-config/files/binutils-config-5.1 >index 26ff278eece..da375b1a7b3 100644 >--- a/sys-devel/binutils-config/files/binutils-config-5.1 >+++ b/sys-devel/binutils-config/files/binutils-config-5.1 >@@ -351,7 +351,9 @@ switch_linker() { > local bpath ld=$1 > > case ${ld} in >+ ld.lld) die "Please supply full path for ld.lld" ;; > ld.*) ;; >+ *ld.lld) ;; > *) die "not supported: linker must start with 'ld.'" ;; > esac > >@@ -360,7 +362,11 @@ switch_linker() { > > # does this binutils even support the requested linker ? > if [[ ! -e ${bpath}/${ld} ]] ; then >- die "sorry, but ${PROFILE} doesn't support the ${ld} linker" >+ # Special case ld.lld as it won't preexist in bpath >+ case ${ld} in >+ *ld.lld) ;; >+ *) die "sorry, but ${PROFILE} doesn't support the ${ld} linker" ;; >+ esac > fi > > # switch it up >-- >2.23.0 >
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 658054
: 593334