From owner-svn-src-head@FreeBSD.ORG Tue Feb 5 09:43:40 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1DE58800; Tue, 5 Feb 2013 09:43:40 +0000 (UTC) (envelope-from rdivacky@vlakno.cz) Received: from vlakno.cz (mail.vlakno.cz [178.238.39.38]) by mx1.freebsd.org (Postfix) with ESMTP id D70468A7; Tue, 5 Feb 2013 09:43:39 +0000 (UTC) Received: by vlakno.cz (Postfix, from userid 1002) id 3E6E61CC55A2; Tue, 5 Feb 2013 10:36:32 +0100 (CET) Date: Tue, 5 Feb 2013 10:36:32 +0100 From: Roman Divacky To: Andrew Turner Subject: Re: svn commit: r246354 - head/share/mk Message-ID: <20130205093632.GA15394@freebsd.org> References: <201302050516.r155G2Vi037799@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201302050516.r155G2Vi037799@svn.freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Feb 2013 09:43:40 -0000 Just for comparison whats the size difference between clang built clang and gcc built clang on arm? On Tue, Feb 05, 2013 at 05:16:02AM +0000, Andrew Turner wrote: > Author: andrew > Date: Tue Feb 5 05:16:02 2013 > New Revision: 246354 > URL: http://svnweb.freebsd.org/changeset/base/246354 > > Log: > Build clang for little-endian arm by default. Due to size issues when built > with gcc disable CLANG_FULL for now. > > Modified: > head/share/mk/bsd.own.mk > > Modified: head/share/mk/bsd.own.mk > ============================================================================== > --- head/share/mk/bsd.own.mk Tue Feb 5 04:13:34 2013 (r246353) > +++ head/share/mk/bsd.own.mk Tue Feb 5 05:16:02 2013 (r246354) > @@ -389,9 +389,13 @@ __T=${TARGET_ARCH} > .else > __T=${MACHINE_ARCH} > .endif > -# Clang is only for x86 and powerpc right now, by default. > +# Clang is only for x86, powerpc and little-endian arm right now, by default. > .if ${__T} == "amd64" || ${__T} == "i386" || ${__T:Mpowerpc*} > __DEFAULT_YES_OPTIONS+=CLANG CLANG_FULL > +.elif ${__T} == "arm" || ${__T} == "armv6" > +__DEFAULT_YES_OPTIONS+=CLANG > +# GCC is unable to build the full clang on arm, disable it by default. > +__DEFAULT_NO_OPTIONS+=CLANG_FULL > .else > __DEFAULT_NO_OPTIONS+=CLANG CLANG_FULL > .endif