lkml.org 
[lkml]   [2024]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mm/memblock: discard .text/.data if CONFIG_ARCH_KEEP_MEMBLOCK not set
On Wed, May 08, 2024 at 11:06:45AM +0800, Yujie Liu wrote:
>On Tue, May 07, 2024 at 08:43:50AM +0000, Wei Yang wrote:
>> On Tue, May 07, 2024 at 01:13:05PM +0800, kernel test robot wrote:
>> >Hi Wei,
>> >
>> >kernel test robot noticed the following build warnings:
>> >
>> >[auto build test WARNING on akpm-mm/mm-everything]
>> >
>> >url: https://github.com/intel-lab-lkp/linux/commits/Wei-Yang/mm-memblock-discard-text-data-if-CONFIG_ARCH_KEEP_MEMBLOCK-not-set/20240506-092345
>> >base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
>> >patch link: https://lore.kernel.org/r/20240506012104.10864-1-richard.weiyang%40gmail.com
>> >patch subject: [PATCH] mm/memblock: discard .text/.data if CONFIG_ARCH_KEEP_MEMBLOCK not set
>> >config: powerpc-allnoconfig
>> >compiler: powerpc-linux-gcc (GCC) 13.2.0
>> >reproduce (this is a W=1 build):
>> >
>> >If you fix the issue in a separate patch/commit (i.e. not just a new version of
>> >the same patch/commit), kindly add following tags
>> >| Reported-by: kernel test robot <lkp@intel.com>
>> >| Closes: https://lore.kernel.org/oe-kbuild-all/202405071200.YgYuuCBu-lkp@intel.com/
>> >
>> >All warnings (new ones prefixed by >>):
>> >
>> >>> powerpc-linux-ld: warning: orphan section `.mbinit.text' from `mm/memblock.o' being placed in section `.mbinit.text'
>> >>> powerpc-linux-ld: warning: orphan section `.mbinit.text' from `mm/memblock.o' being placed in section `.mbinit.text'
>> >>> powerpc-linux-ld: warning: orphan section `.mbinit.text' from `mm/memblock.o' being placed in section `.mbinit.text'
>> >
>> >--
>> >0-DAY CI Kernel Test Service
>> >https://github.com/intel/lkp-tests/wiki
>>
>> >reproduce (this is a W=1 build):
>> > git clone https://github.com/intel/lkp-tests.git ~/lkp-tests
>> > git remote add akpm-mm https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git
>> > git fetch akpm-mm mm-everything
>> > git checkout akpm-mm/mm-everything
>> > b4 shazam https://lore.kernel.org/r/20240506012104.10864-1-richard.weiyang@gmail.com
>> > # save the config file
>> > mkdir build_dir && cp config build_dir/.config
>> > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-13.2.0 ~/lkp-tests/kbuild/make.cross W=1 O=build_dir ARCH=powerpc olddefconfig
>> > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-13.2.0 ~/lkp-tests/kbuild/make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash
>>
>> Can I reproduce this on x86? I don't have a powerpc machine.
>
>The above steps are cross compiling for powerpc target on x86
>machine, so you can just follow the steps to reproduce on x86.
>

Thanks, this one is helpful.

>Thanks,
>Yujie

--
Wei Yang
Help you, Help me

\
 
 \ /
  Last update: 2024-05-10 03:54    [W:0.035 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site