[Bug 284196] Many ports fail to build on i386 with missing symbols __atomic_load, __atomic_store, __atomic_is_lock_free, and similar

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 20 Jan 2025 17:38:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284196

            Bug ID: 284196
           Summary: Many ports fail to build on i386 with missing symbols
                    __atomic_load, __atomic_store, __atomic_is_lock_free,
                    and similar
           Product: Base System
           Version: CURRENT
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: yuri@freebsd.org

The example log:
https://pkg-status.freebsd.org/beefy15/data/134i386-default/700c2258225c/logs/vigil-1.27.0.log



  = note: ld: error: undefined symbol: __atomic_fetch_add_8
          >>> referenced by threads_pthread.c
          >>>              
libcrypto-lib-threads_pthread.o:(ossl_rcu_read_lock) in archive
/wrkdirs/usr/ports/www/vigil/work/rustctpmWBX/libopenssl_sys-3f1510c413fbddd9.rlib

          ld: error: undefined symbol: __atomic_fetch_sub_8
          >>> referenced by threads_pthread.c
          >>>              
libcrypto-lib-threads_pthread.o:(ossl_rcu_read_lock) in archive
/wrkdirs/usr/ports/www/vigil/work/rustctpmWBX/libopenssl_sys-3f1510c413fbddd9.rlib
          >>> referenced by threads_pthread.c
          >>>              
libcrypto-lib-threads_pthread.o:(ossl_rcu_read_unlock) in archive
/wrkdirs/usr/ports/www/vigil/work/rustctpmWBX/libopenssl_sys-3f1510c413fbddd9.rlib

          ld: error: undefined symbol: __atomic_fetch_and_8
          >>> referenced by threads_pthread.c
          >>>              
libcrypto-lib-threads_pthread.o:(ossl_synchronize_rcu) in archive 


There's a similar bug for the ppc architecture:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243959

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