> I took a guess at the changes to the gold plugin, because that doesn't > seem to build by default for me. Not sure what dependencies I might be > missing for that. You need to pass -DLLVM_BINUTILS_INCDIR to cmake and point it to the directory with plugin-api.h Cheers, Rafael