lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2a5a496b-5b5e-0039-5bb2-d04268215e37@infradead.org>
Date:   Tue, 12 Oct 2021 14:55:52 -0700
From:   Randy Dunlap <rdunlap@...radead.org>
To:     kernel test robot <lkp@...el.com>,
        Vasily Averin <vvs@...tuozzo.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Arnd Bergmann <arnd@...db.de>
Subject: Re: undefined reference to `memcg_bulk_charge_hook'

On 10/12/21 2:34 PM, kernel test robot wrote:
> tree:   https://github.com/0day-ci/linux/commits/UPDATE-20211012-182031/Vasily-Averin/memcg-enable-memory-accounting-in-__alloc_pages_bulk/20211008-172703
> head:   e10c5e64a0799c75d26d2a82c03f757335616711
> commit: e10c5e64a0799c75d26d2a82c03f757335616711 memcg: enable memory accounting in __alloc_pages_bulk
> date:   11 hours ago
> config: powerpc64-randconfig-r001-20211012 (attached as .config)
> compiler: powerpc-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://github.com/0day-ci/linux/commit/e10c5e64a0799c75d26d2a82c03f757335616711
>          git remote add linux-review https://github.com/0day-ci/linux
>          git fetch --no-tags linux-review UPDATE-20211012-182031/Vasily-Averin/memcg-enable-memory-accounting-in-__alloc_pages_bulk/20211008-172703
>          git checkout e10c5e64a0799c75d26d2a82c03f757335616711
>          # save the attached .config to linux build tree
>          mkdir build_dir
>          COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=powerpc SHELL=/bin/bash

Hi ktr/lkp,

Can you explain why the (previously) attached .config file says:
CONFIG_32BIT=y

but in the email text above, it says:
config: powerpc64-randconfig-r001-20211012

I would expect a powerpc64 randconfig to say
CONFIG_64BIT=y

Am I just confused?

Also, using (Arnd's) crosstools, the compiler for powerpc64 shows up
as powerpc64-linux-ld, not as powerpc-linux-ld.
Is that different for the 0day toolchains?
(not AFAICT)


> 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 >>):
> 
>     powerpc-linux-ld: mm/page_alloc.o: in function `__alloc_pages_bulk':
>>> (.text+0x857c): undefined reference to `memcg_bulk_charge_hook'
>>> powerpc-linux-ld: (.text+0x86d0): undefined reference to `memcg_bulk_post_charge_hook'
>     powerpc-linux-ld: (.text+0x870c): undefined reference to `memcg_bulk_post_charge_hook'
>>> powerpc-linux-ld: (.text+0x87c8): undefined reference to `memcg_bulk_pre_charge_hook'
> 
> ---

thanks.
-- 
~Randy

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