linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* undefined reference to `memcg_bulk_charge_hook'
@ 2021-10-12 21:34 kernel test robot
  2021-10-12 21:55 ` Randy Dunlap
  0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2021-10-12 21:34 UTC (permalink / raw)
  To: Vasily Averin; +Cc: kbuild-all, linux-kernel, 0day robot

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

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

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.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'

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

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

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

* Re: undefined reference to `memcg_bulk_charge_hook'
  2021-10-12 21:34 undefined reference to `memcg_bulk_charge_hook' kernel test robot
@ 2021-10-12 21:55 ` Randy Dunlap
  2021-10-13  3:09   ` [kbuild-all] " Chen, Rong A
  0 siblings, 1 reply; 3+ messages in thread
From: Randy Dunlap @ 2021-10-12 21:55 UTC (permalink / raw)
  To: kernel test robot, Vasily Averin; +Cc: kbuild-all, linux-kernel, Arnd Bergmann

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@intel.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

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

* Re: [kbuild-all] Re: undefined reference to `memcg_bulk_charge_hook'
  2021-10-12 21:55 ` Randy Dunlap
@ 2021-10-13  3:09   ` Chen, Rong A
  0 siblings, 0 replies; 3+ messages in thread
From: Chen, Rong A @ 2021-10-13  3:09 UTC (permalink / raw)
  To: Randy Dunlap, kernel test robot, Vasily Averin
  Cc: kbuild-all, linux-kernel, Arnd Bergmann



On 10/13/2021 5:55 AM, Randy Dunlap wrote:
> 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?

Hi Randy,

Sorry for the trouble, the name of randconfig here is wrong,
it didn't set CONFIG_64BIT=y, it should be powerpc-randconfig-r001-xxx


> 
> 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?

we'll check CONFIG_64BIT to choose the proper toolchain in reproduce 
script 
"https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross"

Best Regards,
Rong Chen


> (not AFAICT)
> 
> 
>> If you fix the issue, kindly add following tag as appropriate
>> Reported-by: kernel test robot <lkp@intel.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.

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

end of thread, other threads:[~2021-10-13  3:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-12 21:34 undefined reference to `memcg_bulk_charge_hook' kernel test robot
2021-10-12 21:55 ` Randy Dunlap
2021-10-13  3:09   ` [kbuild-all] " Chen, Rong A

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).