Re: OpenSSL 3.0.0 on i386 failing to build

From: Jan Beich <>
Date: Sun, 01 Aug 2021 05:08:37 UTC
Bernard Spil <> writes:

> Hi all,
> The OpenSSL 3.0.0 port (currently beta2) is failing on i386 due to
> missing atomic on i386
>> ld: error: undefined symbol: __atomic_is_lock_free
> Poudriere logs on vanilla FreeBSD

Did you try on 14.0-CURRENT? It should build fine without patches.

> This is apparently the last Release Candidate for OpenSSL 3.0.0. Would
> appreciate anyone to help fix this, preferably without requiring GCC.

Try the fallback a la <stdatomic.h> (example attached) or exclude atomic
calls on i386.