From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10861 invoked by alias); 23 Jan 2013 16:42:55 -0000 Received: (qmail 9407 invoked by uid 48); 23 Jan 2013 16:42:24 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/56068] -march=native creates Illegal instruction on KVM guests Date: Wed, 23 Jan 2013 16:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status Resolution Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2013-01/txt/msg02192.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56068 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution| |INVALID --- Comment #16 from Richard Biener 2013-01-23 16:42:19 UTC --- mockbuild@centos6-64bit-builder ~/build/BUILD/tmp (mock-chroot) $ cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 6 model : 13 I think that's the old qemu bug of providing a non-sensical CPUID family/model/vendor combination by default on x86_64. AMD family 6 is 32bits only. Intel family 6 has 64bit support. You'll hit funny issues with GMP as well. Thus, fix your KVM/QEMU config.