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=-9.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham 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 73A37C433B4 for ; Thu, 15 Apr 2021 13:27:44 +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 3B76D611F1 for ; Thu, 15 Apr 2021 13:27:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3B76D611F1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org 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=5LxUybmt8N2SCLOJEmb9TsyVLhAjiYXm8w1O27HrvJU=; b=nH8Ln5tYainATQLffPBwLhnHq deDJXMJhuCjzke1tUEWRkljm+x3GQSSQYZ9ess1n47yx+ZI2DhEPSGGa4vZi25B+mq1mPkAz85B51 KLIqqVty3pTn2GrH8zuj9Q3NRjR2+3m8QZWLu/5HrW5Wd3QdAJRALL/tVjBlA02na1ZDaf8bNOLW4 gqaRHQZ0jfR0CsKQ1OgcvIXWYJLNYoKJHGQoafmRlkYXqoOGnbxElkyW7ut6BhtIUtt70qmkwiAs9 w1k4iKfkFd9t5goktbQ6nJfgDwF/5kqrOC17ZFV75OuHIZXSRmwwSxJYNLDBFjvP+zDj8/wl/MHjL OQCgUcc6Q==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lX20X-00GFb1-KI; Thu, 15 Apr 2021 13:26:09 +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 1lX20T-00GFaj-Om for linux-arm-kernel@desiato.infradead.org; Thu, 15 Apr 2021 13:26:05 +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=JNsgyNGI7tLN0vlDtY+9SHhjV9fQB/6kJdcktrU4I+g=; b=5CXZJfAu5xpMwzreO+5izZr0ao DZUAAvBdNSupklS7y6NZMSEVAA3pozMhd7Z1u8logP2VVLajCl/7SNBOEBQjA3ZEkzvGGwiuRcEHh NMS4dtj2F00x5/n3VzxTofKx6IQ0GuOUllhR+RM5373zECkJiIdReN9L+CSEqlMm6Foy/1CEOlYlJ g19OOP5TtCEZ8agNGbvNCHADmwvK9L6YwJkUKIFlxOldLyHdyI98+BDP9S8LeKtvnwYORRn4Po39p Gaa14JOqCpveTBp+1H6Kog2fDk6P+WAKY9ubjGCcwEEOp7ceUD/zLUeaDFbPNIciq1mrsGCdwM9NC cT83/YMg==; Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lX20R-008bYd-8h for linux-arm-kernel@lists.infradead.org; Thu, 15 Apr 2021 13:26:04 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 30368611F1; Thu, 15 Apr 2021 13:26:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1618493162; bh=a8YGM1QHoejUmqiDy7BCC4AnhOry2uZdLnJGbKmlUmk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JIQBEpSUcpxCqzmgP/zge9t7wuxruG3GEHMThTNvEAs1l3ScE8wGKihQsAAZrWg+K ha6HQSdyAN4sLgi2Czq+M/vhfPtmAmJf3N7Vw+uK4+MmXdHlNF2w2v0aw8+tdlhB5O dw34wOlvjzszW8UISFNUnETSsGNi7IbT4m/a9AmgmqhDCv7nOnYCwigxjugK3A11AQ 0s0iiduCcDKkhYz+eEBKhHcgnOrnxuOaaZgi5jC2tp1V+DG//N42TT7EeL6JPWBWzp EGSx2KsM1G1kWeQxp2MSjq6YKdJpPQhDffcuUD+PfzN7MW+R8R2Y/LC6bjBApUNg5k 0+r+/BMs3uuTg== Date: Thu, 15 Apr 2021 06:25:57 -0700 From: Nathan Chancellor To: Catalin Marinas 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: References: <20210414000803.662534-1-nathan@kernel.org> <20210415091743.GB1015@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210415091743.GB1015@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210415_062603_352573_493DE00D X-CRM114-Status: GOOD ( 12.59 ) 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 10:17:43AM +0100, Catalin Marinas wrote: > Hi Nathan, > > 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? > > -- > Catalin > Hi Catalin, Interesting, this reproduces for me with LLVM 12 or newer with just defconfig. $ make -j"$(nproc)" ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- LLVM=1 LLVM_IAS=1 defconfig arch/arm64/kernel/entry.o https://github.com/ClangBuiltLinux/continuous-integration2/runs/2350258778?check_suite_focus=true Cheers, Nathan _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel