Re: [PATCH][PPC32] Makefile cleanups and gcc-3.4+binutils-2.14 c

Giuliano Pochini
2004-07-30T20:49:54Z

On Fri, 30 Jul 2004 12:07:31 -0700
Tom Rini <trini@kernel.crashing.org> wrote:

>
> On Fri, Jul 30, 2004 at 08:59:01PM +0200, Giuliano Pochini wrote:
>
> > On Thu, 29 Jul 2004 07:43:47 -0700
> > Tom Rini <trini@kernel.crashing.org> wrote:
> > > > I had no time to do a lot of testing, but it seems that binutils 2.15 +
> > > > gcc 3.3.3 is a bad one too. I didn't try to compile the kernel (which
> > > > may also break), but at least I couldn't compile gcc 3.4.1 with the
> > > > above combination. It seems that as doesn't get the -mxxx parameter
> > > > required to compile altivec stuff. Hacking the Makefile to make it
> > > > pass -Wa,-m7455 helped a little, but it eventually failed in another
> > > > weird way. I hadn't time to investigate further, sorry.
> > >
> > > Stock gcc-3.3.3 or from the hammer branch ?
> >
> > Stock.
>
> That is interesting.

Actually, I don't know what the "hammer" thing is. I downloaded gcc from one
of the gcc.gnu.org mirrors: IIRC ftp://ftp.irisa.fr/pub/mirrors/gcc.gnu.org/gcc/releases/gcc-3.4.1

> Olaf, is gcc-3.3.x + binutils-2.15 one of the
> combinations you've got in your matrix of toolchains?

gcc 3.3.3 + binutils 2.15 fails quite soon here:

AS arch/ppc/kernel/l2cr.o
arch/ppc/kernel/l2cr.S: Assembler messages:
arch/ppc/kernel/l2cr.S:110: Error: Unrecognized opcode: `dssall'
arch/ppc/kernel/l2cr.S:278: Error: Unrecognized opcode: `dssall'
arch/ppc/kernel/l2cr.S:387: Error: Unrecognized opcode: `dssall'
make[1]: *** [arch/ppc/kernel/l2cr.o] Error 1

--
Giuliano.