__builtin_memset needed by Linux kernel on Alpha

Richard Henderson rth@cygnus.com
Tue Apr 28 19:14:00 GMT 1998


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~



More information about the Gcc mailing list