Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 480844 Details for
Bug 623884
sys-libs/glibc-2.23 cacheinfo.c handle_intel() errors out on 486/586 processors
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to glibc-2.23/sysdeps/x86_64/cacheinfo.c
cacheinfo.patch (text/plain), 427 bytes, created by
tedheadster
on 2017-07-05 16:35:53 UTC
(
hide
)
Description:
Patch to glibc-2.23/sysdeps/x86_64/cacheinfo.c
Filename:
MIME Type:
Creator:
tedheadster
Created:
2017-07-05 16:35:53 UTC
Size:
427 bytes
patch
obsolete
>--- a/sysdeps/x86/cacheinfo.c >+++ a/sysdeps/x86/cacheinfo.c >@@ -259,7 +259,9 @@ intel_check_word (int name, unsigned int value, bool *has_level_2, > static long int __attribute__ ((noinline)) > handle_intel (int name, unsigned int maxidx) > { >- assert (maxidx >= 2); >+ /* Return -1 for older CPUs. */ >+ if (maxidx < 2) >+ return -1; > > /* OK, we can use the CPUID instruction to get all info about the > caches. */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 623884
: 480844