Re: lkernel 2.1.131 with ac5

Horst von Brand (vonbrand@inf.utfsm.cl)
Thu, 10 Dec 1998 10:09:31 -0300


alan@lxorguk.ukuu.org.uk (Alan Cox) said:
> > Compiling kernel-2.1.131 with the alan cox ac5 patch applied,
> > generated the following message:
> >
> > functions=2 -DCPU=686 -c -o checksum.o checksum.c

[...]

> Nobody has yet been brave enough to fix the checksum.c file for the new
> egcs (and its no small job either)

I compiled just that file with egcs-1.1.1 (klugdeing a dependency into
arch/i386/lib/Makefile), the rest with egcs-19981206; the result (seems to)
works fine (2.1.131ac7). I looked it over, and I could fix most of the
asm()s (with the guidance of Colin Plumb's guide to ia32 asm in gcc posted
here some time back), save for csum_partial_copy_generic. But as this
function is just a C header + an asm() body, it should not be too hard to
get rid of the C function header, and writing it all in assembly. Even
somebody as ia32-dumb as I am should be able to stich it together from what
'gcc -S' produces and the original source. Or am I ovelooking something
ridiculously obvious?

> Bernd has fixed the other stuff tho

Sure enough. Great work!

-- 
Dr. Horst H. von Brand                       mailto:vonbrand@inf.utfsm.cl
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/