[Bug 283155] Link fails with -flto: error loading plugin: Cannot open "/usr/bin/../lib/LLVMgold.so" (port multimedia/kew)

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 06 Dec 2024 17:43:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283155

John Baldwin <jhb@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jhb@FreeBSD.org

--- Comment #11 from John Baldwin <jhb@FreeBSD.org> ---
I would really like it if in-tree clang would just always use the in-tree
linker and not try to find a "better" linker using the triple.  I think though
you would still have the problem of clang from ports also happily using ld.bfd
from binutils instead of its associated ld.lld by default.  Ideally the LLVM
ports toolchains would prefer to use all their own bits as well unless told
otherwise via -B, etc.

-- 
You are receiving this mail because:
You are the assignee for the bug.