lkml.org 
[lkml]   [2001]   [Mar]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Eric Buddington wrote:
>
> On Tue, Mar 27, 2001 at 09:22:19AM -0500, Brian Gerst wrote:
> > Try running ls under gdb and find out what instruction is causing SIGILL
> > (illegal opcode). It is possible that it was compiled to use
> > instructions available only on later processors, or it could potentially
> > be a bug in the math emulation code.
>
> OK. Context again (since I clipped preceding notes): 386SX/20 nfsroot,
> getting SIGILL on lots of processes, math emulation is enabled, ls and
> glibc were compiled with '-march=i386 -mcpu=i386' to be sure.
>
> I include two gdb dumps below, one from ls, one from mount, both
> died with SIGILL. If these were indeed illegal instructions on 386,
> I'll take my woes to the glibc folks and stop bothering y'all.
>
> -Eric

> 0x401248b4 <compare_and_swap+16>: lock cmpxchg %edx,(%ecx)
> 0x40136764 <htonl+4>: bswap %eax

bswap isn't available until the 486 and cmpxchgb until the pentium.
Looks like you have a glibc compiled for a 486+.

--

Brian Gerst
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:18    [W:0.426 / U:1.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site