From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 23533 invoked from network); 8 May 1998 21:46:44 -0000 Received: from slip-32-100-110-90.vt.us.ibm.net (HELO air.steve.net) (32.100.110.90) by mail2.redhat.com with SMTP; 8 May 1998 21:46:44 -0000 Received: from localhost (localhost [127.0.0.1]) by air.steve.net (8.6.12/8.6.9) with SMTP id RAA07544 for ; Fri, 8 May 1998 17:51:15 -0400 Date: Fri, 8 May 1998 17:51:15 -0400 (EDT) From: "Steven N. Hirsch" X-Sender: hirsch@air.steve.net To: axp-list@redhat.com Subject: Re: new kernels In-Reply-To: <3.0.3.32.19980508120421.00c49ec4@proxima.simplecom.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 8 May 1998, Ian Kinner wrote: > Perhaps we should set up an autoresponder for keyword "__builtin_memset" :) I vote that someone explain which flavor of gcc supports this as a built in. I've tried gcc-2.7.2 egcs-1.0.1 egcs-1.0.2 and the error occurs with all of them. Someone else on the list commented that they saw the problem with gcc-2.8.x. That about ties it up. > Your problem lies in arch/asm-alpha/string.h > > Comment out the lines that test for gcc 2.8.1 and the lines executed when > 2.8.1 is found. It should work fine after that. Agreed, here it is: (might not patch cleanly, but the intent should be clear) --- 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 \