Summary: | clang unused code triggers link failure | ||
---|---|---|---|
Product: | Base System | Reporter: | Adriaan de Groot <adridg> |
Component: | bin | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | Closed Overcome By Events | ||
Severity: | Affects Some People | CC: | dim |
Priority: | --- | ||
Version: | 11.2-STABLE | ||
Hardware: | Any | ||
OS: | Any |
Description
Adriaan de Groot
2018-07-02 21:18:26 UTC
Also reported upstream as https://bugs.llvm.org/show_bug.cgi?id=38029 Upstream says "Should be fixed by r336419." I think the problem was only affecting one KDE port in KDE's FreeBSD CI, so there's no immediate need to update clang. Adriaan, can we work around this particular bug in that kde port, or would it still be handy to cherry-pick the upstream fix at some point? Let's just work around this in the KDE port -- that's no problem here right now, and has been fixed in KDE upstream already. So there's no need to cherry-pick anything, unless other parts of FreeBSD start bumping into unused but not-unreferenced code returning always_inline'd templated types. Given the march of time and clang versions -- with clang 8 in base on 12 and a later clang 6 in 11 as far as I know -- we can close this one. (Leaving that up to the assignee though) The affected clang versions are no longer in use. |