Summary: | Build of devel/boost-libs fails because of assertion failure of clang on 14-CURRENT | ||
---|---|---|---|
Product: | Base System | Reporter: | Yasuhiro Kimura <yasu> |
Component: | bin | Assignee: | Dimitry Andric <dim> |
Status: | Closed FIXED | ||
Severity: | Affects Some People | CC: | dim, eduardo, jcfyecrayz, jrm, rhurlin, rkoberman, sbruno |
Priority: | --- | ||
Version: | CURRENT | ||
Hardware: | Any | ||
OS: | Any | ||
See Also: |
https://github.com/llvm/llvm-project/issues/39319 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273335 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277856 |
Description
Yasuhiro Kimura
![]() ![]() I put source files and scripts to reproduce the issue under https://people.freebsd.org/~yasu/clang-assertion-failure/ . I can reproduce the assertion. It also reproduces with a very recent version of clang trunk, so I will have to take some time to reduce the test case to something smaller, and submit the problem upstream. Minimized and reported upstream: https://github.com/llvm/llvm-project/issues/60182 Upstream already had this issue for a while, as https://github.com/llvm/llvm-project/issues/39319, so I marked my issue as a duplicate. Now that it breaks a recent boost, I hope will get resolved more quickly... While the underlying problem still exists, the port builds again on CURRENT after 3efdfab9. https://cgit.freebsd.org/ports/commit/?id=3efdfab9b59f2cd00beec5c863820f0057f1cfb3 . (In reply to Joseph Mingrone from comment #5) It would be good to confirm that the resulting boost libraries work as expected, since the assertion failure is really only papered over, as the port disables those. :) (In reply to Dimitry Andric from comment #6) Does anything in ports use Boost.URL? Simply testing boost-libs consumers (486 total) won't help as that'd exercise unaffected code. https://www.boost.org/doc/libs/1_81_0/libs/url/doc/html/url/overview.html I tried https://reviews.llvm.org/D148474 with base be30fd3ab2e on amd64 and confirmed build of devel/boost-libs finishes successfully. (In reply to Yasuhiro Kimura from comment #8) I coreated following review. https://reviews.freebsd.org/D40970 (In reply to Yasuhiro Kimura from comment #8) There are still some problems with the upstream fix, at least one regression test fails. I would like to wait and see for a bit more. I confirmed clang in base system builds devel/boost-libs successfully with base f29af8618bf. |