public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* __builtin_memset needed by Linux kernel on Alpha
@ 1998-04-28  3:07 Christian Iseli
  1998-04-28 19:14 ` Richard Henderson
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Iseli @ 1998-04-28  3:07 UTC (permalink / raw)
  To: egcs

Hi folks,

I tried building Linux kernel 2.1.98 on an alpha pc164lx.  Things fail
when ld tries to link the vmlinux file, 'cause it misses __builtin_memset.

I tried with egcs-1.0.2, and also with gcc-2.8.1.  Same story.
gcc-2.7.2.3 does not exhibit this problem.

I use binutils 2.9.0.3.  The rest of the system is basically RH 5.0.

Anybody can shed some light on this?

					Christian

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

* Re: __builtin_memset needed by Linux kernel on Alpha
  1998-04-28  3:07 __builtin_memset needed by Linux kernel on Alpha Christian Iseli
@ 1998-04-28 19:14 ` Richard Henderson
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 1998-04-28 19:14 UTC (permalink / raw)
  To: Christian Iseli; +Cc: egcs

On Tue, Apr 28, 1998 at 12:07:36PM +0200, Christian Iseli wrote:
> I tried building Linux kernel 2.1.98 on an alpha pc164lx.  Things fail
> when ld tries to link the vmlinux file, 'cause it misses __builtin_memset.

It was my mistake in selecting the test in include/asm-alpha/string.h.
You'll have to change the `#if __GNUC__ >=2 ...' to `#if 0'.

> I tried with egcs-1.0.2, and also with gcc-2.8.1.  Same story.
> gcc-2.7.2.3 does not exhibit this problem.

It will, incidentially, work with the egcs snapshots, which is where
the proper __builtin_memset support was added.  ;-)


r~

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

end of thread, other threads:[~1998-04-28 19:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-04-28  3:07 __builtin_memset needed by Linux kernel on Alpha Christian Iseli
1998-04-28 19:14 ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).