Re: Object Oriented Linux

From: Jakub Jelinek (jakub@redhat.com)
Date: Thu Jul 13 2000 - 05:46:48 EST


On Thu, Jul 13, 2000 at 12:30:18PM +0200, Artur Skawina wrote:
> Alan Cox wrote:
> >
> > When it works. 2.96 still fails to get you working x86 kernels although how
> > much of that is gcc and how much kernel stuff is unknown.
>
> gcc2.96 miscompiles eg sys_fork(), one workaround is:
>
> # turn off broken sibling call optimizations
> CFLAGS += $(shell if $(CC) -fno-optimize-sibling-calls -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-fno-optimize-sibling-calls"; fi)
>
> After noticing this, i didn't look any further; so this may not be the
> only problem.

I think this should be fixed by one of my sibcall patches, will check it
out. Passing structure itself as argument used to be playing with fire with
older 2.96 snapshots.

        Jakub

-
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/



This archive was generated by hypermail 2b29 : Sat Jul 15 2000 - 21:00:16 EST