bash-3.2$ /usr/gcc-4.3/bin/gcc -m32 -c y.i z.i -march=core2 -mfpmath=sse bash-3.2$ /usr/gcc-4.3/bin/gcc -m32 -c y.i z.i -march=native -mfpmath=sse z.i:1: warning: SSE instruction set disabled, using 387 arithmetics
The problem is gcc driver never passed the proper -march=xxx to COLLECT_GCC_OPTIONS. -- Summary: -march=native doesn't work with multiple input files Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hjl dot tools at gmail dot com GCC target triplet: i686-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34904