Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp9654547rwl; Wed, 11 Jan 2023 08:18:07 -0800 (PST) X-Google-Smtp-Source: AMrXdXs7Q69+fJQKC+1iUcgpNJDUIQPBd4oCxY/kypecXup9gI+0rL8952l27UIoEWlLF1aGHKJa X-Received: by 2002:a17:907:c386:b0:82b:423b:b61c with SMTP id tm6-20020a170907c38600b0082b423bb61cmr61874104ejc.9.1673453886982; Wed, 11 Jan 2023 08:18:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673453886; cv=none; d=google.com; s=arc-20160816; b=fshXPUfH76a954xXAYoddlq2eEWLBafltudguM/3hcnSMFWEchGcrEkTprbZVv/jGv +g6mGCb3cqr80yp64p9w89NB3EHOOoZjTZAynDpD0BntdZMKDTq+Qn9pLaDAbnYy81IJ D+jMf7A6cpidpIIIXcs4US5zZ8eBb2aHBopMyfvBXKBERocJA0tbF1a7EquIRk+k5BDv 0R6njl+UIjv0WJ6BSzxiA398rfW99Nz5zexWO7soAVPgsuyckpzOy0VIP/oGb6WNxxIk nj/KnnLolrZ5E1iId+l6q8RGcLeo2bER2l3mky7BpQ5aJLt7gUFHCP3to173x0hb47yW vhRw== 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=yspqmV8n8uMxBrXLAo4qukTZST08VUL+ZwdMf7CyN3U=; b=0rZRk8qOHnfjFcC7oSiglsQVv+vt0sLlx4QrnMjVmlqz8OY4jwrgZe4Kz9zH9LjXe4 s7rmiGG5asTpOGchp2cmh2bu9jx1vzeCbhcC1mC2EqYxxADLd8/BnCcQC3bfu1vehy77 oEB8GcIeTjawZGWmsXSsAcsoeVREZW1AL0HAa0jdvx/9YA0Fn8o7gTl83axMTkGBzpNy kQHusJMsf9SXRepqFiNc2st1TRa9CAqVs+ZHcC8Ef2mB4cYGS1ra08+Pg7Gj9loy7jn7 4Cm3X0XOslLYZSZQARy55sfmUzurq7y8MG+FYX23E3ZpbWNhDVUMsU1gi5rTZerLUiMW goSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="T1ZN/6U7"; 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 d7-20020a50ea87000000b00461540620f1si3038949edo.169.2023.01.11.08.17.54; Wed, 11 Jan 2023 08:18:06 -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="T1ZN/6U7"; 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 S229844AbjAKQCO (ORCPT + 51 others); Wed, 11 Jan 2023 11:02:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231602AbjAKQCJ (ORCPT ); Wed, 11 Jan 2023 11:02:09 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C4A710B48 for ; Wed, 11 Jan 2023 08:02:05 -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=yspqmV8n8uMxBrXLAo4qukTZST08VUL+ZwdMf7CyN3U=; b=T1ZN/6U7jNW9xGgPClMK03QJwy uyjiqhJ8YwgiJ6Eiz0EJ5C/w4I3ofNgkkacNSzJtrwNhjDg3urx1sJyBHEZsQRigWHcWmw9WK6BQC 1pm0Sgn2yHvdXz9PGAZ9vpGeV5XmBi2UCOihMZxWBXNXDzl6K/PHjwrfH9i92XsT+KNBfKwWHGxvI cDzRk98KLWz7TfGLdf7wVm3phZkwXvCWFa6K2IxNlHf0SPNEgByZoK2ydJxplaCJH6rqSwmWoXX+t UzHq6NquaYLhmbCS9svpbsiOYe6KZ6gqWHvrfO3Je81q/g+ytGz177g9/sqlqBc4jYYPMYkIcEs3b MXBXXIGg==; Received: from [2601:1c2:d80:3110:e65e:37ff:febd:ee53] by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pFdXw-00C5iF-IT; Wed, 11 Jan 2023 16:01:48 +0000 Message-ID: <5d8e3316-54bb-40c4-a8a4-dd1b10d1e1a6@infradead.org> Date: Wed, 11 Jan 2023 08:01:47 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: usb.c:undefined reference to `qe_immr' Content-Language: en-US To: Michael Ellerman , kernel test robot , Masahiro Yamada Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Nicolas Schier , Qiang Zhao , linuxppc-dev , Li Yang References: <202301101500.pillNv6R-lkp@intel.com> <87lem9h64t.fsf@mpe.ellerman.id.au> From: Randy Dunlap In-Reply-To: <87lem9h64t.fsf@mpe.ellerman.id.au> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 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 1/10/23 23:39, Michael Ellerman wrote: > Randy Dunlap writes: >> [adding Cc's] >> >> >> On 1/9/23 23:59, kernel test robot wrote: >>> Hi Masahiro, >>> >>> FYI, the error/warning still remains. >>> >>> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master >>> head: 5a41237ad1d4b62008f93163af1d9b1da90729d8 >>> commit: 7b4537199a4a8480b8c3ba37a2d44765ce76cd9b kbuild: link symbol CRCs at final link, removing CONFIG_MODULE_REL_CRCS >>> date: 8 months ago >>> config: powerpc-randconfig-r026-20230110 >>> compiler: powerpc-linux-gcc (GCC) 12.1.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=7b4537199a4a8480b8c3ba37a2d44765ce76cd9b >>> git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git >>> git fetch --no-tags linus master >>> git checkout 7b4537199a4a8480b8c3ba37a2d44765ce76cd9b >>> # save the config file >>> mkdir build_dir && cp config build_dir/.config >>> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=powerpc olddefconfig >>> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=powerpc 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 >>): >>> >>> powerpc-linux-ld: powerpc-linux-ld: DWARF error: could not find abbrev number 74 >>> drivers/soc/fsl/qe/usb.o: in function `qe_usb_clock_set': >>>>> usb.c:(.text+0x1e): undefined reference to `qe_immr' >>>>> powerpc-linux-ld: usb.c:(.text+0x2a): undefined reference to `qe_immr' >>>>> powerpc-linux-ld: usb.c:(.text+0xbc): undefined reference to `qe_setbrg' >>>>> powerpc-linux-ld: usb.c:(.text+0xca): undefined reference to `cmxgcr_lock' >>> powerpc-linux-ld: usb.c:(.text+0xce): undefined reference to `cmxgcr_lock' >>> >> >> .config extract: >> >> # >> # NXP/Freescale QorIQ SoC drivers >> # >> # CONFIG_QUICC_ENGINE is not set >> CONFIG_QE_USB=y >> >> >> This is caused by (drivers/soc/fsl/qe/Kconfig): >> >> config QE_USB >> bool >> default y if USB_FSL_QE >> help >> QE USB Controller support >> >> which does not depend on QUICC_ENGINE, where the latter build provides >> the missing symbols. > > So QE_USB should depend on QUICC_ENGINE no? Yes, that would make sense, but I don't know enough about the hardware. I.e., could CONFIG_PPC_EP88XC have QE_USB without having a full QUICC_ENGINE? thanks. -- ~Randy