Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp2899830rdb; Mon, 4 Dec 2023 10:27:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IE+PRcSeAQXOoqt1bnqDuQUKR5gE5WtkEViZ+pdES8cEsucULmWKN7Q3eFoLMR6xzaN4/Bt X-Received: by 2002:a05:6358:9392:b0:170:17eb:2fa9 with SMTP id h18-20020a056358939200b0017017eb2fa9mr1505194rwb.34.1701714420227; Mon, 04 Dec 2023 10:27:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701714420; cv=none; d=google.com; s=arc-20160816; b=zyaEABfk6ZPYILPwwVF3x4SHWZzAIo3q0Fl3xJmISE/Hzr8BsaT2QJXGCvw8tzir8z YtIcKDQJz+fyEFQ7vSg8clUwvWeroJ70JgDwuus17NV5loi611+ER3J9J2lBy6rl4Ufd HakNNKHRehdPRrYr0yGNJcwqIGCgKgWlcBgf+v4ZmCBOjgsbaH31o0tdJU+8cfiQTu5h OHLMBRQESpbcUwFNGYbgm8XxLxENVCJ1k6pdLZdnTKznKs700ABoAuomn2aqW97mI7z1 mLeRmpmDs3rcvYC2yz4zbo5DI3sZK2wPMJOVcprgDvB7SFVWcGx09LIgMfsEejjlY2Ct OErA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Bwa+mWa9t9Jyqa5fhOpyXs9O2/cRDmN3kPMWCUex0Jc=; fh=BWZLAdTB8+D42OHc7T13fQKZifAsBkQqD5Ibhz0IZaI=; b=p1kcB9GCI601ToCwbAN1bkX/4IC1halKdgBIhMVCoep0gYMvQ2BpGjttHFNv3XcXcK UE9IhSw5mbO/ak97k8GRNdVjIkQErLy+/gxKSLTGPOBlYCpGmLAw79qJsVuZ2M7ylott oWxyPGLFX8ep1Klj3mafDHg3gvL+cBqf9NWiWaMYII3K++EJ7iZD2I/sbGnERBjYoRAu YGh59OVkDMDw8kn7+c7XHEKy8Hp05pKaAIP61p7VuJ0qW1W62nd0Roqn//voo+BwcgRi 5Eydm2slT5iw8XecfJ//KngGpKz5PKPHKzwZP+pfAtG7aTYtGC/EelrROtqwbkFGG/EA G85A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=k9XwJYVG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id i8-20020a63d448000000b005c1b2fdfe6dsi8518224pgj.573.2023.12.04.10.26.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 10:27:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=k9XwJYVG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 81F9D809A769; Mon, 4 Dec 2023 10:26:57 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230479AbjLDS01 (ORCPT + 99 others); Mon, 4 Dec 2023 13:26:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230368AbjLDS0P (ORCPT ); Mon, 4 Dec 2023 13:26:15 -0500 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A88C192 for ; Mon, 4 Dec 2023 10:26:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Bwa+mWa9t9Jyqa5fhOpyXs9O2/cRDmN3kPMWCUex0Jc=; b=k9XwJYVGkMrMDLoLh4nAjQ10yB JA82oqtLwxB4l8ixHe0Q1l6os0C5NTD7yuLM1NPFI3oCR9SvPLcyltEikswkChKWWqoNeYfmdIs5B NNd0/t8gi9tN7LlZJxFuVvV3JPPPgOCF1mmBzPFFBG/ilKFFIcD6EiskOCj7Osg5lmsWu164eg+a+ h6bvegq1DwigISF2gmGAZmZmvKykmF0Bwb4K1RpJRxZx1XW/lzfsX2hTO2bYy78knkwHgDDp4N2zp Fr3v/V4Rbny7qCaUtk3KIo2+2/ZKGZ+fRLOHwgjrQ5ugtQwoXLFK7np4jVt9iWBnlmaRfURNeWeW9 OMUuOnBg==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:32798) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rADe1-0005u1-1B; Mon, 04 Dec 2023 18:26:13 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1rADe3-0000th-5Q; Mon, 04 Dec 2023 18:26:15 +0000 Date: Mon, 4 Dec 2023 18:26:15 +0000 From: "Russell King (Oracle)" To: Nathan Chancellor Cc: Naresh Kamboju , clang-built-linux , Linux ARM , open list , Linux Regressions , lkft-triage@lists.linaro.org, Arnd Bergmann , Nick Desaulniers Subject: Re: clang-nightly: vdso/compat_gettimeofday.h:152:15: error: instruction variant requires ARMv6 or later Message-ID: References: <20231204181304.GA2043538@dev-arch.thelio-3990X> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231204181304.GA2043538@dev-arch.thelio-3990X> Sender: Russell King (Oracle) X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Mon, 04 Dec 2023 10:26:57 -0800 (PST) On Mon, Dec 04, 2023 at 11:13:04AM -0700, Nathan Chancellor wrote: > Hi Naresh, > > On Mon, Dec 04, 2023 at 05:33:26PM +0530, Naresh Kamboju wrote: > > Following build errors noticed on Linux next-20231204 tag with clang-nightly > > for arm and arm64. > > > > ## Test Regressions (compared to next-20231201) > > * arm64, build > > - clang-nightly-defconfig > > - clang-nightly-defconfig-40bc7ee5 > > - clang-nightly-lkftconfig > > - clang-nightly-lkftconfig-kselftest > > > > * arm, build > > - clang-nightly-allnoconfig > > - clang-nightly-axm55xx_defconfig > > - clang-nightly-bcm2835_defconfig > > - clang-nightly-clps711x_defconfig > > - clang-nightly-defconfig > > - clang-nightly-exynos_defconfig > > - clang-nightly-imx_v6_v7_defconfig > > - clang-nightly-keystone_defconfig > > - clang-nightly-lkftconfig > > - clang-nightly-lkftconfig-kselftest > > - clang-nightly-omap2plus_defconfig > > - clang-nightly-pxa910_defconfig > > - clang-nightly-s3c6400_defconfig > > - clang-nightly-s5pv210_defconfig > > - clang-nightly-sama5_defconfig > > - clang-nightly-shmobile_defconfig > > - clang-nightly-tinyconfig > > - clang-nightly-u8500_defconfig > > - clang-nightly-vexpress_defconfig > > > > > > Reported-by: Linux Kernel Functional Testing > > > > > > Build log on arm64: > > --------- > > In file included from lib/vdso/gettimeofday.c:5: > > In file included from include/vdso/datapage.h:135: > > arch/arm64/include/asm/vdso/compat_gettimeofday.h:152:15: error: > > instruction variant requires ARMv6 or later > > 152 | asm volatile("mov %0, %1" : "=r"(ret) : "r"(_vdso_data)); > > | ^ > > :1:2: note: instantiated into assembly here > > 1 | mov r4, r1 > > | ^ I have to wonder why Clang is complaining about "mov r4, r1" because that certainly should not require "ARMv6 or later". On the face of it, this to me looks like a bug in Clang. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!