Re: Makefile:610: arch/m32r/Makefile: No such file or directory
On Tue, Dec 29, 2015 at 11:50:06AM +0800, Fengguang Wu wrote: > Hi Sudip, > > Sorry for the noise -- it looks like a bug caused by a recent change > to our build scripts. Your commit is fine. Not my commit. I am just trying to fix the build failures with m32r. So noticed your mail. regards sudip -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: Makefile:610: arch/m32r/Makefile: No such file or directory
On Tue, Dec 29, 2015 at 11:50:06AM +0800, Fengguang Wu wrote: > Hi Sudip, > > Sorry for the noise -- it looks like a bug caused by a recent change > to our build scripts. Your commit is fine. Not my commit. I am just trying to fix the build failures with m32r. So noticed your mail. regards sudip -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: Makefile:610: arch/m32r/Makefile: No such file or directory
Hi Sudip, Sorry for the noise -- it looks like a bug caused by a recent change to our build scripts. Your commit is fine. Thanks, Fengguang On Mon, Dec 28, 2015 at 05:44:19PM +0530, Sudip Mukherjee wrote: > 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: Makefile:610: arch/m32r/Makefile: No such file or directory
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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Makefile:610: arch/m32r/Makefile: No such file or directory
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 vim +610 Makefile 594 echo >&2 ; \ 595 /bin/false) 596 597 endif # KBUILD_EXTMOD 598 599 else 600 # Dummy target needed, because used as prerequisite 601 include/config/auto.conf: ; 602 endif # $(dot-config) 603 604 # The all: target is the default when no target is given on the 605 # command line. 606 # This allow a user to issue only 'make' to build a kernel including modules 607 # Defaults to vmlinux, but the arch makefile usually adds further targets 608 all: vmlinux 609 > 610 include arch/$(SRCARCH)/Makefile 611 612 KBUILD_CFLAGS += $(call cc-option,-fno-delete-null-pointer-checks,) 613 614 ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE 615 KBUILD_CFLAGS += -Os $(call cc-disable-warning,maybe-uninitialized,) 616 else 617 KBUILD_CFLAGS += -O2 618 endif --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: Binary data
Makefile:610: arch/m32r/Makefile: No such file or directory
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 vim +610 Makefile 594 echo >&2 ; \ 595 /bin/false) 596 597 endif # KBUILD_EXTMOD 598 599 else 600 # Dummy target needed, because used as prerequisite 601 include/config/auto.conf: ; 602 endif # $(dot-config) 603 604 # The all: target is the default when no target is given on the 605 # command line. 606 # This allow a user to issue only 'make' to build a kernel including modules 607 # Defaults to vmlinux, but the arch makefile usually adds further targets 608 all: vmlinux 609 > 610 include arch/$(SRCARCH)/Makefile 611 612 KBUILD_CFLAGS += $(call cc-option,-fno-delete-null-pointer-checks,) 613 614 ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE 615 KBUILD_CFLAGS += -Os $(call cc-disable-warning,maybe-uninitialized,) 616 else 617 KBUILD_CFLAGS += -O2 618 endif --- 0-DAY kernel test infrastructureOpen Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation .config.gz Description: Binary data
Re: Makefile:610: arch/m32r/Makefile: No such file or directory
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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: Makefile:610: arch/m32r/Makefile: No such file or directory
Hi Sudip, Sorry for the noise -- it looks like a bug caused by a recent change to our build scripts. Your commit is fine. Thanks, Fengguang On Mon, Dec 28, 2015 at 05:44:19PM +0530, Sudip Mukherjee wrote: > 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/