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=-18.3 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_IN_DEF_DKIM_WL autolearn=unavailable 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 220ADC433B4 for ; Wed, 7 Apr 2021 18:07:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0415A6124C for ; Wed, 7 Apr 2021 18:07:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355119AbhDGSHv (ORCPT ); Wed, 7 Apr 2021 14:07:51 -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-Google-Smtp-Source: ABdhPJwJNOvYgYm1lfahzlzGZfuIteWu/SZcJyO6DVlEOPM0ttQZT0pogKKbVmd3rhrpn4mb4fjMih/XAhat5Oh5dbU= 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 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=-8.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 C974BC433B4 for ; Wed, 7 Apr 2021 18:09:39 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 663926128A for ; Wed, 7 Apr 2021 18:09:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 663926128A Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.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=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=z6pBVYeLBDY1zhnHjbyuR1R8hi5KW9xnhcrr7GE6oWo=; b=a9IAUhblu0LKKYk9WRkPWvwt0 uA8lIfMjgVFRuvZkjTbpN5n0GZRJuWtwMyaf4iXeOynls+D+ujzJu+1YLl218NvdsbUtK/K5iK7S+ A5b8eYa81SfzPRtonO9q14YxPlxouxTtLe8FItjiJ++EzJSZkSES/aKIHQXNzUyCq3HVJpQeo9/me hX7GaJj0VUQFnkS9VF1KIwy1yea4zUiQ4/MwCXvwRQBxs+khe/PpBLOHLme3LjTZpAyJgKSj8Vc7e JPk4S8CISgFcLKm/zFumsbGjaZ4j2MefD/GcfIe1R/hJH0OdlVriwK+oTZauBqnqJDvZDhnsiXEgP 6qWDWIeBA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lUCae-005hw7-Io; Wed, 07 Apr 2021 18:07:44 +0000 Received: from mail-lj1-x22a.google.com ([2a00:1450:4864:20::22a]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lUCaa-005hvS-8v for linux-arm-kernel@lists.infradead.org; Wed, 07 Apr 2021 18:07:42 +0000 Received: by mail-lj1-x22a.google.com with SMTP id o16so21797492ljp.3 for ; Wed, 07 Apr 2021 11:07:38 -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=EFcVmL3xF3/lZvY9wwehuUEtpenpEYf90VZwl5+RIiX48nINwfkwePVhDLhByKuKR5 lQqm4cIuLR2Y4SWDtIQklQNn24way7RJo2CHwt8KpGHaFLW8byRjCbkVOxz7bzLdoTNv yA/JK+qBHu56PinxbdbA8q758a5vtjZECfCqH8cyDiQOznnQasd/73lJASKAiydJWw07 MdumKQwcjsJudAsO8nVN/7kTCE9ZBz54Q4SwOXojxi1iwwmmCw0HMpfNsetUZ893HTsh 9wJLjUBSDqWbyz1KStCytcN1C+HNxpCA5iqQDOK9eaChHIJz3haUddrx9pxD+nwkMbLu kpgA== X-Gm-Message-State: AOAM532RXwU4yrBc43pLzt/jTWfRbjw/6PXbdlvYgvEkXdtP3Ifu9HtF JH2otsxCyLTZDhYqDBHuNZuAC1citxPULwUzq7VfOA== X-Google-Smtp-Source: ABdhPJwJNOvYgYm1lfahzlzGZfuIteWu/SZcJyO6DVlEOPM0ttQZT0pogKKbVmd3rhrpn4mb4fjMih/XAhat5Oh5dbU= 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210407_190740_400637_68D908BD X-CRM114-Status: GOOD ( 17.63 ) 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, 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============3611500061476406015==" MIME-Version: 1.0 From: Nick Desaulniers To: kbuild-all@lists.01.org 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' Date: Wed, 07 Apr 2021 11:07:26 -0700 Message-ID: In-Reply-To: <202104071815.lq85YO6c-lkp@intel.com> List-Id: --===============3611500061476406015== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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.gi= t master > head: 2d743660786ec51f5c1fefd5782bbdee7b227db0 > commit: 5a17850e251a55bba6d65aefbfeacfa9888cd2cd arm/build: Warn on orpha= n 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=3D1 build): > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbi= n/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=3D5a17850e251a55bba6d65aefbfeacfa9888cd2cd > 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=3D$HOME/0day COMPILER=3Dgcc-9.3.0 make.cros= s ARCH=3Darm > > 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_tab= le' from `arch/arm/mach-omap2/pm33xx-core.o' being placed in section `__cpu= idle_method_of_table' > >> arm-linux-gnueabi-ld: warning: orphan section `__cpuidle_method_of_tab= le' from `arch/arm/mach-omap2/pm33xx-core.o' being placed in section `__cpu= idle_method_of_table' > >> arm-linux-gnueabi-ld: warning: orphan section `__cpuidle_method_of_tab= le' from `arch/arm/mach-omap2/pm33xx-core.o' being placed in section `__cpu= idle_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(a)lists.01.org -- = Thanks, ~Nick Desaulniers --===============3611500061476406015==--