Unlike all other llvm-*-linker-tools packages, this one does not install `/usr/lib/llvm-18/lib/LLVMgold.so`. It does however install a broken symlink to it at `/usr/lib/bfd-plugins/LLVMgold-18.so`
This results in compilation failures with clang++ when used with the `-flto` flag for link time optimization.
To reproduce:
main.cpp:
```c++
int main() { return 0; }
```
```bash
clang++ -flto main.cpp -o main
```
Results in:
```
/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
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
```
Unlike all other llvm-*-linker-tools packages, this one does not install `/usr/lib/ llvm-18/ lib/LLVMgold. so`. It does however install a broken symlink to it at `/usr/lib/ bfd-plugins/ LLVMgold- 18.so`
This results in compilation failures with clang++ when used with the `-flto` flag for link time optimization.
To reproduce:
main.cpp:
```c++
int main() { return 0; }
```
```bash
clang++ -flto main.cpp -o main
```
Results in: 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
```
/usr/bin/ld: /usr/lib/
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
```
Package version is
llvm-18- linker- tools/noble, now 1:18.1.3-1 amd64
llvm-18- linker- tools: de.archive. ubuntu. com/ubuntu noble/universe amd64 Packages dpkg/status
Installed: 1:18.1.3-1
Candidate: 1:18.1.3-1
Version table:
*** 1:18.1.3-1 500
500 http://
100 /var/lib/