Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 663240

Summary: dev-lang/rust should be able to build using the unbundled llvm
Product: Gentoo Linux Reporter: William Hubbs <williamh>
Component: Current packagesAssignee: Gentoo Rust Project <rust>
Status: RESOLVED FIXED    
Severity: normal CC: mlen, O01eg
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/rust-lang/rust/issues/46437
Whiteboard:
Package list:
Runtime testing required: ---

Description William Hubbs gentoo-dev 2018-08-09 16:24:52 UTC
My understanding is that upstream still supports doing this. If that is
true, is there some reason we do not in Gentoo?
Comment 1 Oleg 2018-08-15 05:33:00 UTC
(In reply to William Hubbs from comment #0)
> My understanding is that upstream still supports doing this. If that is
> true, is there some reason we do not in Gentoo?

Upstream has issue with it: https://github.com/rust-lang/rust/issues/46995
Comment 2 Larry the Git Cow gentoo-dev 2018-11-15 09:29:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a5b9598e49664cf3b11fb276adae40093c40d9e

commit 3a5b9598e49664cf3b11fb276adae40093c40d9e
Author:     Dirkjan Ochtman <djc@gentoo.org>
AuthorDate: 2018-11-15 09:27:27 +0000
Commit:     Dirkjan Ochtman <djc@gentoo.org>
CommitDate: 2018-11-15 09:27:45 +0000

    dev-lang/rust: fix inconsistency, optionally use system LLVM
    
    Fixes: https://bugs.gentoo.org/663240
    Signed-off-by: Dirkjan Ochtman <djc@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-lang/rust/metadata.xml          |  1 +
 dev-lang/rust/rust-1.30.1-r1.ebuild | 22 ++++++++++++++--------
 2 files changed, 15 insertions(+), 8 deletions(-)
Comment 3 Dirkjan Ochtman (RETIRED) gentoo-dev 2018-11-15 09:30:24 UTC
So there is now optional support for this, please give it a shot and report any issues you find.