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