On 11.04.2019 07:32, Masanobu SAITOH wrote:
> Hi.
> 
> i386/conf/ALL kernel can't link. See below.
> 

This used to work.

It means that __HAVE_ATOMIC64_OPS is defined but 64-bit atomics are
unavailable..

Someone disabled them for NetBSD/i386 them?


#if defined(_KERNEL)
/*
 * Processors < i586 do not have cmpxchg8b, and we compile for i486
 * by default. The kernel tsc driver uses them though, and handles < i586
 * by patching.  E.g. rump kernels and crash(8) and a selection of
 * other run-in-userspace code defines _KERNEL, but is careful not to
 * build anything using 64bit atomic ops by default.
 */
#define __HAVE_ATOMIC64_OPS
#endif

-- sys/arch/i386/include/types.h

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to