git: 10ed8ab4ab9b - stable/12 - opencrypto: Fix assignment of crypto completions to worker threads

Mark Johnston markj at freebsd.org
Thu Feb 4 14:46:18 UTC 2021


On Thu, Feb 04, 2021 at 01:40:35AM -0800, Mark Millard wrote:
> 
> The use of atomic_fetchadd_64 broke the 32-bit powerpc and powerpcspe 
> stable/12 builds via the likes of:
> 
> 07:16:19 crypto.o: In function `crypto_newsession':
> 07:16:19 /usr/src/sys/opencrypto/crypto.c:621: undefined reference to `atomic_fetchadd_64'
> 
> from the:
> 
> +	res->id = atomic_fetchadd_64(&sessid, 1);

Thanks for the report, I reverted the change on stable/12 for now.

> (No ci.freebsd.org results exist for stable/13 or for main yet.)

atomic_fetchadd_64 should be available on all platforms in 13 and later.


More information about the dev-commits-src-branches mailing list