Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp11691236rwl; Tue, 3 Jan 2023 03:21:39 -0800 (PST) X-Google-Smtp-Source: AMrXdXtOef/wjqp3cB5kHFyHUKY40alR3K5lbSBrhruDTDwrsUAvchHNJGsfi0HaS0gH7z534Bfq X-Received: by 2002:a17:903:264c:b0:192:85fe:9f0a with SMTP id je12-20020a170903264c00b0019285fe9f0amr27662735plb.69.1672744899041; Tue, 03 Jan 2023 03:21:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672744899; cv=none; d=google.com; s=arc-20160816; b=XXCq3fIHmg3l1qvYKnJGZfA8XTPdVo7IYGaTtZxn+KSwjGF/3rcCK1+bMw3pnyx5qT gL4i7IaxA80udpiQZcoORQ4lFgPc1B9mJXTKXp1vfcRc6Cn9rf8qkY9yRoUktquNFzwW WxpSK5YPI63oj7fCvjWfdP+sN0Bsl9Zzk4GygHmDNrdTiB9sWcD0tbHa5IM7Fhrox3Kt sWhgbC52Lir/qFkxe7FJIOGRR5HS6LyNtt0uV+ocW9hpQ8e3YjtWBN846tHKWCyIxWtW pGHqY9M2FlMUbkwQ2lCS+/BmH618MBnU891muyswBYyYRAveluEVCvr/1/9n8Ei7Rekv SPvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id; bh=ANKCpcNtWAZSP3ykyuWpCX/Fl+0NSUI81kr6AGq+6l0=; b=GJfPK6rezkQuWRmgL2/YTkGM3CfOf0lrOAm3BbQtDzuzi3Za4TUDZhK8IcXW2BKACc z1Jty+FNf/SWNfboVEndzWwE/0ooVDjHC57bH1Gkty3oSX0YRL57IcQp95Q9ZfEN4gfx Q7WbjKLJ88KgEaq9b1yYCSYjEzIL22FFPUT0VeM1yBzSqYVnOzgNdROuY1o93lMY1egv S0L2AfvbsnX1N8VDfw2ZBCvYjCS+0vn8U3sTverJ/04B0mMzSIFzofTtx33Zin1tPWI0 08awsi//CwvsqBGSZ0DIF8KwOCO2twPrUDAK1P3Gy+wyh9NKuhZndkICKV82K709TTAc wg0w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ix18-20020a170902f81200b0019258fbb7a6si30299433plb.118.2023.01.03.03.21.31; Tue, 03 Jan 2023 03:21:39 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237128AbjACKyd convert rfc822-to-8bit (ORCPT + 61 others); Tue, 3 Jan 2023 05:54:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230124AbjACKya (ORCPT ); Tue, 3 Jan 2023 05:54:30 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 243482DEB for ; Tue, 3 Jan 2023 02:54:30 -0800 (PST) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pCevy-0008N9-4j; Tue, 03 Jan 2023 11:54:18 +0100 Received: from [2a0a:edc0:0:900:1d::4e] (helo=lupine) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1pCevw-003Xhj-J0; Tue, 03 Jan 2023 11:54:16 +0100 Received: from pza by lupine with local (Exim 4.94.2) (envelope-from ) id 1pCevv-0004ck-W5; Tue, 03 Jan 2023 11:54:16 +0100 Message-ID: <97983dd8404782630814a6dada2e863fe914a397.camel@pengutronix.de> Subject: Re: ld.lld: error: undefined symbol: devm_ti_sci_get_handle From: Philipp Zabel To: Randy Dunlap , kernel test robot Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Arnd Bergmann Date: Tue, 03 Jan 2023 11:54:15 +0100 In-Reply-To: <77e77c4f-0cde-090d-5918-c1a5f85ea5fb@infradead.org> References: <202212222201.6lgWXMZT-lkp@intel.com> <77e77c4f-0cde-090d-5918-c1a5f85ea5fb@infradead.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.38.3-1+deb11u1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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 Do, 2022-12-22 at 16:40 -0800, Randy Dunlap wrote: > > On 12/22/22 06:45, kernel test robot wrote: > > Hi Philipp, > > > > FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant. > > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > > head: 9d2f6060fe4c3b49d0cdc1dce1c99296f33379c8 > > commit: a6af504184c981efd253f986e6fc54db57b1d39f reset: ti-sci: Allow building under COMPILE_TEST > > date: 8 months ago > > config: arm-randconfig-r046-20221222 > > compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 98b13979fb05f3ed288a900deb843e7b27589e58) > > 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 > >         # install arm cross compiling tool for clang build > >         # apt-get install binutils-arm-linux-gnueabi > >         # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a6af504184c981efd253f986e6fc54db57b1d39f > >         git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > >         git fetch --no-tags linus master > >         git checkout a6af504184c981efd253f986e6fc54db57b1d39f > >         # save the config file > >         mkdir build_dir && cp config build_dir/.config > >         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm olddefconfig > >         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash > > > > If you fix the issue, kindly add following tag where applicable > > > Reported-by: kernel test robot > > > > All errors (new ones prefixed by >>): > > > > > > ld.lld: error: undefined symbol: devm_ti_sci_get_handle > >    >>> referenced by reset-ti-sci.c:229 (drivers/reset/reset-ti-sci.c:229) > >    >>> reset/reset-ti-sci.o:(ti_sci_reset_probe) in archive drivers/built-in.a > > Two (2) patches have been posted for this build error (in chronological order): > > 2022-10-29: >   https://lore.kernel.org/lkml/20221030055636.3139-1-rdunlap@infradead.org/ > 2022-12-15: >   https://lore.kernel.org/all/20221215170036.2308972-1-arnd@kernel.org/ > > Can someone apply one of them or at least comment on them? > Philipp? Sorry for the delay, I've applied your patch and will send a pull request shortly. regards Philipp