LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* riscv64-linux-ld: virtgpu_drv.c:undefined reference to `drm_dev_put'
@ 2020-03-10 23:40 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-03-10 23:40 UTC (permalink / raw)
  To: Anup Patel
  Cc: kbuild-all, linux-kernel, Palmer Dabbelt, Atish Patra, Alistair Francis

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   30bb5572ce7a8710fa9ea720b6ecb382791c9800
commit: 759bdc168181abeff61399d0f7ecec2852cc3e61 RISC-V: Add kconfig option for QEMU virt machine
date:   5 days ago
config: riscv-allmodconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 9.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 759bdc168181abeff61399d0f7ecec2852cc3e61
        # save the attached .config to linux build tree
        GCC_VERSION=9.2.0 make.cross ARCH=riscv 

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_drv.o: in function `virtio_gpu_remove':
   virtgpu_drv.c:(.text+0x80): undefined reference to `drm_dev_unregister'
>> riscv64-linux-ld: virtgpu_drv.c:(.text+0x94): undefined reference to `drm_dev_put'
   riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_drv.o: in function `.L0 ':
   virtgpu_drv.c:(.text+0xee): undefined reference to `drm_dev_alloc'
>> riscv64-linux-ld: virtgpu_drv.c:(.text+0x1c6): undefined reference to `drm_dev_set_unique'
   riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_drv.o: in function `.L21':
   virtgpu_drv.c:(.text+0x1d8): undefined reference to `drm_dev_register'
>> riscv64-linux-ld: virtgpu_drv.c:(.text+0x1f6): undefined reference to `drm_fbdev_generic_setup'
   riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_drv.o: in function `.L11':
   virtgpu_drv.c:(.text+0x202): undefined reference to `drm_dev_put'
>> riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_drv.o:(.rodata+0x10): undefined reference to `drm_read'
>> riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_drv.o:(.rodata+0x48): undefined reference to `drm_poll'
>> riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_drv.o:(.rodata+0x50): undefined reference to `drm_ioctl'
>> riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_drv.o:(.rodata+0x60): undefined reference to `drm_gem_mmap'
>> riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_drv.o:(.rodata+0x70): undefined reference to `drm_open'
>> riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_drv.o:(.rodata+0x80): undefined reference to `drm_release'
   riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_drv.o: in function `.LANCHOR0':
   virtgpu_drv.c:(.data+0x1c0): undefined reference to `drm_gem_prime_handle_to_fd'
>> riscv64-linux-ld: virtgpu_drv.c:(.data+0x1c8): undefined reference to `drm_gem_prime_fd_to_handle'
>> riscv64-linux-ld: virtgpu_drv.c:(.data+0x210): undefined reference to `drm_gem_prime_mmap'
   riscv64-linux-ld: drivers/scsi/virtio_scsi.o: in function `.L23':
   virtio_scsi.c:(.text+0x14e): undefined reference to `scsi_change_queue_depth'
   riscv64-linux-ld: drivers/scsi/virtio_scsi.o: in function `.L0 ':
   virtio_scsi.c:(.text+0xa26): undefined reference to `sdev_prefix_printk'
   riscv64-linux-ld: drivers/scsi/virtio_scsi.o: in function `.L106':
   virtio_scsi.c:(.text+0xb68): undefined reference to `scsi_remove_host'
>> riscv64-linux-ld: virtio_scsi.c:(.text+0xbba): undefined reference to `scsi_host_put'
   riscv64-linux-ld: drivers/scsi/virtio_scsi.o: in function `.L0 ':
   virtio_scsi.c:(.text+0xc82): undefined reference to `scmd_printk'
>> riscv64-linux-ld: virtio_scsi.c:(.text+0xe4c): undefined reference to `__scsi_iterate_devices'
   riscv64-linux-ld: drivers/scsi/virtio_scsi.o: in function `.L117':
   virtio_scsi.c:(.text+0xe8c): undefined reference to `scsi_scan_host'
   riscv64-linux-ld: drivers/scsi/virtio_scsi.o: in function `.L115':
   virtio_scsi.c:(.text+0xf2c): undefined reference to `__scsi_execute'
