Re: git: 90eafe349e84 - main - editors/imhex: Use llvm16 to avoid a crash of base clang++ during build

From: MANTANI Nobutaka <nobutaka_at_freebsd.org>
Date: Tue, 16 May 2023 13:58:13 UTC
On Tue, 16 May 2023 10:43:56 +0900,
Alexey Dokuchaev wrote:
> 
> On Mon, May 15, 2023 at 02:08:03PM +0000, MANTANI Nobutaka wrote:
> > commit 90eafe349e84d3056b1cf2f6625c526ef89023e5
> > 
> >   editors/imhex: Use llvm16 to avoid a crash of base clang++ during build
> 
> Is this due to https://github.com/llvm/llvm-project/issues/57170?
> 
> ./danfe
> 

Hi,

Probably yes because the crash of base clang++ (version 15.0.7) is caused by the same assertion failure.

Assertion failed: (isDependentContext() && "cannot iterate dependent diagnostics of non-dependent context")

Build error log of editors/imhex port:
https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p93c4b3fbc498_sd489b2a39d/logs/imhex-1.28.0.log

The crash occured around the lambda expressions in this cpp file: 
https://github.com/WerWolv/ImHex/blob/v1.28.0/plugins/builtin/source/content/views/view_store.cpp#L142