Bug 278333 - clang-18 crashes on the port audio/noise-suppression-for-voice-lv2: Assertion failed: (result && "no existing substitution for template name"), function mangleExistingSubstitution, file [...]/AST/ItaniumMangle.cpp
Summary: clang-18 crashes on the port audio/noise-suppression-for-voice-lv2: Assertion...
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 15.0-CURRENT
Hardware: amd64 Any
: --- Affects Many People
Assignee: Yuri Victorovich
URL: https://pkg-status.freebsd.org/beefy1...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-12 16:54 UTC by Yuri Victorovich
Modified: 2024-11-25 23:46 UTC (History)
1 user (show)

See Also:


Attachments
audio/noise-suppression-for-voice-lv2: fix build with clang 18 (1.67 KB, patch)
2024-04-24 21:42 UTC, Dimitry Andric
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2024-04-12 16:54:42 UTC
This port wasn't changed recently, but clang-18 now crashes.

See the URL for the log.
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2024-04-12 16:56:48 UTC
Both amd64 and i386 are affected.
Here is the i386 log: https://pkg-status.freebsd.org/beefy17/data/main-i386-default/pb7573d3199cc_sfb8a8333b48/logs/noise-suppression-for-voice-lv2-1.03_1.log
Comment 2 Dimitry Andric freebsd_committer freebsd_triage 2024-04-12 23:48:46 UTC
Regressed with https://github.com/llvm/llvm-project/commit/4b163e343cf, reported bug at https://github.com/llvm/llvm-project/issues/88592 .
Comment 3 Dimitry Andric freebsd_committer freebsd_triage 2024-04-24 21:42:35 UTC
Created attachment 250214 [details]
audio/noise-suppression-for-voice-lv2: fix build with clang 18
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-04-26 10:07:57 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c76a1cb07bec61ebda8c608af38fe449bfa188ee

commit c76a1cb07bec61ebda8c608af38fe449bfa188ee
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2024-04-26 10:06:20 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-04-26 10:06:20 +0000

    audio/noise-suppression-for-voice-lv2: workaround for clang-18 crash on 15

    PR:             278333

 audio/noise-suppression-for-voice-lv2/Makefile | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)