>> riscv64-linux-ld: virtio_scsi.c:(.text+0xf4c): undefined reference to `scsi_remove_device'
   riscv64-linux-ld: drivers/scsi/virtio_scsi.o: in function `.L116':
   virtio_scsi.c:(.text+0xf58): undefined reference to `__scsi_iterate_devices'
   riscv64-linux-ld: drivers/scsi/virtio_scsi.o: in function `.L122':
   virtio_scsi.c:(.text+0x100e): undefined reference to `scsi_add_device'
   riscv64-linux-ld: drivers/scsi/virtio_scsi.o: in function `.L123':
   virtio_scsi.c:(.text+0x1020): undefined reference to `scsi_device_lookup'
   riscv64-linux-ld: virtio_scsi.c:(.text+0x102c): undefined reference to `scsi_remove_device'
>> riscv64-linux-ld: virtio_scsi.c:(.text+0x1036): undefined reference to `scsi_device_put'
   riscv64-linux-ld: drivers/scsi/virtio_scsi.o: in function `.L119':
   virtio_scsi.c:(.text+0x10fa): undefined reference to `scsi_device_lookup'
   riscv64-linux-ld: drivers/scsi/virtio_scsi.o: in function `.L128':
   virtio_scsi.c:(.text+0x114a): undefined reference to `scsi_rescan_device'
   riscv64-linux-ld: drivers/scsi/virtio_scsi.o: in function `.L127':
   virtio_scsi.c:(.text+0x1154): undefined reference to `scsi_device_put'
   riscv64-linux-ld: drivers/scsi/virtio_scsi.o: in function `.L0 ':
   virtio_scsi.c:(.text+0x1378): undefined reference to `scmd_printk'
>> riscv64-linux-ld: virtio_scsi.c:(.text+0x1b6a): undefined reference to `scsi_host_alloc'
   riscv64-linux-ld: drivers/scsi/virtio_scsi.o: in function `.L215':
   virtio_scsi.c:(.text+0x2158): undefined reference to `scsi_add_host_with_dma'
   riscv64-linux-ld: drivers/scsi/virtio_scsi.o: in function `.L220':
   virtio_scsi.c:(.text+0x21fe): undefined reference to `scsi_scan_host'
   riscv64-linux-ld: drivers/scsi/virtio_scsi.o: in function `.L214':
   virtio_scsi.c:(.text+0x223c): undefined reference to `scsi_host_put'
   riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_kms.o: in function `.L18':
   virtgpu_kms.c:(.text+0x18e): undefined reference to `drm_helper_hpd_irq_event'
   riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_kms.o: in function `.L0 ':
   virtgpu_kms.c:(.text+0x6a6): undefined reference to `__drm_err'
>> riscv64-linux-ld: virtgpu_kms.c:(.text+0x6f8): undefined reference to `__drm_err'
   riscv64-linux-ld: virtgpu_kms.c:(.text+0x75a): undefined reference to `__drm_err'
   riscv64-linux-ld: virtgpu_kms.c:(.text+0x8ca): undefined reference to `__drm_err'
   riscv64-linux-ld: virtgpu_kms.c:(.text+0x992): undefined reference to `__drm_err'
   riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_gem.o: in function `virtio_gpu_gem_create':
   (.text+0xac): undefined reference to `drm_gem_handle_create'
>> riscv64-linux-ld: (.text+0xbc): undefined reference to `drm_gem_object_release'
>> riscv64-linux-ld: (.text+0xda): undefined reference to `drm_gem_object_put_unlocked'
   riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_gem.o: in function `.L20':
   virtgpu_gem.c:(.text+0x268): undefined reference to `drm_gem_object_lookup'
