| Summary: | dev-libs/libhid fails to build with LD="lld": error: no such file or directory: './.libs/libhid.so' | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
| Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
| Status: | RESOLVED INVALID | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
build.log
other.tar.bz2 |
||
|
Description
Agostino Sarubbo
2020-06-23 11:47:10 UTC
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" |