Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3917774yba; Mon, 29 Apr 2019 10:36:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqzOjC2XHZ5WuddVpHENCw3m5FM2UcZXn2nIv+tRjjeNW6oFpJeBKOqV8PyNbTQ4PlnAzawZ X-Received: by 2002:a65:6656:: with SMTP id z22mr42763288pgv.333.1556559387419; Mon, 29 Apr 2019 10:36:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556559387; cv=none; d=google.com; s=arc-20160816; b=YgsK3KbzXYp6Td5PwBJn67iMpQhInUBTZvoxo/iuMgTKAYRRUYNBoNMjGHJCz4Gw45 b4hlAmeEQoua6U/9XeU3RevTSxrhci7GgPL8FN26QOMddJ14KV7pjxQ80qwfRlgMPBHA 0xFzngEvNCKUDvpYQ1VB8iowQTLXGnJz5wi8w2QHoBlEfT9DxsRGhOEm3AJgzvCwD6wV 2sampljfRoxgH97MK4T8clICTFAKRzKVWEBzBr4+2ou6DZRizvwFj5yNzXiFfaXYE3dm BZC/mnzzqulAddhyPHx5c+h9vC4/unQe1w66vJEsEslaCjhSALMvu+62mKs4V5C/Ck3U a1Uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=zpbyIVAlhMbRdeAB1M3cn6Wkwo9TF52AlNw1cUUTqHY=; b=s11PESdDT2SKgN9YadI9VGw+vLL2zzZwBTDMbFATgjXBcRDee6Hhbetv7lTOTM+a0M W0KDpcCOLc1sXLvoGqJR+Ti2qMNbVn82c8nz5uDGTT5WsFMDc9eT4o92NPMZHlX9BcFP o4v9FethJurs/Vtbx7oy35Z2Ijo+hVofjgOci5KMKs4fJftWt5mp10CRg6DeHPOajdIJ pejwgS3QAue14+STRVOqU+1jj4K88Gtkpq9FrYTWIMHDkht1Lu+U38+TPtfp1ORUgobp GJKx+yrsYpXVorqcXBAda9c+oDjaPkzEesyJmDJsv+axIE9dUItiqrZfd4X950fsadBa cQdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=vch2kdmh; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p30si5350829pgl.53.2019.04.29.10.36.11; Mon, 29 Apr 2019 10:36:27 -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=@google.com header.s=20161025 header.b=vch2kdmh; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729026AbfD2RdM (ORCPT + 99 others); Mon, 29 Apr 2019 13:33:12 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:42587 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728816AbfD2RdL (ORCPT ); Mon, 29 Apr 2019 13:33:11 -0400 Received: by mail-pf1-f195.google.com with SMTP id w25so5647796pfi.9 for ; Mon, 29 Apr 2019 10:33:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=zpbyIVAlhMbRdeAB1M3cn6Wkwo9TF52AlNw1cUUTqHY=; b=vch2kdmhm3l/dYckKUYwTvyy6uXkMyZ9o3lJstXxJLuYnD3TbLEy3yWlSDh0vKuwif Kf3mGYGdG2QKV02tpYo0oG0vO8JNt2F9ZFLumLfRWLRu21hlnPQe9ewIidI/KUGZfDH8 chQPhoRQgf7tS+IC+9XCrZ81Me0OjI762s90xxvqBvoi1g/GTsKSdHa2JyVk0JvbAUKx kr2ArBxjThj4+xSh8X/91M+uhfjGs1fAPcvHBex1n8hYIz9Ck9xbIyFCTWKa57hw0ZYW nU0iHKd57k3x2C8Z0I5rRs4gFqm1k0c8tfNQX+FbjDAFH0hA/y+0iJzwzY5RKb2CXuKs FpVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=zpbyIVAlhMbRdeAB1M3cn6Wkwo9TF52AlNw1cUUTqHY=; b=bec4txDHxMEXKD6xWDxFOWy4wV0Qpiz3p64Yro7cuLaThiVtQvclKLbsajGAuo9ff+ 6FAy7HXY11O9n98zNqOes5ohG7FXUcSpdQmqzEFFq4ZIPXw+4gD82GcIDoRvbQQD5FDa nb+k6/TLKSQW5zrna5zq0JxQ6dsG4w9qDVbMDpPb+JtaX3Txf1AhxfjSlnGdrPxurN66 7fJm3PnqBhYFQn30mxkdoRfT59SiLipYZ4797t0C+WwQbaYys6iF42kVPfYVUk7p1k85 bOQ5jE2inOU0dfQmG5eXKXRibNoMyOniT0nCTx2Og36kMog0HJi/9MXeaA8OQl44PZiV r3zQ== X-Gm-Message-State: APjAAAXFUxvKzUcrSiUpE3Iw71y9LQZM7cJb8HFyGB/27PRbNdX2I7SO /JcIUCA9CZejjp+6+dpOkPm28RdD+PqspKtYCtFogg== X-Received: by 2002:a63:c702:: with SMTP id n2mr21510100pgg.255.1556559190626; Mon, 29 Apr 2019 10:33:10 -0700 (PDT) MIME-Version: 1.0 References: <20190426130015.GA12483@archlinux-i9> <20190426190603.5982-1-linux@rasmusvillemoes.dk> In-Reply-To: <20190426190603.5982-1-linux@rasmusvillemoes.dk> From: Nick Desaulniers Date: Mon, 29 Apr 2019 10:32:59 -0700 Message-ID: Subject: Re: [PATCH 11/10] arm64: unbreak DYNAMIC_DEBUG=y build with clang To: Rasmus Villemoes Cc: Linux ARM , Andrew Morton , Will Deacon , Jason Baron , Nathan Chancellor , Arnd Bergmann , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > > 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. Reviewed-by: Nick Desaulniers > select EDAC_SUPPORT > select FRAME_POINTER > select GENERIC_ALLOCATOR > -- > 2.20.1 > -- Thanks, ~Nick Desaulniers