Fwd: libpthread.so illegal cpuid on 486

Daniel Goertzen daniel.goertzen@gmail.com
Mon Sep 29 20:10:00 GMT 2014


After a long struggle trying to get glibc-2.19 running on my 486
embedded systems, I discovered that libpthread.so was invoking the
"cpuid" instruction.  This instruction is not present on most 486 cpus
and will cause the program to fail with "Illegal instruction."

My system used to work fine with glibc-2.17; it looks like the problem
arrived with the new lock elision stuff.  I tried building with
--disable-lock-elision but the cpuid-based checks are still performed.

Am I doing something wrong?
Is this a bug?
Is glibc leaving the 486 behind?

Thanks,
Dan.



More information about the Libc-help mailing list