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.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,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 4C137C10F14 for ; Sun, 21 Apr 2019 14:05:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1F40E2086A for ; Sun, 21 Apr 2019 14:05:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727514AbfDUOFm (ORCPT ); Sun, 21 Apr 2019 10:05:42 -0400 Received: from mail03.asahi-net.or.jp ([202.224.55.15]:47031 "EHLO mail03.asahi-net.or.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725963AbfDUOFl (ORCPT ); Sun, 21 Apr 2019 10:05:41 -0400 X-Greylist: delayed 783 seconds by postgrey-1.27 at vger.kernel.org; Sun, 21 Apr 2019 10:05:40 EDT Received: from h61-195-96-97.vps.ablenet.jp (h61-195-96-97.vps.ablenet.jp [61.195.96.97]) (Authenticated sender: PQ4Y-STU) by mail03.asahi-net.or.jp (Postfix) with ESMTPA id 629C73E591; Sun, 21 Apr 2019 22:52:35 +0900 (JST) Received: from yo-satoh-debian.ysato.ml (ZM005235.ppp.dion.ne.jp [222.8.5.235]) by h61-195-96-97.vps.ablenet.jp (Postfix) with ESMTPSA id 00597240082; Sun, 21 Apr 2019 22:52:28 +0900 (JST) Date: Sun, 21 Apr 2019 22:52:28 +0900 Message-ID: <87sgubcvoj.wl-ysato@users.sourceforge.jp> From: Yoshinori Sato To: Randy Dunlap Cc: kbuild test robot , kbuild-all@01.org, linux-kernel@vger.kernel.org, Andrew Morton , Linux Memory Management List , paul.mundt@gmail.com, Rich Felker , Linux-sh list Subject: Re: arch/sh/kernel/cpu/sh2/clock-sh7619.o:undefined reference to `followparent_recalc' In-Reply-To: References: <201904201516.DdPznV5M%lkp@intel.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 EasyPG/1.0.0 Emacs/25.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 21 Apr 2019 04:34:36 +0900, Randy Dunlap wrote: > > On 4/20/19 12:40 AM, kbuild test robot wrote: > > Hi Randy, > > > > It's probably a bug fix that unveils the link errors. > > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > > head: 371dd432ab39f7bc55d6ec77d63b430285627e04 > > commit: acaf892ecbf5be7710ae05a61fd43c668f68ad95 sh: fix multiple function definition build errors > > date: 2 weeks ago > > config: sh-allmodconfig (attached as .config) > > compiler: sh4-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 > > reproduce: > > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > > chmod +x ~/bin/make.cross > > git checkout acaf892ecbf5be7710ae05a61fd43c668f68ad95 > > # save the attached .config to linux build tree > > GCC_VERSION=7.2.0 make.cross ARCH=sh > > Hi, > > Once again, the question is the validity of the SH2 .config file in this case > (that was attached). > > I don't believe that it is valid because CONFIG_SH_DEVICE_TREE=y, > which selects COMMON_CLK, and there is no followparent_recalc() in the > COMMON_CLK API. > > Also, while CONFIG_HAVE_CLK=y, drivers/sh/Makefile prevents that from > building clk/core.c, which could provide followparent_recalc(): > > ifneq ($(CONFIG_COMMON_CLK),y) > obj-$(CONFIG_HAVE_CLK) += clk/ > endif > > Hm, maybe that's where the problem is. I'll look into that more. > Yes. Selected target (CONFIG_SH_7619_SOLUTION_ENGINE) is non devicetree and used superh specific clk modules. So allyesconfig output is incorrect. I fixed Kconfig to output the correct config. > > > It would be Good if someone from the SuperH area could/would comment. > > Thanks. > > > > If you fix the issue, kindly add following tag > > Reported-by: kbuild test robot > > > > > > All errors (new ones prefixed by >>): > > > >>> arch/sh/kernel/cpu/sh2/clock-sh7619.o:(.data+0x1c): undefined reference to `followparent_recalc' > > > > --- > > 0-DAY kernel test infrastructure Open Source Technology Center > > https://lists.01.org/pipermail/kbuild-all Intel Corporation > > > > > -- > ~Randy -- Yosinori Sato