-
Notifications
You must be signed in to change notification settings - Fork 10.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The llvm-18 Ubuntu Jammy (22.04) LTS binary packages don't include LLVMgold.so #87553
Comments
This seems to have been mentioned before, and may be related to #84271. |
Thanks for the report. I created #87567 |
@sylvestre Do you know who maintains the Ubuntu packages? It seems that they started to use |
this is me and no, we don't use LLVM_INSTALL_TOOLCHAIN_ONLY |
I confirm that the llvm-17-linker-tools package contains Landed #87567 to install
|
I was about to report the similar issue to Debian packages, because this affects my CI build as well (see this build log). Now I cannot use LLVM-18 with LTO anymore. By the way, the fastest way to verify this is to see this page: And see the |
@sylvestre ^^ |
yeah, it is now fixed. |
Can you guys tell us which version of the package will start including LLVMgold.so back? Because I need to estimate when the llvm-18 build in GitHub Actions CI will work again with LTO. llvm-18-linker-tools_18.1.3~%2B%2B20240322073153%2Bef6d1ec07c69-1 |
i retriggered this build for 18, it should be available in a few hours |
This is going to be another clang-format war around lambdas. Grrr llvm/llvm-project#87553 Remove llvm-linker package when the above is resolved Change-Id: Iea0776aaa7edd483fa395e23de25ebf5a6288f71 Signed-off-by: Ed Tanous <ed@tanous.net>
@sylvestre hi, could you please also fix ubuntu 24.04 support? See #90536 |
@yujincheng08 |
@clundquist-stripe I have tried to install After some comparison, I found that https://packages.ubuntu.com/eu/noble/amd64/llvm-17-linker-tools/filelist Maybe the latest fix is not built yet for 24.04? |
https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-18/+bug/2064187 ("llvm-18-linker-tools does not include LLVMgold.so") seems related. |
@MaskRay indeed :/ this is the autosync from Debian to Ubuntu. I am following up with Ubuntu to get a fix as noble is a LTS |
I don't know if it's fixed for Ubuntu Jammy 22.04, but I confirm this is not fixed yet for Mantis 23.10: |
Ubuntuu has broken LLVM 18 packages, LTO is busted. No ETA on a fix, but the problem is well known. Previous experience indicates that a fix may take many months or never come at all, so disabling LTO in CI for Ubuntu builds for now, until they get their act together. https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-18/+bug/2064187 llvm/llvm-project#87553 Signed-off-by: Jeffrey H. Johnson <trnsz@pobox.com>
Ubuntu Jammy (22.04) now has an updated |
thanks for confirming, i fixed the various issues |
The llvm-18 release binary packages for Ubuntu Jammy (22.04) published on the LLVM Debian/Ubuntu nightly packages don't seem to include the LLVMgold.so plugin required for LTO support.
In prior versions, this was included in the linker-tools package, but this file is not presently included in the llvm-18-linker-tools package.
Using the current package set for llvm-18 when using LTO, the linker complains:
/usr/bin/ld: /usr/lib/llvm-18/bin/../lib/LLVMgold.so: error loading plugin: /usr/lib/llvm-18/bin/../lib/LLVMgold.so: cannot open shared object file: No such file or directory
The text was updated successfully, but these errors were encountered: