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 12:19 PM, Matt Turner <mattst88@gmail.com> wrote:
> 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.
>

Please check out  hjl/cpuid/master branch.  It should work.

-- 
H.J.


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