[PATCH] x86: i486: stub out init-arch logic
Matt Turner
mattst88@gmail.com
Tue Aug 11 19:20:00 GMT 2015
On Tue, Aug 11, 2015 at 3:42 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Tue, Aug 11, 2015 at 2:27 AM, Mike Frysinger <vapier@gentoo.org> wrote:
>> The common x86 init-arch logic hardcodes the usage of cpuid which breaks
>> running on i486 and older systems. Rather than add more checking to the
>> common case only for old cpus, stub it out for i486 systems entirely.
>
> cpuid is added to i486 and glibc no longer supports i386. cpuid can be
> used on x86 without checking and i486 glibc should use cpuid on i686.
There are apparently some non-Intel 486-compatible CPUs without the
CPUID instruction -- see the Gentoo bug report.
>> Reported-by: Daniel Goertzen <daniel.goertzen@gmail.com>
>> URL: https://bugs.gentoo.org/523830
More information about the Libc-alpha
mailing list