linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [mmotm:master 16/120] include/linux/page-flags-layout.h:95:2: error: #error "Not enough bits in page flags"
@ 2019-07-25  9:18 kbuild test robot
  2019-07-25  9:44 ` Arnd Bergmann
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2019-07-25  9:18 UTC (permalink / raw)
  To: Arnd Bergmann
  Cc: kbuild-all, Johannes Weiner, Andrey Konovalov, Andrey Ryabinin,
	Andrew Morton, Linux Memory Management List

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

tree:   git://git.cmpxchg.org/linux-mmotm.git master
head:   79b3e476080beb7faf41bddd6c3d7059cd1a5f31
commit: b7ee4976128763d63714958ad3cb32a6e85554a1 [16/120] page flags: prioritize kasan bits over last-cpuid
config: mips-fuloong2e_defconfig (attached as .config)
compiler: mips64el-linux-gcc (GCC) 7.4.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout b7ee4976128763d63714958ad3cb32a6e85554a1
        # save the attached .config to linux build tree
        GCC_VERSION=7.4.0 make.cross ARCH=mips 

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

All errors (new ones prefixed by >>):

   In file included from include/linux/mm_types.h:15:0,
                    from arch/mips/include/asm/vdso.h:10,
                    from arch/mips/vdso/vdso.h:23,
                    from arch/mips/vdso/gettimeofday.c:7:
>> include/linux/page-flags-layout.h:95:2: error: #error "Not enough bits in page flags"
    #error "Not enough bits in page flags"
     ^~~~~

vim +95 include/linux/page-flags-layout.h

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

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

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

* Re: [mmotm:master 16/120] include/linux/page-flags-layout.h:95:2: error: #error "Not enough bits in page flags"
  2019-07-25  9:18 [mmotm:master 16/120] include/linux/page-flags-layout.h:95:2: error: #error "Not enough bits in page flags" kbuild test robot
@ 2019-07-25  9:44 ` Arnd Bergmann
  0 siblings, 0 replies; 2+ messages in thread
From: Arnd Bergmann @ 2019-07-25  9:44 UTC (permalink / raw)
  To: kbuild test robot
  Cc: kbuild-all, Johannes Weiner, Andrey Konovalov, Andrey Ryabinin,
	Andrew Morton, Linux Memory Management List

On Thu, Jul 25, 2019 at 11:19 AM kbuild test robot <lkp@intel.com> wrote:
>
> tree:   git://git.cmpxchg.org/linux-mmotm.git master
> head:   79b3e476080beb7faf41bddd6c3d7059cd1a5f31
> commit: b7ee4976128763d63714958ad3cb32a6e85554a1 [16/120] page flags: prioritize kasan bits over last-cpuid
> config: mips-fuloong2e_defconfig (attached as .config)
> compiler: mips64el-linux-gcc (GCC) 7.4.0
> reproduce:
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         git checkout b7ee4976128763d63714958ad3cb32a6e85554a1
>         # save the attached .config to linux build tree
>         GCC_VERSION=7.4.0 make.cross ARCH=mips
>
> If you fix the issue, kindly add following tag
> Reported-by: kbuild test robot <lkp@intel.com>
>
> All errors (new ones prefixed by >>):
>
>    In file included from include/linux/mm_types.h:15:0,
>                     from arch/mips/include/asm/vdso.h:10,
>                     from arch/mips/vdso/vdso.h:23,
>                     from arch/mips/vdso/gettimeofday.c:7:
> >> include/linux/page-flags-layout.h:95:2: error: #error "Not enough bits in page flags"
>     #error "Not enough bits in page flags"
>      ^~~~~
>
> vim +95 include/linux/page-flags-layout.h

I have reproduced the problem and found a solution, adding this in fixes the
build again.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>

diff --git a/arch/mips/vdso/vdso.h b/arch/mips/vdso/vdso.h
index 14b1931be69c..b65b169778e3 100644
--- a/arch/mips/vdso/vdso.h
+++ b/arch/mips/vdso/vdso.h
@@ -9,6 +9,7 @@
 #if _MIPS_SIM != _MIPS_SIM_ABI64 && defined(CONFIG_64BIT)

 /* Building 32-bit VDSO for the 64-bit kernel. Fake a 32-bit Kconfig. */
+#define BUILD_VDSO32_64
 #undef CONFIG_64BIT
 #define CONFIG_32BIT 1
 #ifndef __ASSEMBLY__


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

end of thread, other threads:[~2019-07-25  9:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-25  9:18 [mmotm:master 16/120] include/linux/page-flags-layout.h:95:2: error: #error "Not enough bits in page flags" kbuild test robot
2019-07-25  9:44 ` Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox