This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Fwd: libpthread.so illegal cpuid on 486
- From: Daniel Goertzen <daniel dot goertzen at gmail dot com>
- To: libc-help at sourceware dot org
- Date: Mon, 29 Sep 2014 14:54:42 -0500
- Subject: Fwd: libpthread.so illegal cpuid on 486
- Authentication-results: sourceware.org; auth=none
- References: <CAJCf5RzJ07pNpaz-kGz9GnT+5igT3ZJrNZgPe7YFeAkkX97v+Q at mail dot gmail dot com>
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.