[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e259c202-5473-8406-2577-9e3c0d968385@gmx.de>
Date: Mon, 14 Feb 2022 16:06:22 +0100
From: Helge Deller <deller@....de>
To: kernel test robot <lkp@...el.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: Re: [deller-parisc:for-next 5/6]
arch/parisc/include/asm/bitops.h:20:2: error: #error "Please use
'ARCH=parisc64' to build the 64-bit kernel."
On 2/14/22 14:25, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git for-next
> head: dbd0b42350d5717786cb8257fbe5b528f3af9772
> commit: b160628e9ebcdc85d0db9d7f423c26b3c7c179d0 [5/6] parisc: Show error if wrong 32/64-bit compiler is being used
> config: parisc-randconfig-r004-20220213 (https://download.01.org/0day-ci/archive/20220214/202202142139.fHrrv9Oy-lkp@intel.com/config)
> compiler: hppa64-linux-gcc (GCC) 11.2.0
> 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
> # https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git/commit/?id=b160628e9ebcdc85d0db9d7f423c26b3c7c179d0
> git remote add deller-parisc https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git
> git fetch --no-tags deller-parisc for-next
> git checkout b160628e9ebcdc85d0db9d7f423c26b3c7c179d0
> # save the config file to linux build tree
> mkdir build_dir
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=parisc prepare
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@...el.com>
>
> All errors (new ones prefixed by >>):
>
> In file included from include/linux/bitops.h:33,
> from include/linux/kernel.h:22,
> from arch/parisc/include/asm/bug.h:5,
> from include/linux/bug.h:5,
> from include/linux/page-flags.h:10,
> from kernel/bounds.c:10:
>>> arch/parisc/include/asm/bitops.h:20:2: error: #error "Please use 'ARCH=parisc64' to build the 64-bit kernel."
> 20 | #error "Please use 'ARCH=parisc64' to build the 64-bit kernel."
The newly introduced error message works as intended :-)
#error "Please use 'ARCH=parisc64' to build the 64-bit kernel."
Helge
Powered by blists - more mailing lists