From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BD800C433ED for ; Thu, 15 Apr 2021 14:04:30 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8357A61249 for ; Thu, 15 Apr 2021 14:04:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8357A61249 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=eWHqqm13DtqGzJXpn81qTSgPyBhpi2NlIYKiLM16ME4=; b=jyQVnjuRQVthXWtPboWB2MguG 0SVr1IsbvLrhD57L6zdZJpM1zZTHBxK88S2tXwlNlPFo4c3swC/RqU5+RipvaQhrJ3NK5+8tBDHqY Rlax84YS9f2ltwfszenpyfOhMAehuCAD7wnK/wQufCap71KbHiwxJNVKDMQ5M7pShJ48Vk0I/Ydhp lzMysKod00iJfA+PNpnM3Goo9AA7QYkP8BzR6bP2mpz11x9dpU+x32TqCpjb6fw7IRqfehtYhULdh 5DTlrkR9DhfQ3oSY5sZ1gfe12GffFs1NAYK9u0lrNuP+r5ujvBSDDeCwyYzyXrdbh7gIXExhzqZIH S0m6QDk0A==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lX2Zm-00GMmy-P1; Thu, 15 Apr 2021 14:02:34 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lX2Zk-00GMmm-1u for linux-arm-kernel@desiato.infradead.org; Thu, 15 Apr 2021 14:02:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=QoS87p3gdI5k36J8iEUf0PZ+3JBb3aFVZjo7rgNQxys=; b=3qvlw+RCmTuKOq5ISxYlWwIr9r VjqsjCpiNHhmr5DAMNO6Tqe/dCAyR5v1u6B6yqUo8n7sEUh1yavtfxozBhkSqZbwfvBfBlHDvJE7D MgxT2PqIuTGNtoOEKPuG8LhZnwF3SnHRaROYaPfV+BsgnFWdVnBydRKShpOx5KX0T6Ah0k2M6UIeu LRSmzEMhljsMonuc17cnhQZ6cz/DyL3u+LiEx8X2kb1lfPLV6AsvAagjEMAxGaRmqbV3iQDLBf0Hu vD8ln8R1MZ9V5fmKzC2aGwJBnKKGfDAXzweW2rCTyKinw+Z334pv/JsY7btoalyoD0KYFyHbo+QRa Qvw/ZaTQ==; Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lX2Zh-008dDt-D7 for linux-arm-kernel@lists.infradead.org; Thu, 15 Apr 2021 14:02:30 +0000 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-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210415_070229_487596_DEB24810 X-CRM114-Status: GOOD ( 15.06 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel