linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 10455/10463] include/linux/blkdev.h:733:(.text+0x260): relocation truncated to fit: R_RISCV_GPREL_I against `.LANCHOR1'
@ 2024-05-03  7:31 ` kernel test robot
  2024-05-03  9:10   ` Joel Granados
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2024-05-03  7:31 UTC (permalink / raw)
  To: Joel Granados; +Cc: oe-kbuild-all, Linux Memory Management List

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   9c6ecb3cb6e20c4fd7997047213ba0efcf9ada1a
commit: 5070493a645c67e42b3e86b5cad9796e831281dc [10455/10463] Merge branch 'sysctl-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sysctl/sysctl.git
config: riscv-randconfig-c023-20221031 (https://download.01.org/0day-ci/archive/20240503/202405031559.2nHyrpwv-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240503/202405031559.2nHyrpwv-lkp@intel.com/reproduce)

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/202405031559.2nHyrpwv-lkp@intel.com/

All errors (new ones prefixed by >>):

   riscv64-linux-ld: section .data LMA [00000000012ee000,000000000215c197] overlaps section .text LMA [00000000000b7734,0000000002b4b903]
   riscv64-linux-ld: section .data..percpu LMA [00000000031e8000,0000000003206a5f] overlaps section .rodata LMA [0000000002b4db00,000000000326a2ad]
   riscv64-linux-ld: section .init.pi.text VMA [ffffffff82b4b904,ffffffff82b4da37] overlaps section .data VMA [ffffffff82000000,ffffffff82e6e197]
   riscv64-linux-ld: section .got VMA [ffffffff82e6e198,ffffffff82e6e1a7] overlaps section .rodata VMA [ffffffff82b4db00,ffffffff8326a2ad]
   riscv64-linux-ld: section .init.pi.rodata.str1.8 VMA [ffffffff8326a2b0,ffffffff8326a332] overlaps section .bss VMA [ffffffff82f61000,ffffffff83ef965f]
   block/genhd.o: in function `bdev_nr_sectors':
>> include/linux/blkdev.h:733:(.text+0x260): relocation truncated to fit: R_RISCV_GPREL_I against `.LANCHOR1'
   block/genhd.o: in function `genhd_device_init':
>> block/genhd.c:890:(.init.text+0xa): relocation truncated to fit: R_RISCV_GPREL_I against `.LANCHOR1'
   block/early-lookup.o: in function `devt_from_partuuid':
   block/early-lookup.c:71:(.init.text+0x188): relocation truncated to fit: R_RISCV_GPREL_I against symbol `block_class' defined in .rodata section in block/genhd.o
   drivers/clk/clk.o: in function `of_clk_src_onecell_get':
   drivers/clk/clk.c:4975:(.text+0x5bac): relocation truncated to fit: R_RISCV_GPREL_I against `.LANCHOR3'
   drivers/clk/clk.o: in function `trace_clk_unprepare':
   include/trace/events/clk.h:74:(.init.text+0x5b4): relocation truncated to fit: R_RISCV_GPREL_I against `.LANCHOR3'
   drivers/base/core.o: in function `memalloc_flags_restore':
   include/linux/sched/mm.h:355:(.text+0x46d6): relocation truncated to fit: R_RISCV_GPREL_I against symbol `block_class' defined in .rodata section in block/genhd.o
   drivers/base/devtmpfs.o: in function `devtmpfs_create_node':
   drivers/base/devtmpfs.c:131:(.text+0x98a): relocation truncated to fit: R_RISCV_GPREL_I against symbol `block_class' defined in .rodata section in block/genhd.o
   drivers/base/devtmpfs.o: in function `dev_mynode':
   drivers/base/devtmpfs.c:295:(.text.unlikely+0x1a0): relocation truncated to fit: R_RISCV_GPREL_I against symbol `block_class' defined in .rodata section in block/genhd.o
   block/blk-mq-tag.o: in function `kmalloc_node_noprof':
   include/linux/slab.h:677:(.text+0x4ace): relocation truncated to fit: R_RISCV_GPREL_I against `.LANCHOR1'
   block/blk-stat.o: in function `rcu_read_unlock':
   include/linux/rcupdate.h:868:(.text+0x127e): relocation truncated to fit: R_RISCV_GPREL_I against `.LANCHOR2'
   block/blk-mq-sysfs.o: in function `blk_mq_hw_sysfs_nr_reserved_tags_show':
   block/blk-mq-sysfs.c:79:(.text+0x52): additional relocation overflows omitted from the output


vim +733 include/linux/blkdev.h

322cbb50de7118 Christoph Hellwig 2022-01-24  730  
322cbb50de7118 Christoph Hellwig 2022-01-24  731  static inline sector_t bdev_nr_sectors(struct block_device *bdev)
322cbb50de7118 Christoph Hellwig 2022-01-24  732  {
322cbb50de7118 Christoph Hellwig 2022-01-24 @733  	return bdev->bd_nr_sectors;
322cbb50de7118 Christoph Hellwig 2022-01-24  734  }
322cbb50de7118 Christoph Hellwig 2022-01-24  735  

:::::: The code at line 733 was first introduced by commit
:::::: 322cbb50de711814c42fb088f6d31901502c711a block: remove genhd.h

:::::: TO: Christoph Hellwig <hch@lst.de>
:::::: CC: Jens Axboe <axboe@kernel.dk>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


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

* Re: [linux-next:master 10455/10463] include/linux/blkdev.h:733:(.text+0x260): relocation truncated to fit: R_RISCV_GPREL_I against `.LANCHOR1'
  2024-05-03  7:31 ` [linux-next:master 10455/10463] include/linux/blkdev.h:733:(.text+0x260): relocation truncated to fit: R_RISCV_GPREL_I against `.LANCHOR1' kernel test robot
@ 2024-05-03  9:10   ` Joel Granados
  0 siblings, 0 replies; 2+ messages in thread
From: Joel Granados @ 2024-05-03  9:10 UTC (permalink / raw)
  To: kernel test robot; +Cc: oe-kbuild-all, Linux Memory Management List

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

On Fri, May 03, 2024 at 03:31:26PM +0800, kernel test robot wrote:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   9c6ecb3cb6e20c4fd7997047213ba0efcf9ada1a
> commit: 5070493a645c67e42b3e86b5cad9796e831281dc [10455/10463] Merge branch 'sysctl-next' of git://git.kernel.org/pub/scm/linux/kernel/git/sysctl/sysctl.git
> config: riscv-randconfig-c023-20221031 (https://download.01.org/0day-ci/archive/20240503/202405031559.2nHyrpwv-lkp@intel.com/config)
> compiler: riscv64-linux-gcc (GCC) 13.2.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240503/202405031559.2nHyrpwv-lkp@intel.com/reproduce)
> 
> 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/202405031559.2nHyrpwv-lkp@intel.com/
> 
> All errors (new ones prefixed by >>):
> 
>    riscv64-linux-ld: section .data LMA [00000000012ee000,000000000215c197] overlaps section .text LMA [00000000000b7734,0000000002b4b903]
>    riscv64-linux-ld: section .data..percpu LMA [00000000031e8000,0000000003206a5f] overlaps section .rodata LMA [0000000002b4db00,000000000326a2ad]
>    riscv64-linux-ld: section .init.pi.text VMA [ffffffff82b4b904,ffffffff82b4da37] overlaps section .data VMA [ffffffff82000000,ffffffff82e6e197]
>    riscv64-linux-ld: section .got VMA [ffffffff82e6e198,ffffffff82e6e1a7] overlaps section .rodata VMA [ffffffff82b4db00,ffffffff8326a2ad]
>    riscv64-linux-ld: section .init.pi.rodata.str1.8 VMA [ffffffff8326a2b0,ffffffff8326a332] overlaps section .bss VMA [ffffffff82f61000,ffffffff83ef965f]
>    block/genhd.o: in function `bdev_nr_sectors':
> >> include/linux/blkdev.h:733:(.text+0x260): relocation truncated to fit: R_RISCV_GPREL_I against `.LANCHOR1'
>    block/genhd.o: in function `genhd_device_init':
> >> block/genhd.c:890:(.init.text+0xa): relocation truncated to fit: R_RISCV_GPREL_I against `.LANCHOR1'
>    block/early-lookup.o: in function `devt_from_partuuid':
>    block/early-lookup.c:71:(.init.text+0x188): relocation truncated to fit: R_RISCV_GPREL_I against symbol `block_class' defined in .rodata section in block/genhd.o
>    drivers/clk/clk.o: in function `of_clk_src_onecell_get':
>    drivers/clk/clk.c:4975:(.text+0x5bac): relocation truncated to fit: R_RISCV_GPREL_I against `.LANCHOR3'
>    drivers/clk/clk.o: in function `trace_clk_unprepare':
>    include/trace/events/clk.h:74:(.init.text+0x5b4): relocation truncated to fit: R_RISCV_GPREL_I against `.LANCHOR3'
>    drivers/base/core.o: in function `memalloc_flags_restore':
>    include/linux/sched/mm.h:355:(.text+0x46d6): relocation truncated to fit: R_RISCV_GPREL_I against symbol `block_class' defined in .rodata section in block/genhd.o
>    drivers/base/devtmpfs.o: in function `devtmpfs_create_node':
>    drivers/base/devtmpfs.c:131:(.text+0x98a): relocation truncated to fit: R_RISCV_GPREL_I against symbol `block_class' defined in .rodata section in block/genhd.o
>    drivers/base/devtmpfs.o: in function `dev_mynode':
>    drivers/base/devtmpfs.c:295:(.text.unlikely+0x1a0): relocation truncated to fit: R_RISCV_GPREL_I against symbol `block_class' defined in .rodata section in block/genhd.o
>    block/blk-mq-tag.o: in function `kmalloc_node_noprof':
>    include/linux/slab.h:677:(.text+0x4ace): relocation truncated to fit: R_RISCV_GPREL_I against `.LANCHOR1'
>    block/blk-stat.o: in function `rcu_read_unlock':
>    include/linux/rcupdate.h:868:(.text+0x127e): relocation truncated to fit: R_RISCV_GPREL_I against `.LANCHOR2'
>    block/blk-mq-sysfs.o: in function `blk_mq_hw_sysfs_nr_reserved_tags_show':
>    block/blk-mq-sysfs.c:79:(.text+0x52): additional relocation overflows omitted from the output

These errors are the same as I mentioned here
https://lore.kernel.org/all/202404211031.J6l2AfJk-lkp@intel.com/. These
all seem to be false positives. Is this just spam from the bot?

Best

-- 

Joel Granados

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

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

end of thread, other threads:[~2024-05-03  9:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20240503073224eucas1p1b05462c0509f4a1f45717986fd324d14@eucas1p1.samsung.com>
2024-05-03  7:31 ` [linux-next:master 10455/10463] include/linux/blkdev.h:733:(.text+0x260): relocation truncated to fit: R_RISCV_GPREL_I against `.LANCHOR1' kernel test robot
2024-05-03  9:10   ` Joel Granados

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox