[linux-next:master 10455/10463] include/linux/blkdev.h:733:(.text+0x260): relocation truncated to fit: R_RISCV_GPREL_I against `.LANCHOR1'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx/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@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202405031559.2nHyrpwv-lkp@xxxxxxxxx/

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@xxxxxx>
:::::: CC: Jens Axboe <axboe@xxxxxxxxx>

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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux