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: Compile error
Date: Sat, 16 May 1998 23:09:31 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.3.95.980516230851.256B-100000@air.steve.net> (raw)
In-Reply-To: <c=US%a=_%p=ADTRAN%l=SRV-EXCHANGE-980514172545Z-53229@srv-exchange1.adtran.com>



On Thu, 14 May 1998, JOHN PRICE wrote:

> Trying to compile 2.1.101 on UDB.  Getting errors:
> 
> init/main.o: In function `checksetup':
> main.c(.text+0x21c): undefined reference to `__builtin_memset'
> 
> ...a bunch of them...
> 
> 
> Why?  How do I fix it?
> 
> Thanx,
> John

I have no idea why this is still broken, but:

--- 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-17  3:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-14 17:25 Compile error JOHN PRICE
1998-05-17  3:09 ` Steven N. Hirsch [this message]
2018-05-14 14:04 ` ian
1998-05-15  0:28   ` Stefan Reinauer
1998-05-17  3:10   ` Steven N. Hirsch
2018-05-17  2:13     ` ian
  -- strict thread matches above, loose matches on Subject: below --
1996-10-22 18:58 compile error David Mosberger
1996-10-22 17:38 Eric Jones
1996-10-22 18:15 ` Richard Henderson
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