Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Steven N. Hirsch" <shirsch@ibm.net>
To: axp-list@redhat.com
Subject: Re: new kernels
Date: Fri, 8 May 1998 17:51:15 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.3.95.980508174655.7142C-100000@air.steve.net> (raw)
In-Reply-To: <3.0.3.32.19980508120421.00c49ec4@proxima.simplecom.net>



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					    \


  reply	other threads:[~1998-05-08 21:46 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-08 13:52 2.0.34pre12 patch Michael P. Korpics
1998-05-08  6:53 ` Jay.Estabrook
1998-05-08 15:59   ` new kernels Chad Campbell
1998-05-08 17:48     ` James D. Freels
1998-05-08 21:23     ` new kernels ( wrt: EGCS will not build KDE ) Jonathan L Dubois
     [not found]   ` <Pine.OSF.3.95q.980508105629.6140A-100000@falcon.cc.ukans.e du>
1998-05-08 17:04     ` new kernels Ian Kinner
1998-05-08 21:51       ` Steven N. Hirsch [this message]
1998-05-09 15:32         ` Maciej W. Rozycki
  -- strict thread matches above, loose matches on Subject: below --
1998-05-11  8:51 wim bakker
1998-05-11  9:16 ` Stefan Reinauer
     [not found] <Pine.SUN.3.91.960514100756.27616A@sport2>
1996-05-14 10:05 ` new Kernels Harald Koenig
1996-05-14  8:09 Florian Fuchs
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox