From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 14025 invoked from network); 12 Apr 1998 02:57:48 -0000 Received: from slip-32-100-110-20.vt.us.ibm.net (HELO air.steve.net) (32.100.110.20) by mail2.redhat.com with SMTP; 12 Apr 1998 02:57:48 -0000 Received: from localhost (localhost [127.0.0.1]) by air.steve.net (8.6.12/8.6.9) with SMTP id WAA00862; Sat, 11 Apr 1998 22:59:30 -0400 Date: Sat, 11 Apr 1998 22:59:30 -0400 (EDT) From: "Steven N. Hirsch" X-Sender: hirsch@air.steve.net To: linux-kernel@vger.rutgers.edu cc: axp-list@redhat.com Subject: Fix for 2.1.95 on alpha Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII All, Under egcs, include/asm-alpha/string.h seems to want "__builtin_memset". Unfortunately, it is missing in action for egcs-1.0.1 and 1.0.2. This workaround lets the build complete: --- linux/include/asm-alpha/string.h.orig Fri Apr 10 06:25:33 1998 +++ linux/include/asm-alpha/string.h Thu Apr 9 19:28:23 1998 @@ -24,7 +24,8 @@ extern void * __constant_c_memset(void *, unsigned long, long); extern void * __memset(void *, char, size_t); -#if __GNUC__ > 2 || __GNUC_MINOR__ >= 8 +/* #if __GNUC__ > 2 || __GNUC_MINOR__ >= 8 */ +#if 0 #define memset(s, c, n) \ (__builtin_constant_p(c) \ ? (__builtin_constant_p(n) && (c) == 0 \ Steve