Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp910192pxf; Wed, 7 Apr 2021 14:49:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLw2jfzPMz8ikCsEx3yDIKnB3Ns/gBQQBGyXL6RVSS7iaO0eOZbD5pAk/+1tDJA8WMyTp+ X-Received: by 2002:a02:6a09:: with SMTP id l9mr5502889jac.57.1617832198316; Wed, 07 Apr 2021 14:49:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617832198; cv=none; d=google.com; s=arc-20160816; b=Paq2Q1yevJOmgYPuDbssdkmPYp8hSumEiXtsyK/JuOfgXbkKfcFwsWXYhJjxZUrx5k +swl8+MCIFafjabt6KvazcCXp7ty+kv9ORIXJT5beGucn8wNMNQqI0TrIcvubgolNW9a 2Sl9DY2B2jy8MOo+RyB/PcBEow5iXD83/JdWgHgzLs0WAUWTt+GsJhRtz3mpQ6T8s1Jt 5UnSJok4C1UdF4zLZqLYsUVQz8nnDC3P9/zGuT44z4eT/+wmkl1vygBGJVYyL0i6Y8mO bY54lY+3/v5FPLAEqCs+ChNFrkt2x6XNSVaGfU0MbgUagmUkUfX1AFmRz8dANMxmwVNF bY6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=5SNQQe7SDzzhVV+H2kFmmlWK21vWH8/yxUYO1nxEqu4=; b=iLVerZFgrCLFFjKdM81d3Ii8GJlYe8e+x5c5/bYSjuwvZNbIL+IM50VKI7zcINRRhH 32sWMeFJ35VWt2T/2ksg6gMajMCK07LH1yD8ZlxffiYixFPDZboVJuZVC1/pOJsf/gP7 WGE3VxKeS7OCVYB/kTb0C71xajH/ner5ohGuTK9sbA1UTNRVNRjl5RyWoUBKQf7tcsPf 618g0BqIUwbmXu0XCGvJ38VGjtDkC7mi3ov2I8742jZwAIMGJ3GXZnKr8NkHG3AnREW4 RjUd70izE9Yr17LiIFLleXyrKuk/orT8JXILmh9i11EVGDR1L2SJrEg046lQOvE2zBPn QDKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=hs0riZ6T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x14si3750026jat.96.2021.04.07.14.49.45; Wed, 07 Apr 2021 14:49:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=hs0riZ6T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355115AbhDGSHu (ORCPT + 99 others); Wed, 7 Apr 2021 14:07:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355081AbhDGSHt (ORCPT ); Wed, 7 Apr 2021 14:07:49 -0400 Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39D64C061760 for ; Wed, 7 Apr 2021 11:07:39 -0700 (PDT) Received: by mail-lj1-x22e.google.com with SMTP id 184so21791066ljf.9 for ; Wed, 07 Apr 2021 11:07:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5SNQQe7SDzzhVV+H2kFmmlWK21vWH8/yxUYO1nxEqu4=; b=hs0riZ6T4676ue38OfeGRYZTbWFL9hAfOIYxN1W76PIE+V/ACTdSbf+DYpcbqxVqwp a9A6U4hCotDwQcGfmX5RbJ4NlFy2JsKpCCYEPUAGLVa4nyQbgpJKs4US7ENa/Lpyhu+7 IF2JwuHCgCAIMSaC3TlefGi4y2ecSmLv9K1lXzxbszyTtGJFaFky34CYv2p+1H1ng/CD f1BPll6jlCQJSzbPLThEJVE78IAW+F/Gq6bafTTu7NIqYJg7ZdEtA1pBoggyoADJymV/ 7DmW+n+PnxKqfr5LnIiPkFBZYuavnjU34YSRTGvoLFA7EMgVHTx6/TP5+mnCdTtMHW7v RxMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5SNQQe7SDzzhVV+H2kFmmlWK21vWH8/yxUYO1nxEqu4=; b=p5nKe5aEPx6rubqFohTGmJDhAjwy9qNkzJCGP6XZTIaM/I+2kFB5WhPh9nRP4cru/5 Wl678xTWuLUhO4uulG6MlWRj4TTF1RxtgR35zaGGjSQxyBXGa39ZIASkJPpvOFtJiv31 ehSs5Z2SlAKSkasL22UawAH37UJ8BnX/uXjJ+XPQxFxAdHNaPIzZOjhn1YUk9f86kI4v PB72XWZIL7y4z1+NQhBdZZKB8g0WHeT0BGwM6Q4+sINVV1vPd5SLBz9b5UuHJ/NkPw05 QI4PC03WB+BUXR0bGaPkd66DJdR0BgaZkhsxGqIoErtymUk8BfdnJOPImNysEqSD4hwn Zjcg== X-Gm-Message-State: AOAM532ld/OxN8pOcQSLXzqDeVo+W3P5OF+5UGFecw8l71ui2xEXexsl dbUKoFRfEHItCJ+DAwdKTYChpjLTWv7aFtbvfALgXw== X-Received: by 2002:a2e:b008:: with SMTP id y8mr2809573ljk.233.1617818857479; Wed, 07 Apr 2021 11:07:37 -0700 (PDT) MIME-Version: 1.0 References: <202104071815.lq85YO6c-lkp@intel.com> In-Reply-To: <202104071815.lq85YO6c-lkp@intel.com> From: Nick Desaulniers Date: Wed, 7 Apr 2021 11:07:26 -0700 Message-ID: Subject: Re: arm-linux-gnueabi-ld: warning: orphan section `__cpuidle_method_of_table' from `arch/arm/mach-omap2/pm33xx-core.o' being placed in section `__cpuidle_method_of_table' To: Kees Cook , Masahiro Yamada Cc: kbuild-all@lists.01.org, LKML , Ingo Molnar , kernel test robot , Linux ARM , Linux Kbuild mailing list Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 7, 2021 at 3:52 AM kernel test robot wrote: > > Hi Kees, > > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: 2d743660786ec51f5c1fefd5782bbdee7b227db0 > commit: 5a17850e251a55bba6d65aefbfeacfa9888cd2cd arm/build: Warn on orphan section placement > date: 7 months ago > config: arm-randconfig-r033-20210407 (attached as .config) > compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0 > reproduce (this is a W=1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5a17850e251a55bba6d65aefbfeacfa9888cd2cd > git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > git fetch --no-tags linus master > git checkout 5a17850e251a55bba6d65aefbfeacfa9888cd2cd > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > All warnings (new ones prefixed by >>): > > >> arm-linux-gnueabi-ld: warning: orphan section `__cpuidle_method_of_table' from `arch/arm/mach-omap2/pm33xx-core.o' being placed in section `__cpuidle_method_of_table' > >> arm-linux-gnueabi-ld: warning: orphan section `__cpuidle_method_of_table' from `arch/arm/mach-omap2/pm33xx-core.o' being placed in section `__cpuidle_method_of_table' > >> arm-linux-gnueabi-ld: warning: orphan section `__cpuidle_method_of_table' from `arch/arm/mach-omap2/pm33xx-core.o' being placed in section `__cpuidle_method_of_table' Looks like arch/arm/include/asm/cpuidle.h defines `CPUIDLE_METHOD_OF_DECLARE` to create a static struct in such a section. Only arch/arm/mach-omap2/pm33xx-core.c uses that macro. > > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org -- Thanks, ~Nick Desaulniers