pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: python313 (2025Q4) fails to build (link) on hppa -current



For some context but not a full fix, python 3.13 introduced a new
default-on-if-you-have-stdatomic.h allocator, mimalloc.

You can opt out of it with the addition of the following line along
other CONFIGURE_ARGS in lang/python313/Makefile:

CONFIGURE_ARGS+=	--with-mimalloc=no

mimalloc seems to require 64 bit atomics, which hppa definitely doesn't
have as instructions, so it relies on a library implementation which
uses locking.

Something seems to be going wrong with whoever is supposed to be
supplying __sync_fetch_and_add_8.
Maybe NetBSD should be doing it in libc for hppa (and sparc) and
not need libatomic here?
It's also unclear why libatomic is not providing it (it seems these
definitions come from libgcc, not libatomic?)


Home | Main Index | Thread Index | Old Index