NetBSD-Users archive

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

Re: named illegal instruction on i486



Christos Zoulas wrote:

>In article <20140422025233.086696b3.frank%phoenix.owl.de@localhost>,
>Frank Wille  <frank%phoenix.owl.de@localhost> 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.

Ok, I managed to rebuild named with NAMED_USE_PTHREADS=no (actually I
had to rebuild the whole release). It works now. Thanks!

Maybe it would be nice to fix the atomic operations in future as there
are still some embedded 486-class boards, like Soekris, in use. :)

-- 
Frank Wille


Home | Main Index | Thread Index | Old Index