[Bug 296410] sprintf/vfprintf not thread safe on AArch64 due to localeconv_l using atomic_store_int, with relaxed semantics

[email protected] Tue, 30 Jun 2026 23:01:16 +0000
Newsgroups gmane.os.freebsd.devel.threading
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D296410

Konstantin Belousov <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Konstantin Belousov <[email protected]> ---
It is easy to change to store_rel in lib/libc/locale/localeconv.c, but is it
enough?

Suppose that we did not observed numeric_locale_changed !=3D 0, but did obs=
erved
new values from some loaded fields.  Could this inconsistency cause issues?

If yes, we need something like seqlocks, as used by timecounters and
filedescriptors.

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