Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp803691pxb; Thu, 15 Apr 2021 07:03:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQxp/jlsOi+wUK6icgPo0MGgTRIr6uwbv1AQuYnmhoMTe3FOhfvQBhHDvAgLWyAXrn2q+z X-Received: by 2002:a17:90a:4b8c:: with SMTP id i12mr4101553pjh.66.1618495414549; Thu, 15 Apr 2021 07:03:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618495414; cv=none; d=google.com; s=arc-20160816; b=XoefpLHMfpc4Qm2wjalU4nm6ZeDfm7w7Npn7SOVIVLEJYWNRbwisLiav3L8apvRPJM DSbFk5BKw7qKLytYVxDhFc+CS5BHZpH01JVCh8lt4G2brJof9vpkicI9cf6qmnYFYner ASSge5wvAkCmaMi7IgcXfICdHaSrO/Dn3kx7eBW0690li0EJtbrXGldcQZ/WKE/XHwdw kXeM+AI0xeYO6/X6qNhIcOxQ97wStjZB4mucoJAyICebWYJcXDqmYvkChRXB+Fr4KaZa JYfu+zKp7bJjCa6N04nfKi5N/o5V40seyaPCnyV79/dAahB0W9FaQ4KZJuG9UjZkHfjZ m3qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=QoS87p3gdI5k36J8iEUf0PZ+3JBb3aFVZjo7rgNQxys=; b=z9ODoBvu8nykKBe0LwzOt+DfcfHK1Jwm2T+14MVi6BEYhqJRf09S8hJbymC9g2/fho SrgGK799vOhSP32XUfOOeVV9UDe96hF3GXS9x8ELSSPH90aMejp1OJQnaMtfnCI36rfD rvXyiKiXHqQvQHZsCDFDCbgU6FgEFISvgWoQpNoi3uBPDPs5dlxis81df4K1trhWfrge o2PpGOgi9lI1b8LjnILVQq/s5kDcy9tFitRRYo4bm3Meg7bzGuw0k27GmC0JmpIsauoD v24ykimx+A3DNugCh2VlzBhBA4JUAOj7MsM/1Bg7QFTlfWqxklL1zX8smUERwqC9TGVq hSzQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l12si3410989plb.414.2021.04.15.07.03.18; Thu, 15 Apr 2021 07:03:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233059AbhDOOCy (ORCPT + 99 others); Thu, 15 Apr 2021 10:02:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:54320 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230056AbhDOOCw (ORCPT ); Thu, 15 Apr 2021 10:02:52 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 953A6611AD; Thu, 15 Apr 2021 14:02:27 +0000 (UTC) Date: Thu, 15 Apr 2021 15:02:25 +0100 From: Catalin Marinas To: Nathan Chancellor Cc: Will Deacon , Nick Desaulniers , Sami Tolvanen , Jian Cai , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com, stable@vger.kernel.org Subject: Re: [PATCH] arm64: alternatives: Move length validation in alternative_{insn,endif} Message-ID: <20210415140224.GE1015@arm.com> References: <20210414000803.662534-1-nathan@kernel.org> <20210415091743.GB1015@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 15, 2021 at 06:25:57AM -0700, Nathan Chancellor wrote: > On Thu, Apr 15, 2021 at 10:17:43AM +0100, Catalin Marinas wrote: > > On Tue, Apr 13, 2021 at 05:08:04PM -0700, Nathan Chancellor wrote: > > > After commit 2decad92f473 ("arm64: mte: Ensure TIF_MTE_ASYNC_FAULT is > > > set atomically"), LLVM's integrated assembler fails to build entry.S: > > > > > > :5:7: error: expected assembly-time absolute expression > > > .org . - (664b-663b) + (662b-661b) > > > ^ > > > :6:7: error: expected assembly-time absolute expression > > > .org . - (662b-661b) + (664b-663b) > > > ^ > > > > I tried the latest Linus' tree and linux-next (defconfig) with this > > commit in and I can't get your build error. I used both clang-10 from > > Debian stable and clang-11 from Debian sid. So, which clang version did > > you use or which kernel config options? > > Interesting, this reproduces for me with LLVM 12 or newer with just > defconfig. It fails for me as well with clang-12. Do you happen to know why it works fine with previous clang versions? -- Catalin