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 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.

> Reported-by: Daniel Goertzen <daniel.goertzen@gmail.com>
> URL: https://bugs.gentoo.org/523830
>
> 2015-08-11  Mike Frysinger  <vapier@gentoo.org>
>
>         * sysdeps/unix/sysv/linux/i386/i486/init-arch.c: New file.

BTW, I am rewriting init-arch support on hjl/cpuid/master branch.
If you wan to make changes to init-arch, please do it on hjl/cpuid/master
branch.

-- 
H.J.


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