Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp6984445yba; Thu, 2 May 2019 01:58:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqxhzt/8uD2hnu4Qv0ymLsulOAqSlaRGy5W3Jn/XkCubiI9ttBivM9OkDKHkk4vj7TkoPRye X-Received: by 2002:a17:902:6b47:: with SMTP id g7mr2442856plt.227.1556787532432; Thu, 02 May 2019 01:58:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556787532; cv=none; d=google.com; s=arc-20160816; b=0fgokwVCqqqRBLWeUkPAL55EgGZQ4jcOrb+bZWcepn7ZVtRsx6RY7UDpuQ3GTPcI5Q Lw7M4p/r3DA00BZ7V/U+iV37PW+J5PoNZv3mS5AsXoCjGYTKH6IemblcKVXK8tAQi7um oY7ge4HlsUYZB5oIrv/YLWH7/9BElFAsHQUCXJHDjP1lg4NtiNcIHCjqWy+aSbZrhFBa TUgx8mgI95b3Da2hRoCATuvpnIZo44ZPeVS6HSOB3soOgVlG3Z6XRSotTxSrC1PqkDoK aC/OGkYY7VTVsAdc2sLN9ltDQqS/UQHFTnUNIrj5wM7ngppYGFVykm/MfR0EGteVmbAz r2xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=AcJGzEJKvjgTm5krN5D7sGxdgNjNgaxocAX/9P/bdOw=; b=FMUXEMmXVyVG4jwOLNFYv26+gv+LU/XX2XIEnz3gUgBcRpLZLEuk+xczTj3qEnV4tY jkCz0qNbhJR6fwzVf0H7hPLaptb5VWHRbSeSsqeKgVHklaX40tPfyJig+MWvb7t2I8rf 5NAeKvVUWNrXsO0kOH9iNYovejcuqtttFZbcfB4Mv19UYNAKd778TDbHp+XnVoKHUTOA Y+CLy/Ig9s0HoRHakqPJLmLTavb2AScMesuDlt7jYveFb0RWm+PMwHpukHSQ+f79tWPT SXPFccvTyDjryCbxQ6Q+DBcxgablTHYGnZPYfNSRtE7vM34a166iVUuwXU+LxplsOwqC mbhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=b8T1p9Ya; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v28si30367090pgk.42.2019.05.02.01.58.36; Thu, 02 May 2019 01:58:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=b8T1p9Ya; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726285AbfEBI52 (ORCPT + 99 others); Thu, 2 May 2019 04:57:28 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:40002 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726020AbfEBI52 (ORCPT ); Thu, 2 May 2019 04:57:28 -0400 Received: by mail-lf1-f65.google.com with SMTP id o16so1278374lfl.7 for ; Thu, 02 May 2019 01:57:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=AcJGzEJKvjgTm5krN5D7sGxdgNjNgaxocAX/9P/bdOw=; b=b8T1p9YazMcCX++tQtbU7XUF6HHYDl8X5UpxdNuLa3Osr2bjH8bpdc1xWcY8lQ0Klh oAyl7StdIrtl/o/sFVYI0MgEafxlvwNPk+u8n2PMlLwgZUBwj5ReHS9q+mybO1Mp7lJB XdOnPTQjfBRH1qyudmcauJI0lSUh//ms9ieOQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=AcJGzEJKvjgTm5krN5D7sGxdgNjNgaxocAX/9P/bdOw=; b=NZWqW7NcxXMRA9KUL/ynqLdsdhzmRLNH1T6M38PnBmynVkAiqV9kHtlu0vJ02zU0Is StC949u6HgEo44PAeUE/vm3YXDLup3SnfA3FMWYFOG/iBCHqA60CXkCEOqVCmHLLLovp mVnICGPDzYIalbGXrpNW3M68RZ2pNCGvvxQF+lTpmBG4askuA56KzmHQ28m8g3fOMbdG AY3yb9iag0w4vBRcHL9hx2HGfEJVZWte3AeA8FXNVFnj1CtLTGyQOfO08HQMDeTBa/7w CMewW0LGmPy2vFkY3Ij7iufwpLhCjDQod/BDx9WSuPY6AkBryuGSKUORYPOAmOvnDId9 ejdA== X-Gm-Message-State: APjAAAVKqFnYJQXSJRPgzYlPPd7wr1BAjLHsxx+J2SRGichVgQzIPf+l 6v/xcbDjUjgAJKDlhxJdbK76eZxyxpZJF213 X-Received: by 2002:ac2:554a:: with SMTP id l10mr1211456lfk.45.1556787445842; Thu, 02 May 2019 01:57:25 -0700 (PDT) Received: from [192.168.1.149] (ip-5-186-118-63.cgn.fibianet.dk. [5.186.118.63]) by smtp.gmail.com with ESMTPSA id r5sm3645295ljh.27.2019.05.02.01.57.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 May 2019 01:57:24 -0700 (PDT) Subject: Re: [PATCH 11/10] arm64: unbreak DYNAMIC_DEBUG=y build with clang To: Nick Desaulniers , Rasmus Villemoes , Andrew Morton Cc: Linux ARM , Will Deacon , Jason Baron , Nathan Chancellor , Arnd Bergmann , LKML , Dan Rue References: <20190426130015.GA12483@archlinux-i9> <20190426190603.5982-1-linux@rasmusvillemoes.dk> From: Rasmus Villemoes Message-ID: Date: Thu, 2 May 2019 10:57:22 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 30/04/2019 20.22, Nick Desaulniers wrote: > On Mon, Apr 29, 2019 at 10:32 AM Nick Desaulniers > wrote: >> >> On Fri, Apr 26, 2019 at 12:06 PM Rasmus Villemoes >> wrote: >>> >>> Current versions of clang does not like the %c modifier in inline >>> assembly for targets other than x86, so any DYNAMIC_DEBUG=y build >>> fails on arm64. A fix is likely to land in 9.0 (see >>> https://github.com/ClangBuiltLinux/linux/issues/456), but unbreak the >>> build for older versions. >>> >>> Fixes: arm64: select DYNAMIC_DEBUG_RELATIVE_POINTERS >>> Reported-by: Nathan Chancellor >>> Reported-by: Arnd Bergmann >>> Signed-off-by: Rasmus Villemoes >>> --- >>> Andrew, please apply and/or fold into 9/10. Andrew, friendly ping. >>> arch/arm64/Kconfig | 2 +- >>> 1 file changed, 1 insertion(+), 1 deletion(-) >>> >>> diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig >>> index d0871d523d5d..315992e33b17 100644 >>> --- a/arch/arm64/Kconfig >>> +++ b/arch/arm64/Kconfig >>> @@ -83,7 +83,7 @@ config ARM64 >>> select CRC32 >>> select DCACHE_WORD_ACCESS >>> select DMA_DIRECT_REMAP >>> - select DYNAMIC_DEBUG_RELATIVE_POINTERS >>> + select DYNAMIC_DEBUG_RELATIVE_POINTERS if CC_IS_GCC || CLANG_VERSION >= 90000 >> >> I just landed the fix for this in Clang, I think around the time you >> sent the patch. Should ship in Clang 9. Thanks for unbreaking our >> build. Sorry for breaking it in the first place :-/ Rasmus