All of lore.kernel.org
 help / color / mirror / Atom feed
* Makefile:636: arch/score/Makefile: No such file or directory
@ 2018-04-26  2:23 kbuild test robot
  2018-04-26  7:15 ` Arnd Bergmann
  0 siblings, 1 reply; 5+ messages in thread
From: kbuild test robot @ 2018-04-26  2:23 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: kbuild-all, linux-kernel

Hi Arnd,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   26ed24e429d89e045e5eb2d2b75215244347b7f2
commit: b8c9c8f0190f4004d3d4364edb2dea5978dfc824 arch: remove score port
date:   7 weeks ago
config: score-spct6600_defconfig
compiler: score-elf-gcc (GCC) 4.9.4
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout b8c9c8f0190f4004d3d4364edb2dea5978dfc824
        make.cross ARCH=score  spct6600_defconfig
        make.cross ARCH=score 

All errors (new ones prefixed by >>):

>> Makefile:636: arch/score/Makefile: No such file or directory
>> make[1]: *** No rule to make target 'arch/score/Makefile'.
   make[1]: Failed to remake makefile 'arch/score/Makefile'.
   make: *** [sub-make] Error 2
--
   Makefile:505: arch/score/Makefile: No such file or directory
>> make[1]: *** No rule to make target 'arch/score/Makefile'.
   make[1]: Failed to remake makefile 'arch/score/Makefile'.
>> Kconfig:12: can't open file "arch/score/Kconfig"
   make[2]: *** [oldconfig] Error 1
   make[1]: *** [oldconfig] Error 2
   make: *** [sub-make] Error 2
--
   Makefile:505: arch/score/Makefile: No such file or directory
>> make[1]: *** No rule to make target 'arch/score/Makefile'.
   make[1]: Failed to remake makefile 'arch/score/Makefile'.
>> Kconfig:12: can't open file "arch/score/Kconfig"
   make[2]: *** [olddefconfig] Error 1
   make[2]: Target 'oldnoconfig' not remade because of errors.
   make[1]: *** [oldnoconfig] Error 2
   make: *** [sub-make] Error 2
--
   Makefile:505: arch/score/Makefile: No such file or directory
>> make[1]: *** No rule to make target 'arch/score/Makefile'.
   make[1]: Failed to remake makefile 'arch/score/Makefile'.
>> Kconfig:12: can't open file "arch/score/Kconfig"
   make[2]: *** [spct6600_defconfig] Error 1
   make[1]: *** [spct6600_defconfig] Error 2
   make: *** [sub-make] Error 2

vim +636 Makefile

433dc2eb Masahiro Yamada    2017-10-12  630  
6dd3f13e Michal Marek       2015-07-16  631  # The arch Makefile can set ARCH_{CPP,A,C}FLAGS to override the default
6dd3f13e Michal Marek       2015-07-16  632  # values of the respective KBUILD_* variables
6dd3f13e Michal Marek       2015-07-16  633  ARCH_CPPFLAGS :=
6dd3f13e Michal Marek       2015-07-16  634  ARCH_AFLAGS :=
6dd3f13e Michal Marek       2015-07-16  635  ARCH_CFLAGS :=
a436bb7b Masahiro Yamada    2015-03-27 @636  include arch/$(SRCARCH)/Makefile
a1c48bb1 Geert Uytterhoeven 2014-05-27  637  

:::::: The code at line 636 was first introduced by commit
:::::: a436bb7b806383ae0593cab53d17fc9676270cd3 kbuild: use relative path more to include Makefile

:::::: TO: Masahiro Yamada <yamada.masahiro@socionext.com>
:::::: CC: Michal Marek <mmarek@suse.cz>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Makefile:636: arch/score/Makefile: No such file or directory
  2018-04-26  2:23 Makefile:636: arch/score/Makefile: No such file or directory kbuild test robot
@ 2018-04-26  7:15 ` Arnd Bergmann
  2018-04-26  7:28   ` Fengguang Wu
  0 siblings, 1 reply; 5+ messages in thread
From: Arnd Bergmann @ 2018-04-26  7:15 UTC (permalink / raw)
  To: kbuild test robot, Fengguang Wu; +Cc: kbuild-all, Linux Kernel Mailing List

On Thu, Apr 26, 2018 at 4:23 AM, kbuild test robot <lkp@intel.com> wrote:
> Hi Arnd,
>
> FYI, the error/warning still remains.
>
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head:   26ed24e429d89e045e5eb2d2b75215244347b7f2
> commit: b8c9c8f0190f4004d3d4364edb2dea5978dfc824 arch: remove score port
> date:   7 weeks ago
> config: score-spct6600_defconfig

Please stop trying to build the removed architectures: tile, blackfin,
metag, m32r, frv, mn10300, cris and score.

https://lwn.net/Articles/748074/ has details about why this broke.

Note that we do have a few new architectures that you may want
to add if you haven't done this already: nds32 and riscv were added
this year, and a couple of older architectures that didn't have upstream
gcc releases now have those, and I uploaded gcc binaries to
https://cdn.kernel.org/pub/tools/crosstool/.

This should allow building everything we have in the kernel now.
Unfortunately the nds32 toolchain I uploaded is a little incomplete,
but I have a gcc-6.4 build that (mostly) works and gcc-8 should
be fine as well once it gets released.

      Arnd

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Makefile:636: arch/score/Makefile: No such file or directory
  2018-04-26  7:15 ` Arnd Bergmann
@ 2018-04-26  7:28   ` Fengguang Wu
  2018-04-27  1:00     ` Li, Philip
  0 siblings, 1 reply; 5+ messages in thread
