linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* arch/arm/mach-footbridge/include/mach/memory.h:50:2: error: "Undefined footbridge mode"
@ 2020-11-26  1:16 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-11-26  1:16 UTC (permalink / raw)
  To: Fangrui Song
  Cc: kbuild-all, clang-built-linux, linux-kernel, Masahiro Yamada,
	Nathan Chancellor, Nick Desaulniers

[-- Attachment #1: Type: text/plain, Size: 3599 bytes --]

Hi Fangrui,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   fa02fcd94b0c8dff6cc65714510cf25ad194b90d
commit: ca9b31f6bb9c6aa9b4e5f0792f39a97bbffb8c51 Makefile: Fix GCC_TOOLCHAIN_DIR prefix for Clang cross compilation
date:   4 months ago
config: arm-randconfig-r032-20201126 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 175ebad958a0ebaf6c56c20ab30b9d4347742c29)
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=ca9b31f6bb9c6aa9b4e5f0792f39a97bbffb8c51
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout ca9b31f6bb9c6aa9b4e5f0792f39a97bbffb8c51
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   In file included from arch/arm/kernel/asm-offsets.c:11:
   In file included from include/linux/sched.h:12:
   In file included from ./arch/arm/include/generated/asm/current.h:1:
   In file included from include/asm-generic/current.h:5:
   In file included from include/linux/thread_info.h:38:
   In file included from arch/arm/include/asm/thread_info.h:14:
   In file included from arch/arm/include/asm/page.h:160:
   In file included from arch/arm/include/asm/memory.h:19:
>> arch/arm/mach-footbridge/include/mach/memory.h:50:2: error: "Undefined footbridge mode"
   #error "Undefined footbridge mode"
    ^
   In file included from arch/arm/kernel/asm-offsets.c:13:
   include/linux/dma-mapping.h:819:9: warning: implicit conversion from 'unsigned long long' to 'unsigned long' changes value from 18446744073709551615 to 4294967295 [-Wconstant-conversion]
           return DMA_BIT_MASK(32);
           ~~~~~~ ^~~~~~~~~~~~~~~~
   include/linux/dma-mapping.h:139:40: note: expanded from macro 'DMA_BIT_MASK'
   #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1))
                                          ^~~~~
   1 warning and 1 error generated.
   make[2]: *** [scripts/Makefile.build:114: arch/arm/kernel/asm-offsets.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [Makefile:1175: prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:185: __sub-make] Error 2
   make: Target 'prepare' not remade because of errors.

vim +50 arch/arm/mach-footbridge/include/mach/memory.h

^1da177e4c3f415 include/asm-arm/arch-ebsa285/memory.h Linus Torvalds 2005-04-16  49  
^1da177e4c3f415 include/asm-arm/arch-ebsa285/memory.h Linus Torvalds 2005-04-16 @50  #error "Undefined footbridge mode"
^1da177e4c3f415 include/asm-arm/arch-ebsa285/memory.h Linus Torvalds 2005-04-16  51  

:::::: The code at line 50 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds@ppc970.osdl.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 30513 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-11-26  1:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-26  1:16 arch/arm/mach-footbridge/include/mach/memory.h:50:2: error: "Undefined footbridge mode" kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).