From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4038 invoked by alias); 26 Feb 2013 14:18:55 -0000 Received: (qmail 3906 invoked by uid 48); 26 Feb 2013 14:18:18 -0000 From: "windward at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug libitm/53113] Build fails in x86_avx.cc if AVX disabled but supported by as (Solaris & Linux) Date: Tue, 26 Feb 2013 14:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libitm X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: windward at gmx dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: 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-02/txt/msg02489.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53113 --- Comment #10 from Martin 2013-02-26 14:18:13 UTC --- (In reply to comment #8) In fact I [suppose I] do as you suggest: I use "-march=core2" to prevent it from using AVX. The problem is that this is inconsistently overruled by the capabilities reported by the assembler (HAVE_AS_AVX). IMHO these capabilities are not properly matched against the architecture/target flags, please have a close look at my original posting and the easy workaround. Besides that I agree with Ryan, this shouldn't break the build anyway.