[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#347808: defaults for -march/-mtune



Petr Salinger writes:
> Hi,
> 
> the current set of gcc in sid/i386 is OK (-march=i486 -mtune=i686).
> 
> gcc-3.3 3.3.6-12
> gcc-3.4 3.4.5-2
> gcc-4.0 4.0.2-7
> 
> Only experimental gcc-4.1 4.1-0exp6 have to re-enable
> cpu-default-i486.dpatch

yes, pending for the next upload.

it's currently not possible to configure using --with-arch=i486 and
having the compiler be built as biarch. see the cpu-default-i486 patch
in the source package.

> On the other hand, the (now tested) results 
> for gcc -m32 on amd64 are a little bit different:
> 
> gcc-3.3 -march=i386 -mtune=i386
> gcc-3.4 -march=i386 -mtune=i386 (for 3.4.5-1)

-2 should be current.

> gcc-4.0 -march=i486 -mtune=i486                 

I don't see that:

/usr/lib/gcc/x86_64-linux-gnu/4.0.3/cc1 -quiet -v foo.c -quiet -dumpbase foo.c -m32 -mtune=k8 ...

that should default to -mtune=i686

  Matthias



Reply to: