Subject: Re: [PATCH] fix missing option in binutils version check

From: Olaf Hering <[email-masked]>
Date: Mon, 14 Jun 2004 20:07:34 +0200

On Mon, Jun 14, Olaf Hering wrote:

>
>  On Mon, Jun 14, Tom Rini wrote:
>
> > > Everyone who wants to build the latest and greatest kernel can also
> > > update binutils, its a no-brainer.
> >
> > ... which does, or doesn't compile a kernel?  Does the latest and
> > greatest binutils and gcc automatically pass down -many, or does it fail
> > to compile because the assembler needs -many, but it's not being passed
> > along.  That's what I asked.
>
> plain gcc 3.2.3 + binutils 2.15.91.0.1 is a challenge, because it passes
> -mppc instead of -many.

We should fix it like that:

diff -purN linux-2.6.7-rc3-bk6.orig/arch/ppc/Makefile linux-2.6.7-rc3-bk6/arch/ppc/Makefile
--- linux-2.6.7-rc3-bk6.orig/arch/ppc/Makefile	2004-06-14 15:23:35.000000000 +0200
+++ linux-2.6.7-rc3-bk6/arch/ppc/Makefile	2004-06-14 19:46:25.336997085 +0200
@@ -22,6 +22,7 @@ CPP		= $(CC) -E $(CFLAGS)

 cflags-$(CONFIG_4xx)		+= -Wa,-m405
 cflags-$(CONFIG_PPC64BRIDGE)	+= -Wa,-mppc64bridge
+cflags-$(CONFIG_ALTIVEC)	+= -Wa,-maltivec

 CFLAGS += $(cflags-y)

--
USB is for mice, FireWire is for men!

sUse lINUX ag, nÜRNBERG

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