Bug#519391: libgcrypt11: SIGILL on _gcry_detect_hw_features

Andreas Metzler ametzler at downhill.at.eu.org
Sat May 2 14:37:40 UTC 2009


On 2009-03-12 Piotr Roszatycki <dexter at debian.org> wrote:
> I read the source for kernel 2.6.24 and found that it uses similar
> technic for CPUID detection. I've copied to one simple test program
> (attached) and I worried why it doesn't work on Vortex correcty:

> $ ./cpuid
> This CPU has CPUID opcode
> Illegal instruction


>> Any ideas?  Would anyone be so kind and compare it to the Linux code?


There is a second, slightly diffeent instance of the same code in
boot/cpucheck.c. Does this one also prodecue the Illegal instruction
error?

cu and- doesn't speak ASM -reas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cpuid2.c
Type: text/x-csrc
Size: 1311 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnutls-maint/attachments/20090502/56396bbb/attachment.c>


More information about the Pkg-gnutls-maint mailing list