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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E0D08C433EF for ; Wed, 22 Dec 2021 18:34:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; 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=oryv9Rl35FFFBj85CiKpFgI0fS2H7ESEY9jJ9NhxNUc=; b=eTA4s9HIaN/ukw 6ITjjVbJJ2+4aEsWDEldsl9kzDLroW2v9P3BOLRpuhxjD4ce1DIF6UYg37JzFc9VGY2hf5l6RiuvE 3HMuHukAR4IsvJZ2EJUkivDIxPJ8RYLUui6LFvQDyxC/HcL4Bvr0IxOlxzr0Sdd9z1F6A5ghrhNc8 Z4sfKgtAIW5IutvpdrO5Q+PmeQTT+PHwSLKPmTYGEleiV83tUtRYiI5qW3y14QX50bOGQPRU4JVm4 +27bdniSc35RojCDonLU/3OXKIC4Jgvv4joYGUVJ9KxAsgwJf+7NDbKmWuklXOC4E7scXlq3Jnr5Q OHiELotomkNrvRFKylrA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n06Q5-00B8EF-S0; Wed, 22 Dec 2021 18:32:58 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n06Q2-00B8DD-4G for linux-arm-kernel@lists.infradead.org; Wed, 22 Dec 2021 18:32:55 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 832F861C18; Wed, 22 Dec 2021 18:32:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C1803C36AE5; Wed, 22 Dec 2021 18:32:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1640197973; bh=oFYOckPrfQfT+uCoOEZdyGToL0hqy4zg5P6iJUy3w1U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dyMhwi0LEaJGm8qABqcqgBke3EtgOYjBBVJEZeAtY8BmH6px+WmDk82rO7+W92Mu1 8pO0dmA5kBM97u0Ox7C8kmNWqYAGx3Ys+BwUOoZmCoLs94h2uroISKAda33lnQlX/r 18JpPiEJx+Pyq7FMqec5mGNQHIOOSTy0AMeZEfUFh+LcIgcqRsxmB6Z3eWIBzrjjc2 8E+UCxMEdv23dVEa9yEXG3JY1ZLZMWbr+g9NLfdfKq/VNKiG7HEMYCkUFYrWYCBGAU uQQba9SLIef6ahPwmBppHOBZvlD8IC0MZN109fOl4hkV8VjDLrlgHLw0tfxtPvD6b5 4MC2yQgkebysQ== Date: Wed, 22 Dec 2021 11:32:48 -0700 From: Nathan Chancellor To: Naresh Kamboju Cc: llvm@lists.linux.dev, open list , Linux-Next Mailing List , Linux ARM , Nick Desaulniers , Arnd Bergmann , Catalin Marinas , Ard Biesheuvel , Nicolas Pitre , Linus Walleij Subject: Re: [next] arm: current.h:53:6: error: out of range pc-relative fixup value Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211222_103254_242119_1502B468 X-CRM114-Status: GOOD ( 14.15 ) 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 Wed, Dec 22, 2021 at 11:57:20PM +0530, Naresh Kamboju wrote: > [ Please ignore this email if it is already reported ] > > On Linux next 20211220 (and 20211222) tag following arm config builds failed > with clang-11, clang-12, clang-13 and clang-nightly. > > Build errors: > ------------- > In file included from /builds/linux/kernel/sched/core.c:10: > In file included from /builds/linux/include/trace/events/sched.h:8: > In file included from /builds/linux/include/linux/kthread.h:6: > In file included from /builds/linux/include/linux/sched.h:12: > /builds/linux/arch/arm/include/asm/current.h:53:6: error: out of range > pc-relative fixup value > asm(LOAD_SYM_ARMV6(%0, __current) : "=r"(cur)); > ^ > /builds/linux/arch/arm/include/asm/insn.h:25:2: note: expanded from > macro 'LOAD_SYM_ARMV6' > " ldr " #reg ", =" #sym " \n\t" \ > ^ > :1:3: note: instantiated into assembly here > ldr r2, =__current > ^ Report on our issue tracker with discussion: https://github.com/ClangBuiltLinux/linux/issues/1551 Ard has a fix that should resolve this here: https://lore.kernel.org/r/20211222104939.1154570-1-ardb@kernel.org/ I am about to reply with a Tested-by tag, I have tested LLVM 12 and 13 and my 14 build is running right now. Might be helpful for you to run that patch through your matrix as well. Cheers, Nathan _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel