Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 26486 Details for
Bug 32429
glibc contain pentium specific code.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
libmemusage will sigill on i486
glibc-memusage-rdtsc.diff (text/plain), 714 bytes, created by
Tavis Ormandy (RETIRED)
on 2004-02-27 13:45:34 UTC
(
hide
)
Description:
libmemusage will sigill on i486
Filename:
MIME Type:
Creator:
Tavis Ormandy (RETIRED)
Created:
2004-02-27 13:45:34 UTC
Size:
714 bytes
patch
obsolete
>###### ># libmemusage uses the rdtsc instruction, which will not compile ># on any machine less than i586. ># ># i486 is the only architecture supported by gentoo affected. ># - taviso@gentoo.org >######################### >--- glibc-2.3.2/sysdeps/i386/memusage.h 2001-08-08 07:39:20.000000000 +0100 >+++ glibc-2.3.2/sysdeps/i386/memusage.h 2004-02-27 21:39:44.000000000 +0000 >@@ -17,6 +17,9 @@ > 02111-1307 USA. */ > > #define GETSP() ({ register uintptr_t stack_ptr asm ("esp"); stack_ptr; }) >-#define GETTIME(low,high) asm ("rdtsc" : "=a" (low), "=d" (high)) >+ >+#ifndef __i486__ >+# define GETTIME(low,high) asm ("rdtsc" : "=a" (low), "=d" (high)) >+#endif /* __i486__ */ > > #include <sysdeps/generic/memusage.h>
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 32429
:
26485
| 26486