[Bug 283155] Link fails with -flto: error loading plugin: Cannot open "/usr/bin/../lib/LLVMgold.so" (port multimedia/kew)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 06 Dec 2024 04:10:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283155 Mark Millard <marklmi26-fbsd@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marklmi26-fbsd@yahoo.com --- Comment #3 from Mark Millard <marklmi26-fbsd@yahoo.com> --- I explored what happens to exist in my context, which is for main FreeBSD: (I'll note that lang/gcc14 and devel/llvm19 are part of this environment. The system c++ is also LLVM19 based.) # find / -name '*LLVMgold*' -print /usr/local/llvm19/lib/LLVMgold.so # pkg-static info -l llvm19 | grep gold /usr/local/llvm19/lib/LLVMgold.so The system toolchain does not provide LLVMgold.so --and never has if I understand right. # find / -name '*ld.gold*' -print /usr/local/x86_64-portbld-freebsd15.0/bin/ld.gold /usr/local/bin/ld.gold # pkg-static info -l binutils | grep gold /usr/local/bin/ld.gold /usr/local/x86_64-portbld-freebsd15.0/bin/ld.gold # pkg-static which /usr/local/bin/ld.gold /usr/local/bin/ld.gold was installed by package binutils-2.43.1,1 # pkg-static which /usr/local/x86_64-portbld-freebsd15.0/bin/ld.gold /usr/local/x86_64-portbld-freebsd15.0/bin/ld.gold was installed by package binutils-2.43.1,1 # find / -name '*-unknown-*-ld' -print /usr/local/bin/aarch64-unknown-freebsd15.0-ld pkg-static which /usr/local/bin/aarch64-unknown-freebsd15.0-ld /usr/local/bin/aarch64-unknown-freebsd15.0-ld was installed by package aarch64-binutils-2.43.1,1 # pkg info | grep binutil aarch64-binutils-2.43.1,1 GNU binary tools arm-gnueabi-binutils-2.43.1,1 GNU binary tools binutils-2.43.1,1 GNU binary tools # grep -A2 FLAVORS= /usr/ports/devel/binutils/Makefile FLAVORS= native aarch64 aarch64_none_elf amd64 arm_gnueabi arm_none_eabi \ avr i386 mingw32 mips mips64 powerpc powerpc64 powerpc64le riscv64 \ riscv64_none_elf s390x riscv32_unknown_elf So devel/binutils@amd64 seems to be what would supply x86_64-unknown-freebsd*-ld . My context does not happen to have that. -- You are receiving this mail because: You are the assignee for the bug.