>> riscv64-linux-ld: virtgpu_gem.c:(.text+0x296): undefined reference to `drm_gem_object_put_unlocked'
   riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_gem.o: in function `.L46':
   virtgpu_gem.c:(.text+0x57e): undefined reference to `drm_gem_lock_reservations'
   riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_gem.o: in function `.L49':
   virtgpu_gem.c:(.text+0x62e): undefined reference to `drm_gem_unlock_reservations'
   riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_gem.o: in function `.L64':
   virtgpu_gem.c:(.text+0x71e): undefined reference to `drm_gem_object_put_unlocked'
   riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_gem.o: in function `.L73':
   virtgpu_gem.c:(.text+0x7a2): undefined reference to `drm_gem_object_lookup'
   riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `vgdev_atomic_commit_tail':
   virtgpu_display.c:(.text+0xf0): undefined reference to `drm_atomic_helper_commit_modeset_disables'
   riscv64-linux-ld: virtgpu_display.c:(.text+0xfc): undefined reference to `drm_atomic_helper_commit_modeset_enables'
   riscv64-linux-ld: virtgpu_display.c:(.text+0x10a): undefined reference to `drm_atomic_helper_commit_planes'
   riscv64-linux-ld: virtgpu_display.c:(.text+0x114): undefined reference to `drm_atomic_helper_commit_hw_done'
   riscv64-linux-ld: virtgpu_display.c:(.text+0x120): undefined reference to `drm_atomic_helper_wait_for_vblanks'
   riscv64-linux-ld: virtgpu_display.c:(.text+0x12c): undefined reference to `drm_atomic_helper_cleanup_planes'
   riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `.L11':
   virtgpu_display.c:(.text+0x19a): undefined reference to `drm_gem_object_lookup'
   riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `.L0 ':
   virtgpu_display.c:(.text+0x1dc): undefined reference to `drm_helper_mode_fill_fb_struct'
   riscv64-linux-ld: virtgpu_display.c:(.text+0x1f2): undefined reference to `drm_framebuffer_init'
   riscv64-linux-ld: virtgpu_display.c:(.text+0x216): undefined reference to `drm_gem_object_put_unlocked'
   riscv64-linux-ld: virtgpu_display.c:(.text+0x2de): undefined reference to `__drm_dbg'
   riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `.L32':
   virtgpu_display.c:(.text+0x34e): undefined reference to `drm_add_modes_noedid'
   riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `.L28':
   virtgpu_display.c:(.text+0x360): undefined reference to `drm_add_edid_modes'
   riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `.L29':
   virtgpu_display.c:(.text+0x380): undefined reference to `drm_set_preferred_mode'
   riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `.L0 ':
   virtgpu_display.c:(.text+0x398): undefined reference to `__drm_dbg'
   riscv64-linux-ld: virtgpu_display.c:(.text+0x3ba): undefined reference to `drm_cvt_mode'
   riscv64-linux-ld: virtgpu_display.c:(.text+0x3e0): undefined reference to `drm_mode_probed_add'
   riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `virtio_gpu_conn_destroy':
   virtgpu_display.c:(.text+0x416): undefined reference to `drm_connector_unregister'
   riscv64-linux-ld: virtgpu_display.c:(.text+0x420): undefined reference to `drm_connector_cleanup'
   riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `virtio_gpu_crtc_atomic_flush':
   virtgpu_display.c:(.text+0x5a6): undefined reference to `drm_crtc_send_vblank_event'
   riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `virtio_gpu_modeset_init':
   (.text+0x65a): undefined reference to `drm_mode_config_init'
   riscv64-linux-ld: (.text+0x758): undefined reference to `drm_mode_config_reset'
   riscv64-linux-ld: (.text+0x84a): undefined reference to `drm_crtc_init_with_planes'
   riscv64-linux-ld: (.text+0x878): undefined reference to `drm_connector_init'
   riscv64-linux-ld: (.text+0x8b4): undefined reference to `drm_connector_attach_edid_property'
   riscv64-linux-ld: (.text+0x8cc): undefined reference to `drm_encoder_init'
   riscv64-linux-ld: (.text+0x912): undefined reference to `drm_connector_attach_encoder'
   riscv64-linux-ld: (.text+0x91c): undefined reference to `drm_connector_register'
   riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `.L63':
   virtgpu_display.c:(.text+0x9d4): undefined reference to `drm_atomic_helper_shutdown'
   riscv64-linux-ld: virtgpu_display.c:(.text+0x9ea): undefined reference to `drm_mode_config_cleanup'
   riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_display.o: in function `.LANCHOR0':
   virtgpu_display.c:(.rodata+0x0): undefined reference to `drm_gem_fb_destroy'
   riscv64-linux-ld: virtgpu_display.c:(.rodata+0x8): undefined reference to `drm_gem_fb_create_handle'
   riscv64-linux-ld: virtgpu_display.c:(.rodata+0x10): undefined reference to `drm_atomic_helper_dirtyfb'
   riscv64-linux-ld: virtgpu_display.c:(.rodata+0x38): undefined reference to `drm_atomic_helper_check'
   riscv64-linux-ld: virtgpu_display.c:(.rodata+0x40): undefined reference to `drm_atomic_helper_commit'
   riscv64-linux-ld: virtgpu_display.c:(.rodata+0x60): undefined reference to `drm_atomic_helper_crtc_reset'
   riscv64-linux-ld: virtgpu_display.c:(.rodata+0x88): undefined reference to `drm_crtc_cleanup'
   riscv64-linux-ld: virtgpu_display.c:(.rodata+0x90): undefined reference to `drm_atomic_helper_set_config'
   riscv64-linux-ld: virtgpu_display.c:(.rodata+0x98): undefined reference to `drm_atomic_helper_page_flip'
   riscv64-linux-ld: virtgpu_display.c:(.rodata+0xb0): undefined reference to `drm_atomic_helper_crtc_duplicate_state'
   riscv64-linux-ld: virtgpu_display.c:(.rodata+0xb8): undefined reference to `drm_atomic_helper_crtc_destroy_state'
   riscv64-linux-ld: virtgpu_display.c:(.rodata+0x198): undefined reference to `drm_atomic_helper_connector_reset'
   riscv64-linux-ld: virtgpu_display.c:(.rodata+0x1b0): undefined reference to `drm_helper_probe_single_connector_modes'
   riscv64-linux-ld: virtgpu_display.c:(.rodata+0x1d8): undefined reference to `drm_atomic_helper_connector_duplicate_state'
   riscv64-linux-ld: virtgpu_display.c:(.rodata+0x1e0): undefined reference to `drm_atomic_helper_connector_destroy_state'
   riscv64-linux-ld: virtgpu_display.c:(.rodata+0x250): undefined reference to `drm_encoder_cleanup'
   riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_vq.o: in function `.L0 ':
   virtgpu_vq.c:(.text+0x1d4): undefined reference to `__drm_dbg'
   riscv64-linux-ld: virtgpu_vq.c:(.text+0x490): undefined reference to `__drm_dbg'
   riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_vq.o: in function `.L33':
   virtgpu_vq.c:(.text+0x49c): undefined reference to `__drm_dbg'
   riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_vq.o: in function `.L32':
   virtgpu_vq.c:(.text+0x506): undefined reference to `drm_helper_hpd_irq_event'
   riscv64-linux-ld: virtgpu_vq.c:(.text+0x51e): undefined reference to `drm_kms_helper_hotplug_event'
   riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_vq.o: in function `.L0 ':
   virtgpu_vq.c:(.text+0x75a): undefined reference to `drm_do_get_edid'
   riscv64-linux-ld: virtgpu_vq.c:(.text+0x76c): undefined reference to `drm_connector_update_edid_property'
   riscv64-linux-ld: virtgpu_vq.c:(.text+0x1256): undefined reference to `__drm_err'
   riscv64-linux-ld: virtgpu_vq.c:(.text+0x126c): undefined reference to `__drm_dbg'
   riscv64-linux-ld: virtgpu_vq.c:(.text+0x12ae): undefined reference to `__drm_err'
   riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_vq.o: in function `.L301':
   virtgpu_vq.c:(.text+0x2eb2): undefined reference to `drm_gem_shmem_pin'
   riscv64-linux-ld: virtgpu_vq.c:(.text+0x2ec0): undefined reference to `drm_gem_shmem_get_sg_table'
   riscv64-linux-ld: virtgpu_vq.c:(.text+0x2edc): undefined reference to `drm_gem_shmem_unpin'
   riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_vq.o: in function `.L0 ':
   virtgpu_vq.c:(.text+0x2fae): undefined reference to `__drm_err'
   riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_vq.o: in function `.L343':
   virtgpu_vq.c:(.text+0x336e): undefined reference to `drm_gem_shmem_unpin'
   riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_object.o: in function `.L4':
   virtgpu_object.c:(.text+0xb6): undefined reference to `drm_gem_shmem_free_object'
   riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_object.o: in function `virtio_gpu_object_create':
   (.text+0x192): undefined reference to `drm_gem_shmem_create'
   riscv64-linux-ld: (.text+0x2ee): undefined reference to `drm_gem_shmem_free_object'
   riscv64-linux-ld: drivers/gpu/drm/virtio/virtgpu_object.o: in function `.LANCHOR0':
   virtgpu_object.c:(.rodata+0x18): undefined reference to `drm_gem_shmem_print_info'
   riscv64-linux-ld: virtgpu_object.c:(.rodata+0x28): undefined reference to `drm_gem_shmem_pin'
   riscv64-linux-ld: virtgpu_object.c:(.rodata+0x30): undefined reference to `drm_gem_shmem_unpin'
   riscv64-linux-ld: virtgpu_object.c:(.rodata+0x38): undefined reference to `drm_gem_shmem_get_sg_table'
   riscv64-linux-ld: virtgpu_object.c:(.rodata+0x40): undefined reference to `drm_gem_shmem_vmap'
   riscv64-linux-ld: virtgpu_object.c:(.rodata+0x48): undefined reference to `drm_gem_shmem_vunmap'

---
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: 61922 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-03-10 23:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-10 23:40 riscv64-linux-ld: virtgpu_drv.c:undefined reference to `drm_dev_put' kbuild test robot

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).