there is a bug in the compiled code (e.g. kernel compile) when defining 
CFLAGS=" -march=i586" or CFLAGS="-march=C3" in make.conf

The compiled kernel requires support for CMOV from the CPU which is a pure i686
feature. (=should be only enabled if march=i686 has been defined)
As a result no code can run on i586 or C3 CPUs.

Can you please provide a quick workaround for gcc-4-1-2

Reproducible: Always

Steps to Reproduce:
1. Compile a Kernel with CFLAGS=" -march=i586" or CFLAGS="-march=C3"
2. Run the Kernel on a i586 or Via C3 CPU


Actual Results:  
Kernel does not run since it requires support of cmov from the CPU

Expected Results:  
Expected result: Kernel DOES run on a i586 or C3 CPU


-- 
           Summary: CFLAGS=" -march=i586" or CFLAGS="-march=C3" should not
                    require support for cmov
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: christian at scharff-home dot de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38653

Reply via email to