| Summary: | clang 5.0 crashes on assert: "replacement types must always be canonical" | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | Jan Beich <jbeich> | ||||||
| Component: | bin | Assignee: | Dimitry Andric <dim> | ||||||
| Status: | Closed Overcome By Events | ||||||||
| Severity: | Affects Only Me | CC: | dim, emaste | ||||||
| Priority: | --- | Keywords: | needs-qa | ||||||
| Version: | CURRENT | ||||||||
| Hardware: | Any | ||||||||
| OS: | Any | ||||||||
| Attachments: |
|
||||||||
|
Description
Jan Beich
2017-08-27 19:35:25 UTC
Created attachment 185825 [details]
command line args (for clang 5.0)
clang++40 from devel/llvm40 is not affected.
I can still reproduce with more recent -CURRENT snapshot. $ c++ -v FreeBSD clang version 5.0.0 (branches/release_50 311606) (based on LLVM 5.0.0svn) Target: x86_64-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin Given devel/llvm50 port is still missing (-devel snapshot is too old to be of any use) I can't check if the issue is due to libLLVM and Clang mismatch. This also reproduces with upstream trunk r311836. I'll bisect and/or minimize. Reported upstream: https://bugs.llvm.org/show_bug.cgi?id=34343 batch change: For bugs that match the following - Status Is In progress AND - Untouched since 2018-01-01. AND - Affects Base System OR Documentation DO: Reset to open status. Note: I did a quick pass but if you are getting this email it might be worthwhile to double check to see if this bug ought to be closed. https://github.com/llvm/llvm-project/issues/33691 was finally closed, but it was fixed a while ago in clang 14.0.0. We still use 13.0.0 in 12.4-RELEASE, but it doesn't have assertions enabled, so I think this failure should no longer occur. |