From: Tim Deegan Subject: Re: [PATCH 02/34] xen: clang: Disable built-in assembler Date: Wed, 26 Mar 2014 14:16:25 +0100 Message-ID: <20140326131625.GB7885@deinos.phlegethon.org> References: <1395766541-23979-1-git-send-email-julien.grall@linaro.org> <1395766541-23979-3-git-send-email-julien.grall@linaro.org> <5332CDE00200007800002490@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WSnh4-0001oR-LM for xen-devel@lists.xenproject.org; Wed, 26 Mar 2014 13:16:34 +0000 Content-Disposition: inline In-Reply-To: <5332CDE00200007800002490@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: xen-devel@lists.xenproject.org, Keir Fraser , Julien Grall , stefano.stabellini@citrix.com, ian.campbell@citrix.com List-Id: xen-devel@lists.xenproject.org At 11:53 +0000 on 26 Mar (1395831232), Jan Beulich wrote: > >>> On 25.03.14 at 17:55, wrote: > > --- a/xen/Rules.mk > > +++ b/xen/Rules.mk > > @@ -74,6 +74,7 @@ AFLAGS-y += -D__ASSEMBLY__ -include > > $(BASEDIR)/include/xen/config > > > > # Clang's built-in assembler can't handle .code16/.code32/.code64 yet > > AFLAGS-$(clang) += -no-integrated-as > > +CFLAGS-$(clang) += -no-integrated-as > > Iirc Tim had found and worked around other built-in assembler issues > in the past, so if this is to be done unconditionally I wonder whether > we shouldn't then drop those workarounds. I would prefer, wherever possible, to make things work with the clang assembler rather than rely on the binutils one forever. BTW, I haven't looked at any of this series in detail yet but I'm planning to go through it all tomorrow. Cheers, Tim.