Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Steven N. Hirsch" <shirsch@ibm.net>
To: linux-kernel@vger.rutgers.edu
Cc: axp-list@redhat.com
Subject: Fix for 2.1.95 on alpha
Date: Sat, 11 Apr 1998 22:59:30 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.3.95.980411225618.858A-100000@air.steve.net> (raw)

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



             reply	other threads:[~1998-04-12  2:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-12  2:59 Steven N. Hirsch [this message]
1998-04-12 13:46 ` Fix for 2.1.95 on alpha Dave Gilbert
1998-04-12 15:25   ` Michal Jaegermann
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