Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp992018yba; Fri, 26 Apr 2019 12:08:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqy92RRn6PTWrB14y9nXps7APnwpwwEqv/sS7+MyX/AC+q/woWJuyZa1sVQ12sx4mx3VPgGd X-Received: by 2002:a63:5602:: with SMTP id k2mr2291091pgb.295.1556305709517; Fri, 26 Apr 2019 12:08:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556305709; cv=none; d=google.com; s=arc-20160816; b=IQjYhcqcVCBWRHqgpCaHbsZrbLPHzNhppZYCkmN2VP0TxFOSzm5mBDi1dGjWr+bXaT Bs3MzRgM3HSoiGYoOEL2kj++xThR1uft054ha85Hit81nd3ro0ANbD7XN37CrC9BPEFX D7R4ikCZlHietLYIu6/SrcO1lQIS3IaNv8kGLBOmnUOKLYZbZmMA7hpAQT1oeUrfk7SW zITHbnIAIoC+3QCUSIgCDxMXSGrTIK48BemdizQAbaZ2PTEsp8Yn2MIlLx3kyQpfDNQN AqphFdwKh2C1HZnvqhahUEgacIl3m/UJytRIyvItarJvM0iOl8dXeq1ZRT7m+2IUwSUS KS9A== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=AbJdb5w6w7kGge6MK7fpgojp+/1d46380TesN+HnNWM=; b=vgWptZ3DLvD3WW+zX4Yuev9SNNM+UDMwYspqohFYqB/t3QwfHQKeEPx74AjqGwo/nO C/h9MFC4kzAAfJ1q9k4MTAJpdJJRZrhqwcoP0799UeMR2GEFE+4TcWIFXIk9BgOeeytf GS0/5YUC4H0J3os8pavXtW4zFE+8sNrk1YiAe5jynAPPVJdeYWsT5a03EvwGoQB88ftQ 146dcGeMg7nwwe8UNJbD2Dgtc7Oa+wMSnL6OZD95fobS19I2xzDhlseJSiWUHVsJG+qw Igww2YUe3L26YgM3JCBI2/2DrUCZ8bx2uA3t+54CAZrLEzcdZyv66Jk1OWEyrxq9vfPz sWmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=fSwqpLRo; 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 g9si2079072pfi.146.2019.04.26.12.08.13; Fri, 26 Apr 2019 12:08:29 -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=fSwqpLRo; 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 S1726402AbfDZTGI (ORCPT + 99 others); Fri, 26 Apr 2019 15:06:08 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:33704 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726191AbfDZTGH (ORCPT ); Fri, 26 Apr 2019 15:06:07 -0400 Received: by mail-ed1-f65.google.com with SMTP id d55so2189778ede.0 for ; Fri, 26 Apr 2019 12:06:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=AbJdb5w6w7kGge6MK7fpgojp+/1d46380TesN+HnNWM=; b=fSwqpLRolPJ46QmV/agHQ/lqD3fy1huJYcBCSpRwzn8y3xEuk+fjhnnLdTxSY/yhm8 2vpQzU67MbQol1d1EzimEA9xhYbX78yBe3wcn3TqNvFFnobZy4W66y8KLDznm8m9GKdC BAuX4dNpqMsrPWEuU+aHj4giA/AyTMSBpQGy0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=AbJdb5w6w7kGge6MK7fpgojp+/1d46380TesN+HnNWM=; b=VlML7hyqFa8pNKYy19G7tWIOeJAmMXBv6cHrGvKpvv7c4bjY1hgK+OyxK/AuOkLlec bNCgfHgzuyK75N1xavkymDxTAG0178HVZ4RnYm0J10Xlv495w1YZQqspSSWP7cNwDMz+ DS6UxLOvl/1KWXJGdHh4f/yePoOT9OX/zuC6f02TTalD7iaURXKaIda9KzVTUShc+nRi akMRs80D9a9uXQwF1U1c+YnNfaEJwBgMA8BJlLHCeV8pTZVHsx7dhm8TgKoyadVthwuN iaHawqlz4oXrllzo/Pge5Siewh2VqEkyRFWNy5dxtY1dR7ixHNi7thuyOnSJAC9L9Nh0 X+QQ== X-Gm-Message-State: APjAAAV73HpqYuApmdvTwFUkwSJn21qlxvg2KMiJs6TqxmARX+pIPUoA oF9DJMPyu6LlaDOPjnPlWI2Dk8LfMDJJOozG X-Received: by 2002:a17:906:1984:: with SMTP id g4mr23027225ejd.260.1556305566537; Fri, 26 Apr 2019 12:06:06 -0700 (PDT) Received: from prevas-ravi.prevas.se (ip-5-186-118-63.cgn.fibianet.dk. [5.186.118.63]) by smtp.gmail.com with ESMTPSA id k19sm2580862ejb.43.2019.04.26.12.06.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Apr 2019 12:06:05 -0700 (PDT) From: Rasmus Villemoes To: linux-arm-kernel@lists.infradead.org, Andrew Morton Cc: Rasmus Villemoes , Will Deacon , Nick Desaulniers , Jason Baron , Nathan Chancellor , Arnd Bergmann , linux-kernel@vger.kernel.org Subject: [PATCH 11/10] arm64: unbreak DYNAMIC_DEBUG=y build with clang Date: Fri, 26 Apr 2019 21:06:02 +0200 Message-Id: <20190426190603.5982-1-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190426130015.GA12483@archlinux-i9> References: <20190426130015.GA12483@archlinux-i9> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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 select EDAC_SUPPORT select FRAME_POINTER select GENERIC_ALLOCATOR -- 2.20.1