Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Oct 2024 22:01:18 +0100
From:      Jessica Clarke <jrtc27@freebsd.org>
To:        Mark Johnston <markj@FreeBSD.org>
Cc:        "src-committers@freebsd.org" <src-committers@FreeBSD.org>, "dev-commits-src-all@freebsd.org" <dev-commits-src-all@FreeBSD.org>, "dev-commits-src-main@freebsd.org" <dev-commits-src-main@FreeBSD.org>
Subject:   Re: git: 4f2ca36c7bec - main - arm64: Disable coverage sanitization of `pmap_update_strided`
Message-ID:  <92030090-11B4-484B-8FD4-6B92F34FD717@freebsd.org>
In-Reply-To: <202410111653.49BGrin3091045@gitrepo.freebsd.org>
References:  <202410111653.49BGrin3091045@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11 Oct 2024, at 17:53, Mark Johnston <markj@FreeBSD.org> wrote:
>=20
> The branch main has been updated by markj:
>=20
> URL: =
https://cgit.FreeBSD.org/src/commit/?id=3D4f2ca36c7becd20b21ce5ef7256bbd42=
f732dafe
>=20
> commit 4f2ca36c7becd20b21ce5ef7256bbd42f732dafe
> Author:     Zhuo Ying Jiang Li <zhuoyingjiangli@gmail.com>
> AuthorDate: 2024-10-11 16:41:49 +0000
> Commit:     Mark Johnston <markj@FreeBSD.org>
> CommitDate: 2024-10-11 16:52:53 +0000
>=20
>    arm64: Disable coverage sanitization of `pmap_update_strided`
>=20
>    The break-before-make update invalidates PTEs, including the PTE
>    pointing to curthread, causing a fault in `trace_pc`. This
>    addresses a similar issue in
>    01bb9a2a3557bc9389f628d301cd691e08266f1d.

This broke* GitHub Actions due to the use of Clang 12 (newest Clang in
Ubuntu 20.04 LTS which isn=E2=80=99t EOL until April 2025) which =
doesn=E2=80=99t
support this sanitiser. Probably the easiest thing to do is to leave
the relevant __nosanitizefoo defined to nothing unless that sanitiser
is actually enabled (via __has_feature), as it=E2=80=99s not necessary =
outside
of that, and if it=E2=80=99s enabled then you know it=E2=80=99s =
supported?

Jess

* Masked by the OpenZFS import breaking it earlier in both commit
  history and build order




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?92030090-11B4-484B-8FD4-6B92F34FD717>