From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752232AbbL1MOf (ORCPT ); Mon, 28 Dec 2015 07:14:35 -0500 Received: from mail-pf0-f176.google.com ([209.85.192.176]:34267 "EHLO mail-pf0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751915AbbL1MOb (ORCPT ); Mon, 28 Dec 2015 07:14:31 -0500 Date: Mon, 28 Dec 2015 17:44:19 +0530 From: Sudip Mukherjee To: kbuild test robot Cc: Masahiro Yamada , kbuild-all@01.org, linux-kernel@vger.kernel.org, Michal Marek Subject: Re: Makefile:610: arch/m32r/Makefile: No such file or directory Message-ID: <20151228121419.GA23624@sudip-pc> References: <201512281648.h80lcrRG%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201512281648.h80lcrRG%fengguang.wu@intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 28, 2015 at 04:17:51PM +0800, kbuild test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: 74bf8efb5fa6e958d2d7c7917b8bb672085ec0c6 > commit: a436bb7b806383ae0593cab53d17fc9676270cd3 kbuild: use relative path more to include Makefile > date: 9 months ago > config: m32r-m32104ut_defconfig (attached as .config) > reproduce: > wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > git checkout a436bb7b806383ae0593cab53d17fc9676270cd3 > # save the attached .config to linux build tree > make.cross ARCH=m32r > > All errors (new ones prefixed by >>): > > Makefile:350: scripts/Kbuild.include: No such file or directory > >> Makefile:610: arch/m32r/Makefile: No such file or directory > Makefile:782: scripts/Makefile.kasan: No such file or directory > Makefile:783: scripts/Makefile.extrawarn: No such file or directory > make[1]: *** No rule to make target 'scripts/Makefile.extrawarn'. > make[1]: *** No rule to make target 'scripts/Makefile.kasan'. > >> make[1]: *** No rule to make target 'arch/m32r/Makefile'. > make[1]: Failed to remake makefile 'scripts/Makefile.extrawarn'. > make[1]: Failed to remake makefile 'scripts/Makefile.kasan'. > make[1]: Failed to remake makefile 'arch/m32r/Makefile'. > make: *** empty variable name. Stop. > make[1]: *** [scripts_basic] Error 2 > scripts/Makefile.asm-generic:11: scripts/Kbuild.include: No such file or directory > make[2]: *** No rule to make target 'scripts/Kbuild.include'. > make[2]: Failed to remake makefile 'scripts/Kbuild.include'. > make[1]: *** [asm-generic] Error 2 > make[1]: Target 'headers_install' not remade because of errors. > make: *** [sub-make] Error 2 Hi Fengguang, I tried to reproduce this but the only error that I am getting is: gcc-4.9.0-nolibc/m32r-linux/bin/m32r-linux-ld: target elf32-m32r not found make[3]: *** [arch/m32r/boot/compressed/piggy.o] Error 1 make[2]: *** [arch/m32r/boot/compressed/vmlinux] Error 2 make[1]: *** [zImage] Error 2 make[1]: *** Waiting for unfinished jobs.... ERROR: "memory_start" [fs/udf/udf.ko] undefined! ERROR: "memory_end" [fs/udf/udf.ko] undefined! ERROR: "memory_end" [drivers/scsi/sg.ko] undefined! ERROR: "memory_start" [drivers/scsi/sg.ko] undefined! ERROR: "memory_end" [drivers/i2c/i2c-dev.ko] undefined! ERROR: "memory_start" [drivers/i2c/i2c-dev.ko] undefined! make[2]: *** [__modpost] Error 1 make[1]: *** [modules] Error 2 regards sudip