This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] x86: i486: stub out init-arch logic


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]