From: Fengguang Wu @ 2018-04-26  7:28 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: kbuild test robot, kbuild-all, Linux Kernel Mailing List, Hao,
	Shun, Philip Li

CC Shun Hao.

On Thu, Apr 26, 2018 at 09:15:01AM +0200, Arnd Bergmann wrote:
>On Thu, Apr 26, 2018 at 4:23 AM, kbuild test robot <lkp@intel.com> wrote:
>> Hi Arnd,
>>
>> FYI, the error/warning still remains.
>>
>> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
>> head:   26ed24e429d89e045e5eb2d2b75215244347b7f2
>> commit: b8c9c8f0190f4004d3d4364edb2dea5978dfc824 arch: remove score port
>> date:   7 weeks ago
>> config: score-spct6600_defconfig
>
>Please stop trying to build the removed architectures: tile, blackfin,
>metag, m32r, frv, mn10300, cris and score.
>
>https://lwn.net/Articles/748074/ has details about why this broke.

Sorry about that!  It looks the architectures removal is not thorough
enough. Hao, would you help take a look?

>Note that we do have a few new architectures that you may want
>to add if you haven't done this already: nds32 and riscv were added
>this year, and a couple of older architectures that didn't have upstream
>gcc releases now have those, and I uploaded gcc binaries to
>https://cdn.kernel.org/pub/tools/crosstool/.
>
>This should allow building everything we have in the kernel now.
>Unfortunately the nds32 toolchain I uploaded is a little incomplete,
>but I have a gcc-6.4 build that (mostly) works and gcc-8 should
>be fine as well once it gets released.

OK, thanks for the tips! Philip may help plan add the 2 new archs
nds32 and riscv.

Thanks,
Fengguang

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Makefile:636: arch/score/Makefile: No such file or directory
  2018-04-26  7:28   ` Fengguang Wu
@ 2018-04-27  1:00     ` Li, Philip
  2018-04-27 20:08       ` Palmer Dabbelt
  0 siblings, 1 reply; 5+ messages in thread
From: Li, Philip @ 2018-04-27  1:00 UTC (permalink / raw)
  To: Wu, Fengguang, Arnd Bergmann
  Cc: lkp, kbuild-all, Linux Kernel Mailing List, Hao, Shun


> >Please stop trying to build the removed architectures: tile, blackfin,
> >metag, m32r, frv, mn10300, cris and score.
> >
> >https://lwn.net/Articles/748074/ has details about why this broke.
> 
> Sorry about that!  It looks the architectures removal is not thorough
> enough. Hao, would you help take a look?
sure, we will handle this.

> 
> >Note that we do have a few new architectures that you may want
> >to add if you haven't done this already: nds32 and riscv were added
> >this year, and a couple of older architectures that didn't have upstream
> >gcc releases now have those, and I uploaded gcc binaries to
> >https://cdn.kernel.org/pub/tools/crosstool/.
> >
> >This should allow building everything we have in the kernel now.
> >Unfortunately the nds32 toolchain I uploaded is a little incomplete,
> >but I have a gcc-6.4 build that (mostly) works and gcc-8 should
> >be fine as well once it gets released.
> 
> OK, thanks for the tips! Philip may help plan add the 2 new archs
> nds32 and riscv.
thanks for info, we will add new archs support in near future.

> 
> Thanks,
> Fengguang

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Makefile:636: arch/score/Makefile: No such file or directory
  2018-04-27  1:00     ` Li, Philip
@ 2018-04-27 20:08       ` Palmer Dabbelt
  0 siblings, 0 replies; 5+ messages in thread
From: Palmer Dabbelt @ 2018-04-27 20:08 UTC (permalink / raw)
  To: philip.li
  Cc: fengguang.wu, Arnd Bergmann, lkp, kbuild-all, linux-kernel, shun.hao

On Thu, 26 Apr 2018 18:00:25 PDT (-0700), philip.li@intel.com wrote:
>
>> >Please stop trying to build the removed architectures: tile, blackfin,
>> >metag, m32r, frv, mn10300, cris and score.
>> >
>> >https://lwn.net/Articles/748074/ has details about why this broke.
>>
>> Sorry about that!  It looks the architectures removal is not thorough
>> enough. Hao, would you help take a look?
> sure, we will handle this.
>
>>
>> >Note that we do have a few new architectures that you may want
>> >to add if you haven't done this already: nds32 and riscv were added
>> >this year, and a couple of older architectures that didn't have upstream
>> >gcc releases now have those, and I uploaded gcc binaries to
>> >https://cdn.kernel.org/pub/tools/crosstool/.
>> >
>> >This should allow building everything we have in the kernel now.
>> >Unfortunately the nds32 toolchain I uploaded is a little incomplete,
>> >but I have a gcc-6.4 build that (mostly) works and gcc-8 should
>> >be fine as well once it gets released.
>>
>> OK, thanks for the tips! Philip may help plan add the 2 new archs
>> nds32 and riscv.
> thanks for info, we will add new archs support in near future.

Thanks!  If you have any RISC-V questions feel free to ping me, but it should 
be pretty straight-forward as I think my trees are already in the system and 
our upstream toolchain works for Linux.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-04-27 20:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-26  2:23 Makefile:636: arch/score/Makefile: No such file or directory kbuild test robot
2018-04-26  7:15 ` Arnd Bergmann
2018-04-26  7:28   ` Fengguang Wu
2018-04-27  1:00     ` Li, Philip
2018-04-27 20:08       ` Palmer Dabbelt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.