[PATCH] fix missing option in binutils version check
Tom Rini
trini at kernel.crashing.org
Wed Jul 14 00:20:15 EST 2004
On Tue, Jul 13, 2004 at 04:02:20PM +0200, Olaf Hering wrote:
> On Tue, Jul 13, Tom Rini wrote:
>
> > On Tue, Jul 13, 2004 at 03:49:45PM +0200, Olaf Hering wrote:
> >
> > > On Mon, Jul 12, Tom Rini wrote:
> > >
> > > > +cflags-$(CONFIG_6xx) += -Wa,-maltivec
> > >
> > > That breaks gas 2.14 with gcc 3.4 or gcc 3.5, it passes -mppc, -many to
> > > as and leads to this error:
> >
> > Er, are you sure you got your patches right? Adding -Wa,-maltivec only,
> > shouldn't cause -many to ever show up (and we don't want -many to ever
> > show up, since it is broken on otherwise supported binutils combos).
>
> gcc passes it without asking.
OK. Perhaps gcc should be refusing to build with older binutils
perhaps? It sounds like gcc-3.4 + binutils-2.14 or older won't work
unless we ensure that any -mppc/altivec/etc type flags that gcc itself
would pass, excluding -many, are re-passed by the kernel itself.
--
Tom Rini
http://gate.crashing.org/~trini/
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
** This list is shutting down 7/24/2004.
More information about the Linuxppc-dev
mailing list