From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1IBAEv-0007dr-3f for garchives@archives.gentoo.org; Wed, 18 Jul 2007 14:10:53 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l6IE9sEv008526; Wed, 18 Jul 2007 14:09:54 GMT Received: from creativecommunications.com ([65.17.124.162]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l6IE7DvX006348 for ; Wed, 18 Jul 2007 14:07:14 GMT Received: from localhost (localhost [127.0.0.1]) by creativecommunications.com (Postfix) with ESMTP id A671E68C04E for ; Wed, 18 Jul 2007 09:06:39 -0500 (CDT) X-Virus-Scanned: amavisd-new at creativecommunications.com Received: from creativecommunications.com ([127.0.0.1]) by localhost (creativecommunications.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wfyKGmaST0Tt for ; Wed, 18 Jul 2007 09:06:39 -0500 (CDT) Received: from [192.168.1.80] (unknown [192.168.1.80]) by creativecommunications.com (Postfix) with ESMTP id 767F168C046 for ; Wed, 18 Jul 2007 09:06:39 -0500 (CDT) Message-ID: <469E1E6F.3090600@gentoo.org> Date: Wed, 18 Jul 2007 09:06:39 -0500 From: Andrew Gaffney User-Agent: Thunderbird 2.0.0.4 (X11/20070616) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] x86 toolchain changes heads up References: <200707171947.14598.vapier@gentoo.org> <1184748819.9888.8.camel@tuxhugs> In-Reply-To: <1184748819.9888.8.camel@tuxhugs> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: f5d6a7e0-82c0-4949-90b8-231e3cf2eb5f X-Archives-Hash: dabe7b1ad1ace30ac62db33306a2c1fd Peter Gordon wrote: > On Tue, 2007-07-17 at 19:47 -0400, Mike Frysinger wrote: >> historically, gcc on x86 has always defaulted to i386. some people noticed >> recently that glibc-2.6 fails to build in this situation as they were only >> setting -mtune via CFLAGS, not -march. i'll be tweaking gcc so that it will >> default -march based on your CHOST. so all the i686-* people will now have a >> default -march=i686 implied in their gcc systems, i586-* people will >> have -march=i586, etc... keep in mind this is merely the default. >> -mike > > Does this mean that any user-set "-march" flag is overridden for these > cases? Just curious. You quoted the answer :) These flags are "merely the default". Any user-specified flags will override the default. For example, if you have CFLAGS="-march=i586" with a i686 CHOST, it'd be effectively like calling gcc with 'gcc -march=i686 -march=i586'. The later option would win. -- Andrew Gaffney http://dev.gentoo.org/~agaffney/ Gentoo Linux Developer Catalyst/Installer + x86 release coordinator -- gentoo-dev@gentoo.org mailing list