In article <[email protected]>,
Dave Huang  <[email protected]> wrote:
>
>On Apr 22, 2014, at 6:43, Christos Zoulas <[email protected]> wrote:
>
>> In article <[email protected]>,
>> Frank Wille  <[email protected]> wrote:
>>> The disassembly shows that the CPU fails on executing the instruction
>>> "lock cmpxchg...", which is only available for Pentium CPUs and higher.
>>> 
>>> Any idea what went wrong? Is it a general problem in libc or was named
>>> built for >=Pentium?
>> 
>> Looks that way (our assembly files are written for >= pentium). Until
>> that gets fixes, you can turn off NAMED_USE_PTHREADS.
>
>I thought cmpxchg was available on the 486 (but not on the 386)...

that's cmpxchg8b...
The easiest way is to comment out __HAVE_ATOMIC64_OPS in
/usr/src/sys/arch/i386/include/types.h and rebuild everything.

christos

Reply via email to