[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 04:48:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283155

--- Comment #5 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
Why is LLVMgold.so not part of FreeBSD? The answer is, likely, licensing:

QUOTE ( from https://llvm.org/docs/GoldPlugin.html )
Gold is licensed under the GPLv3. LLVMgold uses the interface file plugin-api.h
from gold which means that the resulting LLVMgold.so binary is also GPLv3. This
can still be used to link non-GPLv3 programs just as much as gold could without
the plugin.
END QUOTE

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