[Bug 280936] cannot build world with ASAN enabled

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 25 Oct 2024 14:59:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280936

--- Comment #9 from Dimitry Andric <dim@FreeBSD.org> ---
In the mean time I had run a build somewhere on a universe machine, and ran
into the same assertion.

So it looks like this regressed with
https://github.com/llvm/llvm-project/commit/llvmorg-18-init-16766-g51fbab134560
("[asan] Enable StackSafetyAnalysis by default"), and it still crashes with
very recent main, i.e. llvmorg-20-init-09245-g0850e721ab1.

One workaround would be to use -asan-use-stack-safety=0 for this one particular
troublesome source file, but I'm unsure if that will allow the rest of world to
build.

Simultaneously, I think it is good to report a bug upstream, but I'll have to
reduce the test case.

-- 
You are receiving this mail because:
You are the assignee for the bug.