Re: [git pull] x86 fixes

From: H. Peter Anvin
Date: Tue Sep 09 2008 - 13:04:40 EST


Adrian Bunk wrote:

As far as I understood it it's a gas issue, and X86_GENERIC=y would therefore *not* fix the bug with gcc < 4.2 and affected binutils
since we pass -mtune=i686 for gcc < 4.2 with X86_GENERIC=y.

Anything I miss?


Well, for one thing, gcc doesn't actually pass the -mtune= option to gas, it turns out.

But yes, "-Wa,-march=generic32" is really the proper fix.

-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/