Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

LLVM version used by Rust does not match with ld.lld version

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
equaeghe
l33t
l33t
Posts: 679
Joined: Tue Feb 22, 2005 8:02 pm

LLVM version used by Rust does not match with ld.lld version

  • Quote

Post by equaeghe » Mon Jun 06, 2022 7:58 am

Upon update of Thunderbird and Firefox, after an update of LLVM, I get the following error when emerging Thundebird/Firefox:

Code: Select all

 * Using LLVM slot 14 to build
 * Rust is using LLVM version 13 but ld.lld version belongs to LLVM version 14.
 * You will be unable to link mail-client/thunderbird. To proceed you have the following options:
 *   - Manually switch rust version using 'eselect rust' to match used LLVM version
 *   - Switch to dev-lang/rust[system-llvm] which will guarantee matching version
 *   - Build mail-client/thunderbird without USE=lto
 *   - Rebuild lld with llvm that was used to build rust (may need to rebuild the whole 
 *     llvm/clang/lld/rust chain depending on your @world updates)
 * ERROR: mail-client/thunderbird-91.10.0::gentoo failed (setup phase):
 *   LLVM version used by Rust (13) does not match with ld.lld version (14)!
  • There is only one version of rust installed, so the 'eselect rust' option does not apply.
  • the ‘system-llvm’ use flag has been removed from rust, AFAICT, so dev-lang/rust[system-llvm] isn't a valid option anymore
  • I want to use ‘lto’, so dropping that that is not a preferred option
  • I rebuilt lld and rust already, without any luck; it is unclear to me how to properly follow the instructions of this last option (there seem to be dependencies portage should take care of here)
I would be grateful if someone can point me towards the right actions to finally manage updating Thundebird/Firefox.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56106
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Mon Jun 06, 2022 8:59 am

equaeghe,

As of a few minuites ago ...

Code: Select all

[I] dev-lang/rust
     Available versions:  (stable) 1.59.0(stable/1.59)^t{tbz2} (~)1.60.0(stable/1.60)^t (~)1.61.0-r1(stable/1.61)^t{tbz2}
       {clippy debug dist doc miri nightly parallel-compiler profiler rls rust-src rustfmt system-bootstrap system-llvm ...
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Josef.95
Advocate
Advocate
Posts: 4857
Joined: Mon Sep 03, 2007 9:46 am
Location: Germany

  • Quote

Post by Josef.95 » Mon Jun 06, 2022 10:38 am

NeddySeagoon,

yes, but the system-llvm use flag is currently masked in package.use.stable.mask

@equaeghe

Not sure, but I think best is report a bug
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56106
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Mon Jun 06, 2022 11:03 am

Josef.95,

Thank you.
llvm-14 is still testing.
Last edited by NeddySeagoon on Mon Jun 06, 2022 12:21 pm, edited 1 time in total.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
equaeghe
l33t
l33t
Posts: 679
Joined: Tue Feb 22, 2005 8:02 pm

  • Quote

Post by equaeghe » Mon Jun 06, 2022 11:52 am

Josef.95 wrote:Not sure, but I think best is report a bug
Bug 838121 already existed, apparently.
Top
Josef.95
Advocate
Advocate
Posts: 4857
Joined: Mon Sep 03, 2007 9:46 am
Location: Germany

  • Quote

Post by Josef.95 » Mon Jun 06, 2022 1:23 pm

equaeghe,
as workaround: Using

Code: Select all

~dev-lang/rust-1.61.0
=virtual/rust-1.61.0
in package.accept_keywords should probably work.

(but yes, it is not ideal for stable systems users :-/)
Top
equaeghe
l33t
l33t
Posts: 679
Joined: Tue Feb 22, 2005 8:02 pm

  • Quote

Post by equaeghe » Tue Jun 07, 2022 4:43 am

Josef.95 wrote:as workaround: Using

Code: Select all

~dev-lang/rust-1.61.0
=virtual/rust-1.61.0
in package.accept_keywords should probably work.
Thanks for the suggestion. In the end I masked llvm:14 and that did the trick.
Top
sam_
Developer
Developer
User avatar
Posts: 2817
Joined: Fri Aug 14, 2020 12:33 am

  • Quote

Post by sam_ » Tue Jun 07, 2022 5:49 am

Filed bug 850202, as newer Rust is needed to support newer LLVM.
Top
Post Reply

8 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic