Re: [git pull] x86 fixes
From: Adrian Bunk
Date: Tue Sep 09 2008 - 12:59:22 EST
On Mon, Sep 08, 2008 at 11:04:30AM -0700, Linus Torvalds wrote:
>
>
> On Mon, 8 Sep 2008, H. Peter Anvin wrote:
> >
> > config X86_GENERIC
> > - bool "Generic x86 support"
> > + bool "Generic x86 support" if EMBEDDED
>
> Ok, so after having realized that this seems to be more about a bug with
> gcc, I'm really not as convinced any more.
>
> As far as I can tell, there are three issues:
>
> - "-mtune=core/core2/pentium4/.." is buggy in some gas/gcc versions on
> x86-32, and makes architectural choices.
>
> Any actual _released_ versions? Maybe it's just a current SVN issue?
>
> Workaround: don't use it. And yes, X86_GENERIC=y will do that, although
> quite frankly that seems to be dubious in itself.
>...
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?
> Linus
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
--
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/