Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Fix for 2.1.95 on alpha
@ 1998-04-12  2:59 Steven N. Hirsch
  1998-04-12 13:46 ` Dave Gilbert
  0 siblings, 1 reply; 3+ messages in thread
From: Steven N. Hirsch @ 1998-04-12  2:59 UTC (permalink / raw)
  To: linux-kernel; +Cc: axp-list

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-04-12 15:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-04-12  2:59 Fix for 2.1.95 on alpha Steven N. Hirsch
1998-04-12 13:46 ` Dave Gilbert
1998-04-12 15:25   ` Michal Jaegermann

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