Re: [PATCH v2] gcov: use atomic counter updates to fix concurrent access crashes

From: Arnd Bergmann

Date: Sat May 09 2026 - 11:15:41 EST


On Sat, May 9, 2026, at 13:50, Konstantin Khorenko wrote:
> On 5/7/26 15:31, Peter Oberparleiter wrote:
>> On 28.04.2026 22:56, Arnd Bergmann wrote:
>
> So this might actually be a GCC-16 regression in codegen rather than
> an inherent architecture limitation.
....
> could you please share the two .config files that triggered the link
> failures (the x86_64 one with __atomic_fetch_add_8 and the aarch64 one
> with __aarch64_ldadd8_relax)?
> That could make my life a bit easier. :)

I've attached two configs each now, see what you find.

I just realized that these tests were still using a prerelease
compiler, so it's even possible that the gcc-16.1 release is
clean. I should build the next set of cross-compilers soon,
and will be able to retest then.

Arnd

Attachment: gcov-configs.tar.gz
Description: application/gzip