* 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
* Re: Fix for 2.1.95 on alpha
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
0 siblings, 1 reply; 3+ messages in thread
From: Dave Gilbert @ 1998-04-12 13:46 UTC (permalink / raw)
To: axp-list; +Cc: linux-kernel
On Sat, 11 Apr 1998, Steven N. Hirsch wrote:
> 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:
>
Interesting - I haven't hit that one yet; I have hit a problem
with a PCI_???_OFFSET (can't remember the bit in
the middle) not being defined.
(Also the Adaptec driver took a bit of persuasion...)
Dave
--------------------------------------------------------------------
/ Dr. David Alan Gilbert | Running Linux on Alpha & ARM \
\ gro.gilbert @ treblig.org | ------- Happy in hex ------- /
\____________________________|___ http://www.treblig.demon.co.uk __/
^ 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