gcc33 creates a zImage which doesnt boot

Alan Modra amodra at bigpond.net.au
Tue Nov 11 09:35:16 EST 2003


On Mon, Nov 10, 2003 at 10:54:28PM +0100, Olaf Hering wrote:
> Good morning,
>
> the attached .config creates a zImage which boots on a p610 when
> compiled with SLES8 gcc3.2.2, but not with gcc 3.3.2.

Hi Olaf,

> CONFIG_64BIT=y

This means you use -mcpu=power4 doesn't it?  Probably a bad idea on
power3 processors.  Likely gcc-3.3 is generating some mtcrf insns with a
single cr field destination, and gas is then using the power4 form of
the instruction.

--
Alan Modra
IBM OzLabs - Linux Technology Centre

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list