Re: compiler bug generates incorrect code in swap_free() (fix included)

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 4 Mar 2002 22:34:12 +0000 (GMT)


> executive summary: older versions of gcc generate bad assembler in
> swap_free(), causing Oopses when the system is pushed into swapping.
> fix suggested for 2.4.19-pre.

There are several reasons Changes got updated.

> i run RedHat 7.0 on my laptop and have encountered system instability on

The 7.0 stock non errata gcc 2.96 is somewhat buggy. The updated one is
ok. Changes specifies

gcc 2.95.3

and also

The Red Hat gcc 2.96 compiler subtree can also be used to build this tree.
You should ensure you use gcc-2.96-74 or later. gcc-2.96-54 will not build
the kernel correctly.

Alan

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