serenity icon indicating copy to clipboard operation
serenity copied to clipboard

AK: `AK::Detail::VisitImpl::has_explicitly_named_overload` causes ICE in clang assertions build

Open ADKaster opened this issue 1 year ago • 3 comments
trafficstars

This has been a thing since at least spring 2022, when clang trunk was clang-15(?).

https://github.com/llvm/llvm-project/issues/53815

This issue was reduced by @mjz19910 from AK::Variant back in the day.

Currently it's causing fun times for the FreeBSD CI that their port of Ladybird is running.

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276703

It still repros on trunk (https://github.com/llvm/llvm-project/commit/bc6b5be6a298ab094d1bb41f393ca422feddd298)

ADKaster avatar Feb 27 '24 03:02 ADKaster

cc @clausecker

ADKaster avatar Feb 27 '24 03:02 ADKaster

An LLVM PR was created that should resolve this on trunk. Not sure if it'll end up getting back ported to the 18 release branch -- we could always ask after it's reviewed/merged.

https://github.com/llvm/llvm-project/pull/83103

ADKaster avatar Feb 27 '24 05:02 ADKaster

This is a known issue; the port is currently marked as BROKEN on FreeBSD 15-CURRENT for this reason.

clausecker avatar Feb 27 '24 10:02 clausecker