https://llvm.org/docs/GoldPlugin.html states that the LLVM LTO plugin must be distributed under GPLv3 because it uses a header file that is distributed as a part of GNU binutils.
Currently, FreeBSD does not distribute LLVMgold.so due to this licensing concern.
My understanding is that function names, macro names and constant values in header files are not copyrightable, so we can create a new file with the same function declarations, macros and enums and distribute it under a more liberal license. We probably should do this and contribute the new header file to LLVM.
https://llvm.org/docs/GoldPlugin.html states that the LLVM LTO plugin must be distributed under GPLv3 because it uses a header file that is distributed as a part of GNU binutils.
Currently, FreeBSD does not distribute LLVMgold.so due to this licensing concern.
My understanding is that function names, macro names and constant values in header files are not copyrightable, so we can create a new file with the same function declarations, macros and enums and distribute it under a more liberal license. We probably should do this and contribute the new header file to LLVM.