Summary: | clang Assertion failed on devel/libdispatch | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Charlie Li <vishwin> | ||||||||
Component: | bin | Assignee: | freebsd-toolchain (Nobody) <toolchain> | ||||||||
Status: | New --- | ||||||||||
Severity: | Affects Many People | CC: | agh, dim | ||||||||
Priority: | --- | ||||||||||
Version: | CURRENT | ||||||||||
Hardware: | Any | ||||||||||
OS: | Any | ||||||||||
Attachments: |
|
Description
Charlie Li
![]() ![]() Created attachment 238377 [details]
apply.sh
Created attachment 238378 [details]
benchmark.sh
As a data point, builds successfully with devel/llvm15, so probably a good sign for when LLVM 15 makes it into base. (In reply to Charlie Li from comment #3) More likely because the port has assertions disabled, so they are never hit. :) Can you upload the preprocessed files somewhere? It's not always trivial to reproduce the exact build environment, which is why clang writes these. https://people.freebsd.org/~vishwin/libdispatch/ The assertion (~12 years unchanged according to git-blame(1)) does not appear to hit in the previous -STABLEs (and cut -RELEASEs) either, as they have/use older LLVM. (In reply to Charlie Li from comment #5) Same there, stable branches have assertions disabled. :) (In reply to Dimitry Andric from comment #4) > More likely because the port has assertions disabled, so they are never hit. :) I have bug 265425 applied and can't reproduce. My src.conf(5) doesn't contain WITHOUT_LLVM_ASSERTIONS but this is "low trust" claim as I don't know how to check whether clang binary has assertions enabled. Unfortunately, bug 265425 comment 7 logs *predate* the port revival in ports b9662312dff8. |