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=-6.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,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 BBDE1C64E7B for ; Mon, 30 Nov 2020 15:58:45 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 50FC82076C for ; Mon, 30 Nov 2020 15:58:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="1pUtxxmX" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 50FC82076C 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=merlin.20170209; h=Sender:Content-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=9kYBpBpOErymxS2g3swfb9Tw2hqg7a5qj9206e5zPA4=; b=1pUtxxmXETS2GA+CNORTAcMQk kj47d0e3tz2C1TZhy0OsAAOixrjx66QTR9NnfqwQjz+STV/MnObCt3RwVJBqX5BpwrWw643C+UDv0 a/zl77qYvgWKv3kpMHuwytqucIYJewXr5l/7aWKcHJ1U3sJz9ZxgMZzKboLaNZdfpMGDx3H0LCzRp ilxyz38BPAOLrAO15yD9ZMiK49CpbONolg1wq+Lo7UbhXa/fyU6na5n8J052WncdUlxk84B+kRih6 x1wLonbE8aAI+j1R/NSePYa02AL9YHhFn03YrYGRqfJzUGvAtppcWFPMeziDlH/9+wLMg4QEH7E5F YZB5Yzvug==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kjlYD-0004nv-Ej; Mon, 30 Nov 2020 15:57:17 +0000 Received: from foss.arm.com ([217.140.110.172]) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kjlYA-0004n0-7j for linux-arm-kernel@lists.infradead.org; Mon, 30 Nov 2020 15:57:15 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0029AD6E; Mon, 30 Nov 2020 07:57:08 -0800 (PST) Received: from [192.168.1.179] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 4A75A3F718; Mon, 30 Nov 2020 07:57:06 -0800 (PST) Subject: Re: [next] arm64: mte.c:176:17: error: 'struct thread_struct' has no member named 'sctlr_tcf0' To: Naresh Kamboju , Linux-Next Mailing List , open list , Linux ARM , lkft-triage@lists.linaro.org References: From: Steven Price Message-ID: <2fd63f1f-9552-760c-baf8-9ccf1df69de2@arm.com> Date: Mon, 30 Nov 2020 15:57:05 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-GB X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201130_105714_352781_CEA256B5 X-CRM114-Status: GOOD ( 19.14 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stephen Rothwell , Arnd Bergmann , Peter Collingbourne , andreyknvl@google.com, Catalin Marinas , Andrew Morton , Vincenzo Frascino , Will Deacon Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 30/11/2020 15:42, Naresh Kamboju wrote: > Linux next tag 20201130 arm64 build failed due to below error, > - gcc-9, gcc-10 and clang-10 build FAIL > - gcc-8 build PASS. > > make --silent --keep-going --jobs=8 > O=/home/tuxbuild/.cache/tuxmake/builds/2/tmp ARCH=arm64 > CROSS_COMPILE=aarch64-linux-gnu- 'CC=sccache aarch64-linux-gnu-gcc' > 'HOSTCC=sccache gcc' > arch/arm64/kernel/mte.c: In function 'set_sctlr_el1_tcf0': > arch/arm64/kernel/mte.c:176:17: error: 'struct thread_struct' has no > member named 'sctlr_tcf0' > 176 | current->thread.sctlr_tcf0 = tcf0; > | ^ > At top level: > arch/arm64/kernel/mte.c:168:13: warning: 'set_sctlr_el1_tcf0' defined > but not used [-Wunused-function] > 168 | static void set_sctlr_el1_tcf0(u64 tcf0) > | ^~~~~~~~~~~~~~~~~~ > make[3]: *** [scripts/Makefile.build:283: arch/arm64/kernel/mte.o] Error 1 > make[3]: Target '__build' not remade because of errors. This looks like a bad conflict resolution of a patch in Andrew's set. 3394cb084a8d ("arm64: mte: add in-kernel MTE helpers") has reintroduced set_sctlr_el1_tcf0() which was removed in e710c29e0177 ("arm64: mte: make the per-task SCTLR_EL1 field usable elsewhere") (in arm64 tree). But this doesn't happen in the original patch arm64-mte-add-in-kernel-mte-helpers.patch in Andrew's set. Steve > Reported-by: Naresh Kamboju > > steps to reproduce: > > # TuxMake is a command line tool and Python library that provides > # portable and repeatable Linux kernel builds across a variety of > # architectures, toolchains, kernel configurations, and make targets. > # > # TuxMake supports the concept of runtimes. > # See https://docs.tuxmake.org/runtimes/, for that to work it requires > # that you install podman or docker on your system. > # > # To install tuxmake on your system globally: > # sudo pip3 install -U tuxmake > # > # See https://docs.tuxmake.org/ for complete documentation. > > > tuxmake --runtime docker --target-arch arm64 --toolchain gcc-9 > --kconfig defconfig --kconfig-add > https://builds.tuxbuild.com/1l0FGU7GBRQu6kT79iDAwsHkQ6d/config > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel