This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/30336] -mtune=native is wrong when not built with gcc
- From: "hjl at lucon dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 31 Dec 2006 09:25:59 -0000
- Subject: [Bug target/30336] -mtune=native is wrong when not built with gcc
- References: <bug-30336-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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