[Bug 690460] Re: Does not identify -march=native correctly [regression from gcc-4.4]
Dmitrijs Ledkovs
690460 at bugs.launchpad.net
Mon Aug 1 20:50:51 UTC 2011
tdlk at surgut:~$ lsb_release -c
Codename: oneiric
tdlk at surgut:~$ for i in 4 5 6; do gcc-4.$i -march=native -E -v -</dev/null 2>&1 | grep cc1; done;
/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.4.6/cc1 -E -quiet -v - -D_FORTIFY_SOURCE=2 -march=prescott --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=generic -fstack-protector
/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.3/cc1 -E -quiet -v - -D_FORTIFY_SOURCE=2 -march=pentium-m --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=generic -fstack-protector
/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.6.1/cc1 -E -quiet -v - -march=pentium-m -mno-cx16 -mno-sahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mno-avx -mno-sse4.2 -mno-sse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=generic -fstack-protector
oneiric
4.4 pass
4.5 fail
4.6 fail
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-4.5 in Ubuntu.
https://bugs.launchpad.net/bugs/690460
Title:
Does not identify -march=native correctly [regression from gcc-4.4]
Status in “gcc-4.5” package in Ubuntu:
New
Bug description:
Binary package hint: gcc-4.5
$ gcc-4.4 -march=native -E -v -</dev/null 2>&1 | grep cc1
/usr/lib/gcc/i686-linux-gnu/4.4.5/cc1 -E -quiet -v - -D_FORTIFY_SOURCE=2 -march=prescott --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=generic -fstack-protector
$ gcc-4.5 -march=native -E -v -</dev/null 2>&1 | grep cc1
/usr/lib/gcc/i686-linux-gnu/4.5.2/cc1 -E -quiet -v - -D_FORTIFY_SOURCE=2 -march=pentium-m --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=2048 -mtune=generic -fstack-protector
I have Intel Core Due processor which is suppose to be detected as prescott. Gcc-4.4 does it correctly.
Versions:
gcc-4.4 4.4.5-7ubuntu1
gcc-4.5 4.5.1-12ubuntu1
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: gcc-4.5 4.5.1-12ubuntu1
ProcVersionSignature: Ubuntu 2.6.37-9.22-generic 2.6.37-rc5
Uname: Linux 2.6.37-9-generic i686
Architecture: i386
Date: Wed Dec 15 01:37:38 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
ProcEnviron:
PATH=(custom, user)
LANG=en_GB.utf8
SHELL=/bin/bash
SourcePackage: gcc-4.5
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.5/+bug/690460/+subscriptions
More information about the foundations-bugs
mailing list