gcc33 creates a zImage which doesnt boot
Alan Modra
amodra at bigpond.net.au
Tue Nov 11 10:03:24 EST 2003
On Tue, Nov 11, 2003 at 09:05:16AM +1030, Alan Modra wrote:
>
> 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?
OK, so it doesn't mean that at all. I was confusing this one with
Anton's new option to choose power4 compilation. However, if you've
hacked the makefiles and are somehow getting -mpower4 being passed to
gas, the following comment is still true.
> 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.
Incidentally, I think gcc-3.3 is more likely to generate single field
mtcrf insns than gcc-3.2.
--
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