Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jan 2024 01:48:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 276597] cannot build world with WITH_ASAN configured
Message-ID:  <bug-276597-29464-VzXuIuVTLk@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-276597-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-276597-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276597

--- 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 =3D=3D 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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276597-29464-VzXuIuVTLk>