[gabbayo:habanalabs-next 4/5] WARNING: modpost: vmlinux.o(.text+0x1db5e10): Section mismatch in reference from the function tfrc_calc_x() to the variable .init.text:.L0

kernel test robot lkp at intel.com
Fri Sep 25 00:23:04 UTC 2020


tree:   git://people.freedesktop.org/~gabbayo/linux habanalabs-next
head:   bbfc1bab1edc92023b1e144c1dceb341b31dc834
commit: 6ba70b882d6343bc2c86a6d09fbcad2c8170b6a6 [4/5] habanalabs: add notice of device not idle
config: riscv-randconfig-r031-20200923 (attached as .config)
compiler: riscv32-linux-gcc (GCC) 9.3.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
        git checkout 6ba70b882d6343bc2c86a6d09fbcad2c8170b6a6
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>

All warnings (new ones prefixed by >>, old ones prefixed by <<):

>> WARNING: modpost: vmlinux.o(.text+0x1db5e10): Section mismatch in reference from the function tfrc_calc_x() to the variable .init.text:.L0
The function tfrc_calc_x() references
the variable __init .L0 .
This is often because tfrc_calc_x lacks a __init
annotation or the annotation of .L0 is wrong.
--
>> WARNING: modpost: vmlinux.o(.text+0x1db6194): Section mismatch in reference from the function tfrc_invert_loss_event_rate() to the variable .init.text:.L218
The function tfrc_invert_loss_event_rate() references
the variable __init .L218.
This is often because tfrc_invert_loss_event_rate lacks a __init
annotation or the annotation of .L218 is wrong.
--
>> WARNING: modpost: vmlinux.o(__ex_table+0x11b0): Section mismatch in reference from the (unknown reference) (unknown) to the variable ___ksymtab_gpl+videobuf_queue_to_vaddr:__ksymtab_videobuf_queue_to_vaddr
FATAL: modpost: The relocation at __ex_table+0x11b0 references
section "___ksymtab_gpl+videobuf_queue_to_vaddr" which is not executable, IOW
it is not possible for the kernel to fault
at that address. Something is seriously wrong
and should be fixed.

The below error/warnings are from parent commit:
<< WARNING: modpost: vmlinux.o(.text+0xdb2e7c): Section mismatch in reference from the function qla2xxx_qpair_sp_compl() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1db6134): Section mismatch in reference from the function tfrc_invert_loss_event_rate() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1dcb394): Section mismatch in reference from the function sctp_assoc_sync_pmtu() to the variable .meminit.text:.L0
<< WARNING: modpost: vmlinux.o(__ex_table+0x11b0): Section mismatch in reference from the (unknown reference) (unknown) to the variable ___ksymtab_gpl+videobuf_iolock:__ksymtab_videobuf_iolock
<< WARNING: modpost: vmlinux.o(.text+0xdb2e7c): Section mismatch in reference from the function qla2xxx_qpair_sp_compl() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1db6134): Section mismatch in reference from the function tfrc_invert_loss_event_rate() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1dcb394): Section mismatch in reference from the function sctp_assoc_sync_pmtu() to the variable .meminit.text:.L0
<< WARNING: modpost: vmlinux.o(__ex_table+0x11b0): Section mismatch in reference from the (unknown reference) (unknown) to the variable ___ksymtab_gpl+videobuf_iolock:__ksymtab_videobuf_iolock
<< WARNING: modpost: vmlinux.o(.text+0xdb2e7c): Section mismatch in reference from the function qla2xxx_qpair_sp_compl() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1db6134): Section mismatch in reference from the function tfrc_invert_loss_event_rate() to the variable .init.text:.L0
<< WARNING: modpost: vmlinux.o(.text+0x1dcb394): Section mismatch in reference from the function sctp_assoc_sync_pmtu() to the variable .meminit.text:.L0
<< WARNING: modpost: vmlinux.o(__ex_table+0x11b0): Section mismatch in reference from the (unknown reference) (unknown) to the variable ___ksymtab_gpl+videobuf_iolock:__ksymtab_videobuf_iolock

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 36143 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20200925/d8214b7c/attachment-0001.gz>


More information about the dri-devel mailing list