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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 23670C433FE for ; Mon, 7 Nov 2022 08:42:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231376AbiKGImJ (ORCPT ); Mon, 7 Nov 2022 03:42:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231226AbiKGImH (ORCPT ); Mon, 7 Nov 2022 03:42:07 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E46D15718 for ; Mon, 7 Nov 2022 00:42:06 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 15E6860F2A for ; Mon, 7 Nov 2022 08:42:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 32FC8C433C1; Mon, 7 Nov 2022 08:42:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667810525; bh=6/rRe98IP6PIZB1yipp2jsNoHskOFCsNKbIOunYu2lI=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=JIHvGIloJjiDl4ASdCWhSYYqoNxF7+8+6MPfBitj04OxphJHgUst2dFn+R//kM3U3 hsffbc5t5b+gffwKNnPOPheFNvVTghSr6giEfpE9x84gyZOvlW4uIa9ScanL2/Ecke h0h2sGGKZ2FJuNC+7uByVkBSXYyXl2nLudeKYPiYt7tdWNfc08lSK7SXt/75pV2how UJzo6UncA4MXbtVANaVUDVf+yf+UjRbGZ0/opk1vvkG7egVg+5D0cuekM0kb3tW4C3 korJ2MRbo8ZqbJ/DBwNk8flz9IMnHmT3+uo3jIM7HodwZp4cMTnyAIdE+g9KeFwyMm 6kfah5xbW19VA== Message-ID: <118ef884-de2e-3bd3-4888-f9154e5a300e@kernel.org> Date: Mon, 7 Nov 2022 09:42:01 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: ld.lld: error: undefined symbol: gpmc_omap_onenand_set_timings Content-Language: en-US To: Roger Quadros , kernel test robot , Miquel Raynal Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org References: <202211050325.XVtPvMvy-lkp@intel.com> <402e120a-044e-12ac-7d10-cf8b3b5a1404@kernel.org> <1937d7b5-89f4-0cb2-957a-bda2dcbbdb37@kernel.org> From: Krzysztof Kozlowski In-Reply-To: <1937d7b5-89f4-0cb2-957a-bda2dcbbdb37@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/11/2022 09:41, Roger Quadros wrote: > > > On 04/11/2022 21:36, Krzysztof Kozlowski wrote: >> On 04/11/2022 15:29, kernel test robot wrote: >>> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master >>> head: ee6050c8af96bba2f81e8b0793a1fc2f998fcd20 >>> commit: 854fd9209b20837ab48c2e6714e5e44dd8ea33a2 memory: omap-gpmc: Allow building as a module >>> date: 6 months ago >>> config: arm-buildonly-randconfig-r004-20221104 >>> compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 2bbafe04fe785a9469bea5a3737f8d7d3ce4aca2) >>> 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=854fd9209b20837ab48c2e6714e5e44dd8ea33a2 >>> git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git >>> git fetch --no-tags linus master >>> git checkout 854fd9209b20837ab48c2e6714e5e44dd8ea33a2 >>> # 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 SHELL=/bin/bash >>> >>> If you fix the issue, kindly add following tag where applicable >>> | Reported-by: kernel test robot >> >> +Cc Miquel, >> >> Hm, I am pretty sure we already fixed it... but it seems not. I think >> this needs dependency in MTD_ONENAND_OMAP2 - one is module, second >> cannot be built-in. > > We fixed MTD_NAND_OMAP2 but missed this MTD_ONENAND_OMAP2. > > I'll send out a patch soon. I already sent a patch for this. Can you review it? Best regards, Krzysztof