@@This is an auto-filed bug@@ If you think that a different summary clarifies the issue better, feel free to change it. Issue: dev-libs/libhid fails to compile. Discovered on: amd64 NOTE: If yout think this issue is related to CLANG, please block bug 408963. If you need further logs, feel free to ask.
Created attachment 645844 [details] build.log build log and emerge --info
Created attachment 645846 [details] other.tar.bz2 other logs
this was a misconfiguration issue
It looks like parallel build failure.
Actually problem was caused by invalid LD="lld" setting. `lld` cannot be called directly without specifying its flavor, because `lld` is actually 5 linkers in one file: https://github.com/llvm/llvm-project/blob/53ff95254df4be3365a0bf4da2677e75ccbf32ba/lld/tools/lld/lld.cpp#L9-L24 https://github.com/llvm/llvm-project/blob/53ff95254df4be3365a0bf4da2677e75ccbf32ba/lld/tools/lld/lld.cpp#L46-L53 https://github.com/llvm/llvm-project/blob/53ff95254df4be3365a0bf4da2677e75ccbf32ba/lld/tools/lld/lld.cpp#L60-L68 https://github.com/llvm/llvm-project/blob/53ff95254df4be3365a0bf4da2677e75ccbf32ba/lld/tools/lld/lld.cpp#L139-L163 Valid values of LD variable (with equivalent meaning) for LLD linker, GNU flavor: - LD="ld.lld" (recommended) - LD="lld -flavor ld" - LD="lld -flavor ld.lld" - LD="lld -flavor gnu"