Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp888487rwj; Thu, 22 Dec 2022 16:58:28 -0800 (PST) X-Google-Smtp-Source: AMrXdXtoV/6QcmXa9l67zqRwxqxXMdlJPRVMpXIcnxQtFA3TToH5bPaASL/kVZKAeuyb2BMXxEJR X-Received: by 2002:aa7:d04d:0:b0:46d:543:b4c7 with SMTP id n13-20020aa7d04d000000b0046d0543b4c7mr6361744edo.17.1671757108317; Thu, 22 Dec 2022 16:58:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671757108; cv=none; d=google.com; s=arc-20160816; b=hxJnrMTtS8XPyjzpq89vaisrCFICx3GrzEjWCg6UEnQBtfdY4vOeYMGSphsqdl6ZHj NiIgsNeIuNLcmw5UX0qPHWvM4mUOeZYEoE+hR9stQKWJNyN/LqM44cyC2cbgD2SGqC2W 0zagXqgEgVbZYUw5h9Ndvkb1EGn/Tys90PUPsIWesxwmai/Yo8AhLa80Wo1Z8FWOFA0M PMP2Grcb/U/xCFDQ2SgV45a3yORB3EQpVd2TYLhExmNHr3dfhm3ajb7rorGQ3KSUdQ1a NoRmQpXQlLpWSh4a1727WGn9UrI+o4hK29+UZ+SO3O7IaYU2uEejGHmwrl/ATTuGJVg6 Hh1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=imsK8yQRr0h6fwP6rbqJ2xAJ74fIuelOZhWGi3JmFe0=; b=fhjnl+B9d6+2kWA6U+l1Y2f5lmcaVMsv+CmBYD5Zz8fv37elp+jyo1Osji74BbFwDD oCWFenx/JEGFVrXAZkHTaYM4xGpAOzx6MCgjv8EohkZMNPdpCk7o8suJeDA7TkTmV6II jsddvsXsxmyGz1/oK/7IYEoFq2/H2rynRTngH7FbQfuhk/QgCkz/TTPTxvZdnV+tLzuL SHciZQ7QTTqEzrZYxNY8poIYO5z2s/4bf6Noo1p7COt/onmZpqp4qhD41t4616ZyMdFZ uH3Wd/ENXrW10JrDQ1DbMNaviRzEoZmvzTv4uqu0RmykLa9mjR/zmrajUb5S2YdY1zoy x9gA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=EKxOx4MV; 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 d16-20020a056402401000b0046eff871047si1746295eda.366.2022.12.22.16.58.12; Thu, 22 Dec 2022 16:58:28 -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; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=EKxOx4MV; 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 S230034AbiLWAlJ (ORCPT + 69 others); Thu, 22 Dec 2022 19:41:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229656AbiLWAlG (ORCPT ); Thu, 22 Dec 2022 19:41:06 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F90EDEAA for ; Thu, 22 Dec 2022 16:41:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=imsK8yQRr0h6fwP6rbqJ2xAJ74fIuelOZhWGi3JmFe0=; b=EKxOx4MVQYqC0lg92BlH8jzFSG +7DxNNz3C3c5qW49jwK2ok+KRV5gBeoqcESqb+n8sch6NUG+uqfHAKjcHmyRRGqMEvAlh0Xqazzli tSY2MztQG8gkwG9CvnJvc7E5g6MOiGtE10CAGA8RZQbWFKPhVbzEAoy2zXo4omLERAGQVbAuK75DI BUYHufHxdfjBhgnoYlaaOI4rR/uIrx+IBniBqf+BN7I/6hfXuskWZC3Tf2WnXg02TkzHubhSFEUZR MoRL5QIpG2hj7DS+NRikZz6MsAYcGhPuMfrbuSSJ3O6HE7ezTp4cGsHVTkj0lIUz9kzjefLnGXj3F hKH70+dA==; Received: from [2601:1c2:d80:3110::a2e7] by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1p8W7K-001Miv-Hp; Fri, 23 Dec 2022 00:40:54 +0000 Message-ID: <77e77c4f-0cde-090d-5918-c1a5f85ea5fb@infradead.org> Date: Thu, 22 Dec 2022 16:40:53 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: ld.lld: error: undefined symbol: devm_ti_sci_get_handle Content-Language: en-US To: kernel test robot , Philipp Zabel Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Arnd Bergmann References: <202212222201.6lgWXMZT-lkp@intel.com> From: Randy Dunlap In-Reply-To: <202212222201.6lgWXMZT-lkp@intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00,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 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? thanks. -- ~Randy