All of
 help / color / mirror / Atom feed
From: Uladzislau Rezki <>
To: Andrew Morton <>
Cc: "Uladzislau Rezki (Sony)" <>,
	Linux Memory Management List <>
Subject: Re: [linux-next:master 8475/9410] ERROR: "__vmalloc_node_range" [lib/test_vmalloc.ko] undefined!
Date: Tue, 19 Feb 2019 09:54:41 +0100	[thread overview]
Message-ID: <20190219085441.s6bg2gpy4esny5vw@pc636> (raw)
In-Reply-To: <>

Hello, Andrew.

On Tue, Feb 19, 2019 at 06:04:38AM +0800, kbuild test robot wrote:
> tree: master
> head:   cb916fc5eabf8832e05f73c246eb467259846ef0
> commit: bd7e49fa421950084fff786200b7fd6872d51643 [8475/9410] vmalloc: add test driver to analyse vmalloc allocator
> config: h8300-allyesconfig (attached as .config)
> compiler: h8300-linux-gcc (GCC) 8.2.0
> reproduce:
>         wget -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         git checkout bd7e49fa421950084fff786200b7fd6872d51643
>         # save the attached .config to linux build tree
>         GCC_VERSION=8.2.0 make.cross ARCH=h8300 
> All errors (new ones prefixed by >>):
>    ERROR: "__divdi3" [lib/test_vmalloc.ko] undefined!
> >> ERROR: "__vmalloc_node_range" [lib/test_vmalloc.ko] undefined!
> ---
> 0-DAY kernel test infrastructure                Open Source Technology Center
>                   Intel Corporation
Could you please apply below patch to fix the error?

From f6ac7bddfc5969b0982ddf52ab248a1abb0b90a8 Mon Sep 17 00:00:00 2001
From: "Uladzislau Rezki (Sony)" <>
Date: Tue, 19 Feb 2019 09:47:51 +0100
Subject: [PATCH] lib/Kconfig.debug: make CONFIG_TEST_VMALLOC depends on

The vmalloc test driver can not be used on no-MMU systems. Add that
dependency to prevent the driver to be compiled on such systems.

Signed-off-by: Uladzislau Rezki (Sony) <>
 lib/Kconfig.debug | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index 960ba0cb58c4..618c3ee466e6 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -1913,6 +1913,7 @@ config TEST_LKM
        tristate "Test module for stress/performance analysis of vmalloc allocator"
        default n
+       depends on MMU
        depends on m
          This builds the "test_vmalloc" module that should be used for

Sorry for inconvenience.

Vlad Rezki

      reply	other threads:[~2019-02-19  8:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-18 22:04 kbuild test robot
2019-02-19  8:54 ` Uladzislau Rezki [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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190219085441.s6bg2gpy4esny5vw@pc636 \ \ \ \
    --subject='Re: [linux-next:master 8475/9410] ERROR: "__vmalloc_node_range" [lib/test_vmalloc.ko] undefined'\!'' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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.