Current-Users archive

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

Re: i386/conf/ALL link error

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

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

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

Attachment: signature.asc
Description: OpenPGP digital signature

Home | Main Index | Thread Index | Old Index