[Bug 285125] security/openssl33 and security/openssl34: Can't build under i386

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 03 Mar 2025 07:02:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285125

            Bug ID: 285125
           Summary: security/openssl33 and security/openssl34: Can't build
                    under i386
           Product: Ports & Packages
           Version: Latest
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: brnrd@freebsd.org
          Reporter: cyberbotx@cyberbotx.com
          Assignee: brnrd@freebsd.org
             Flags: maintainer-feedback?(brnrd@freebsd.org)

Basically, I cannot build either of the above OpenSSL versions for i386. They
fail with:

crypto/threads_pthread.c:193:1: error: redefinition of
'fallback_atomic_exchange_n_uint64_t'

Full build logs for both 3.3 and 3.4 are here:

https://poudriere.cyberbotx.com:8768/data/14i386-default/2025-03-03_01h27m52s/logs/errors/openssl33-3.3.3.log
https://poudriere.cyberbotx.com:8768/data/14i386-default/2025-03-03_01h48m26s/logs/openssl34-3.4.1.log

security/openssl32 (with version 3.2.4 in the ports tree as of this writing) is
not affected by this problem. And security/openssl33 was unaffected by it when
it was on 3.3.2 (I do not know if OpenSSL 3.4.0 was ever in the ports tree, and
if so, I do not know if it was affected by this.)

From what I've been able to find on OpenSSL's GitHub, these open issues might,
or might not, be related:

https://github.com/openssl/openssl/issues/26711
https://github.com/openssl/openssl/issues/26740
https://github.com/openssl/openssl/issues/26721

I've no idea if the proposed fixes will work for FreeBSD too, but since as of
this writing there are no newer releases, I don't know if any patch should be
applied or if waiting for the next release would be better.

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