Skip to content

The llvm-18 Ubuntu Jammy (22.04) LTS binary packages don't include LLVMgold.so #87553

Closed
@joshuaehill

Description

@joshuaehill

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

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions