lkml.org 
[lkml]   [2008]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [git pull] x86 fixes
    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



    \
     
     \ /
      Last update: 2008-09-09 19:01    [W:4.178 / U:0.000 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site