From: Arnd Bergmann <arnd@arndb.de>
To: kbuild test robot <lkp@intel.com>
Cc: kbuild-all@01.org, Johannes Weiner <hannes@cmpxchg.org>,
Andrey Konovalov <andreyknvl@google.com>,
Andrey Ryabinin <aryabinin@virtuozzo.com>,
Andrew Morton <akpm@linux-foundation.org>,
Linux Memory Management List <linux-mm@kvack.org>
Subject: Re: [mmotm:master 16/120] include/linux/page-flags-layout.h:95:2: error: #error "Not enough bits in page flags"
Date: Thu, 25 Jul 2019 11:44:19 +0200 [thread overview]
Message-ID: <CAK8P3a3Mno1SWTcuAOT0Wa9VS15pdU6EfnkxLbDpyS55yO04+g@mail.gmail.com> (raw)
In-Reply-To: <201907251734.6zC6jamU%lkp@intel.com>
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__
prev parent reply other threads:[~2019-07-25 9:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-25 9:18 kbuild test robot
2019-07-25 9:44 ` Arnd Bergmann [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAK8P3a3Mno1SWTcuAOT0Wa9VS15pdU6EfnkxLbDpyS55yO04+g@mail.gmail.com \
--to=arnd@arndb.de \
--cc=akpm@linux-foundation.org \
--cc=andreyknvl@google.com \
--cc=aryabinin@virtuozzo.com \
--cc=hannes@cmpxchg.org \
--cc=kbuild-all@01.org \
--cc=linux-mm@kvack.org \
--cc=lkp@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox