From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27782 invoked by alias); 31 Dec 2006 09:26:08 -0000 Received: (qmail 27761 invoked by uid 48); 31 Dec 2006 09:25:59 -0000 Date: Sun, 31 Dec 2006 09:26:00 -0000 Message-ID: <20061231092559.27760.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/30336] -mtune=native is wrong when not built with gcc In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "hjl at lucon dot org" 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: 2006-12/txt/msg02124.txt.bz2 ------- Comment #2 from hjl at lucon dot org 2006-12-31 09:25 ------- It isn't really about cross compiler. It is about the compiler which is used to compile gcc. Since we don't know if the compiler can handle cpuid asm statement like gcc, when we are building gcc, there is no way for us to call cpuid. BTW, it is quite rare not to use gcc to build gcc, considering bootstrap. The only case I can think of is when we use another compiler to build canadian cross compiler where target == host and host != build. -- hjl at lucon dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2006-12-31 09:25:58 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30336