[Bug 276597] cannot build world with WITH_ASAN configured

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 28 Jan 2024 01:48:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276597

--- Comment #13 from Mark Johnston <markj@FreeBSD.org> ---
(In reply to Dimitry Andric from comment #12)
The build succeeds for me, thank you.

When I try to boot a VM built from a world compiled with WITH_ASAN, every
executable segfaults.  The crash is happening in libc, in
__archlevel_resolve().  Specifically, the "environ == NULL" check in
env_archlevel() is somehow triggering a segfault - I think the assembly is
checking the shadow map but it's not set up yet.

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