Received: by 2002:a05:6358:16cd:b0:dc:6189:e246 with SMTP id r13csp315761rwl; Fri, 4 Nov 2022 00:13:54 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4I0OCMMqOc5DTbr8sNB1droW8lwceaminwxM7+ACgGzUt4XBbu+uFm9vk01r2HRkiJQb4e X-Received: by 2002:a17:907:6d18:b0:78e:259d:c391 with SMTP id sa24-20020a1709076d1800b0078e259dc391mr33633369ejc.615.1667546034630; Fri, 04 Nov 2022 00:13:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667546034; cv=none; d=google.com; s=arc-20160816; b=YcJa727NpNawybYP1QSsZnnKHNjnYG4MoPukk2sJb0Ve3vXgm8gN1WkXqEHPRclzFC e7dO1oW6J+1gLUmbYQ06MgH9Q3qBbUcunBMgPCujDoUKj0DAX52csLEpkKIuRNRQ975X gel+n+ioXB64QP6x6gpwqznXqEJAXlAL9uz1xir+K8s38OShYQrhtmobdWz0xkgcCmm+ u2fBCaH7ljlTVOL9ip9hedA1h94glhR4diqD53RiSK8/C1g8TGTeuw2SmfL/+RyWzd8R 0loa/aRRiXEToWjPCmsvjV6PusVo1o6lmU1QaxLywWSZH6gyo2ipZUYq8GncRJrOCL0c 7axA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=FmhcEzcAaT4JoaBKQYxPTtwBhfJ9kTKNdTaZyhqNAKU=; b=rL4DNNaObQhcI0T2GwEefnE4sShcuGIU2H+qqCDD5LQ/r5P2wxOm2B8qIHq6LWTyNu wzU3pRogpuyfjFaxdW3Lh9d8oPPz6HHVTfttStuAsOb6SFwXtVIqFI5lQ44sADFpFSBr +MzURvmH+lSMA/8MnIyjHr7XkfLW1CN8JWlxR1xYmnfJeJVBRQUqQcDoZ2MOvdnKXufm tNh+XU4xQZZJNNIhO5gk/8siAgnF4kCsdTP7V1WHeatmaPUXmofXSDDUBJf+xeCBK3lR OUD+Q9ps73fvBgw6S5iJjm/w4gTAtXgoIkGDdMIvjAzOQ7+5RAWYVZtK3q2Q3tuDyQn3 aUeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="MhiAKoS/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hb13-20020a170907160d00b00782f3e3bb71si4533137ejc.912.2022.11.04.00.13.31; Fri, 04 Nov 2022 00:13:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="MhiAKoS/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231699AbiKDGt2 (ORCPT + 96 others); Fri, 4 Nov 2022 02:49:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231650AbiKDGtJ (ORCPT ); Fri, 4 Nov 2022 02:49:09 -0400 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D4A72DCA for ; Thu, 3 Nov 2022 23:48:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1667544538; x=1699080538; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=8BfVOxPqbksXWW429r5a3/bA+9u59z7eqKkCviPvp8s=; b=MhiAKoS/qZ1qd2lWxjvFD+5QKT/sf6XNZO66VDvejK/7848Ohw6gykE3 42zD15zN1LN1XwkphT8k/AUOrYq5t/F4MLp5T7NzhkpxIYI67tDWoW+76 X2L8s+wcmf+OrqInx9o6GduYHp6oQgAsc1CX6iR7D8CROlEuQigSxldB1 BVUaKG+I4W6EG1ujI+sL9e/fbNC2IpMF+26Qbsg98zQEzA+30gK15tZhi vfHvP9poTYO8KTdM+xHAKNPl3dkNCyNFgH/lx8IKCCYpw2QfB7D+yLsHH Ei/rK5xpahcp5vwgLEj9e+q1mF4f9r+divb1JVBbPR5qeF8PgQopk98H7 w==; X-IronPort-AV: E=McAfee;i="6500,9779,10520"; a="311634049" X-IronPort-AV: E=Sophos;i="5.96,136,1665471600"; d="scan'208";a="311634049" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Nov 2022 23:48:58 -0700 X-IronPort-AV: E=McAfee;i="6500,9779,10520"; a="668258649" X-IronPort-AV: E=Sophos;i="5.96,136,1665471600"; d="scan'208";a="668258649" Received: from rongch2-mobl.ccr.corp.intel.com (HELO [10.254.215.240]) ([10.254.215.240]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Nov 2022 23:48:56 -0700 Subject: Re: progs/test_ksyms_btf.c:37:21: error: no member named 'cpu' in 'struct rq' To: Andres Freund , kernel test robot Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Arnaldo Carvalho de Melo References: <202210270554.FMcABmOT-lkp@intel.com> <20221029220425.p6lcwx65e4aqqkiw@awork3.anarazel.de> From: "Chen, Rong A" Message-ID: <93b22dc2-76bd-f59b-aa86-836863b98b17@intel.com> Date: Fri, 4 Nov 2022 14:48:54 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <20221029220425.p6lcwx65e4aqqkiw@awork3.anarazel.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/30/2022 6:04 AM, Andres Freund wrote: > Hi, > > On 2022-10-27 05:02:14 +0800, kernel test robot wrote: >> First bad commit (maybe != root cause): >> >> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master >> head: 98555239e4c3aab1810d84073166eef6d54eeb3d >> commit: 600b7b26c07a070d0153daa76b3806c1e52c9e00 tools bpftool: Fix compilation error with new binutils >> date: 3 months ago >> compiler: gcc-11 (Debian 11.3.0-8) 11.3.0 >> reproduce: >> # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=600b7b26c07a070d0153daa76b3806c1e52c9e00 >> git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git >> git fetch --no-tags linus master >> git checkout 600b7b26c07a070d0153daa76b3806c1e52c9e00 >> make O=/tmp/kselftest headers >> make O=/tmp/kselftest -C tools/testing/selftests >> >> If you fix the issue, kindly add following tag where applicable >> | Reported-by: kernel test robot >> >> All errors (new ones prefixed by >>): >> >>>> progs/test_ksyms_btf.c:37:21: error: no member named 'cpu' in 'struct rq' >> out__rq_cpu = rq->cpu; >> ~~ ^ >> progs/test_ksyms_btf.c:44:27: error: no member named 'cpu' in 'struct rq' >> out__cpu_0_rq_cpu = rq->cpu; >> ~~ ^ >> progs/test_ksyms_btf.c:48:25: error: no member named 'cpu' in 'struct rq' >> out__this_rq_cpu = rq->cpu; >> ~~ ^ >> 3 errors generated. >> -- >>>> progs/test_ksyms_btf_null_check.c:25:26: error: no member named 'cpu' in 'struct rq' >> *(volatile int *)(&rq->cpu); >> ~~ ^ >> 1 error generated. >> -- >>>> progs/test_ksyms_weak.c:41:29: error: no member named 'cpu' in 'struct rq' >> out__existing_typed = rq->cpu; >> ~~ ^ >> 1 error generated. > > I tried to reproduce this, without success. And it's not really clear to me > how it could be related to the change either... Hi Andres, Sorry for the inconvenience, this error can be reproduced by `make O=/tmp/kselftest -C tools/testing/selftests/bpf`, but it shouldn't be related to your commit, the build of parent commit stopped in early stage which caused the false positive. Best Regards, Rong Chen > > Greetings, > > Andres Freund >