undefined reference to `bad_dma_ops'

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

 



Hi,

It's probably a bug fix that unveils the link errors.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   c141afd1a28793c08c88325aa64b773be6f79ccf
commit: 420520766a796d36076111139ba1e4fb1aadeadd [media] media: Kconfig: add dependency of HAS_DMA
date:   5 months ago
config: m32r-allyesconfig (attached as .config)
compiler: m32r-linux-gcc (GCC) 4.9.0
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 420520766a796d36076111139ba1e4fb1aadeadd
        # save the attached .config to linux build tree
        make.cross ARCH=m32r 

All errors (new ones prefixed by >>):

   drivers/built-in.o: In function `hisi_sas_slot_task_free':
>> (.text+0x219238): undefined reference to `bad_dma_ops'
   drivers/built-in.o: In function `hisi_sas_slot_task_free':
   (.text+0x21923c): undefined reference to `bad_dma_ops'
   drivers/built-in.o: In function `hisi_sas_free':
   hisi_sas_main.c:(.text+0x2194cc): undefined reference to `bad_dma_ops'
   hisi_sas_main.c:(.text+0x2194d0): undefined reference to `bad_dma_ops'
   hisi_sas_main.c:(.text+0x219530): undefined reference to `bad_dma_ops'
   drivers/built-in.o:hisi_sas_main.c:(.text+0x219534): more undefined references to `bad_dma_ops' follow
   drivers/built-in.o: In function `hisi_sas_slot_task_free':
   (.text+0x219260): undefined reference to `dma_pool_free'
   drivers/built-in.o: In function `hisi_sas_slot_task_free':
   (.text+0x219260): relocation truncated to fit: R_M32R_26_PCREL_RELA against undefined symbol `dma_pool_free'
   drivers/built-in.o: In function `hisi_sas_slot_task_free':
   (.text+0x219278): undefined reference to `dma_pool_free'
   drivers/built-in.o: In function `hisi_sas_slot_task_free':
   (.text+0x219278): relocation truncated to fit: R_M32R_26_PCREL_RELA against undefined symbol `dma_pool_free'
   drivers/built-in.o: In function `hisi_sas_slot_task_free':
   (.text+0x21928c): undefined reference to `dma_pool_free'
   drivers/built-in.o: In function `hisi_sas_slot_task_free':
   (.text+0x21928c): relocation truncated to fit: R_M32R_26_PCREL_RELA against undefined symbol `dma_pool_free'
   drivers/built-in.o: In function `hisi_sas_free':
   hisi_sas_main.c:(.text+0x219560): undefined reference to `dma_pool_destroy'
   hisi_sas_main.c:(.text+0x219560): relocation truncated to fit: R_M32R_26_PCREL_RELA against undefined symbol `dma_pool_destroy'
   hisi_sas_main.c:(.text+0x21956c): undefined reference to `dma_pool_destroy'
   hisi_sas_main.c:(.text+0x21956c): relocation truncated to fit: R_M32R_26_PCREL_RELA against undefined symbol `dma_pool_destroy'
   hisi_sas_main.c:(.text+0x219574): undefined reference to `dma_pool_destroy'
   hisi_sas_main.c:(.text+0x219574): relocation truncated to fit: R_M32R_26_PCREL_RELA against undefined symbol `dma_pool_destroy'
   drivers/built-in.o: In function `hisi_sas_probe':
   (.text+0x219fa4): undefined reference to `dma_pool_create'
   drivers/built-in.o: In function `hisi_sas_probe':
   (.text+0x219fa4): relocation truncated to fit: R_M32R_26_PCREL_RELA against undefined symbol `dma_pool_create'
   drivers/built-in.o: In function `hisi_sas_probe':
   (.text+0x219fcc): undefined reference to `dma_pool_create'
   drivers/built-in.o: In function `hisi_sas_probe':
   (.text+0x219fcc): relocation truncated to fit: R_M32R_26_PCREL_RELA against undefined symbol `dma_pool_create'
   drivers/built-in.o: In function `hisi_sas_probe':
   (.text+0x21a0fc): undefined reference to `dma_pool_create'
   drivers/built-in.o: In function `hisi_sas_probe':
   (.text+0x21a0fc): relocation truncated to fit: R_M32R_26_PCREL_RELA against undefined symbol `dma_pool_create'
   drivers/built-in.o: In function `hisi_sas_task_exec.isra.9':
   hisi_sas_main.c:(.text+0x21a834): undefined reference to `dma_pool_alloc'
   hisi_sas_main.c:(.text+0x21a834): relocation truncated to fit: R_M32R_26_PCREL_RELA against undefined symbol `dma_pool_alloc'
   hisi_sas_main.c:(.text+0x21a860): undefined reference to `dma_pool_alloc'
   hisi_sas_main.c:(.text+0x21a860): additional relocation overflows omitted from the output
   hisi_sas_main.c:(.text+0x21a990): undefined reference to `dma_pool_free'
   hisi_sas_main.c:(.text+0x21a9a8): undefined reference to `dma_pool_free'
   hisi_sas_main.c:(.text+0x21a9c8): undefined reference to `dma_pool_free'
   drivers/built-in.o: In function `prep_smp_v1_hw':
   hisi_sas_v1_hw.c:(.text+0x21b660): undefined reference to `bad_dma_ops'
   hisi_sas_v1_hw.c:(.text+0x21b668): undefined reference to `bad_dma_ops'
   drivers/built-in.o: In function `slot_complete_v1_hw':
   hisi_sas_v1_hw.c:(.text+0x21c80c): undefined reference to `bad_dma_ops'
   hisi_sas_v1_hw.c:(.text+0x21c810): undefined reference to `bad_dma_ops'
   drivers/built-in.o: In function `prep_ssp_v1_hw':
   hisi_sas_v1_hw.c:(.text+0x21ba0c): undefined reference to `dma_pool_alloc'
   drivers/built-in.o: In function `usb_hcd_unmap_urb_setup_for_dma':
   (.text+0x5ab288): undefined reference to `bad_dma_ops'
   drivers/built-in.o: In function `usb_hcd_unmap_urb_setup_for_dma':
   (.text+0x5ab290): undefined reference to `bad_dma_ops'
   drivers/built-in.o: In function `usb_hcd_unmap_urb_for_dma':
   (.text+0x5ab350): undefined reference to `bad_dma_ops'
   drivers/built-in.o: In function `usb_hcd_unmap_urb_for_dma':
   (.text+0x5ab358): undefined reference to `bad_dma_ops'
   drivers/built-in.o: In function `usb_hcd_unmap_urb_for_dma':
   (.text+0x5ab378): undefined reference to `bad_dma_ops'
   drivers/built-in.o:(.text+0x5ab380): more undefined references to `bad_dma_ops' follow
   drivers/built-in.o: In function `hcd_buffer_destroy':
   (.text+0x5b3904): undefined reference to `dma_pool_destroy'
   drivers/built-in.o: In function `hcd_buffer_create':
   (.text+0x5b3980): undefined reference to `dma_pool_create'
   drivers/built-in.o: In function `hcd_buffer_alloc':
   (.text+0x5b3a3c): undefined reference to `dma_pool_alloc'
   drivers/built-in.o: In function `hcd_buffer_free':
   (.text+0x5b3af4): undefined reference to `dma_pool_free'
   drivers/built-in.o: In function `dwc2_hc_start_transfer_ddma':
   (.text+0x5c00f4): undefined reference to `bad_dma_ops'
   drivers/built-in.o: In function `dwc2_hc_start_transfer_ddma':
   (.text+0x5c00fc): undefined reference to `bad_dma_ops'
   drivers/built-in.o: In function `dwc2_driver_probe':
   platform.c:(.text+0x5c4ca0): undefined reference to `bad_dma_ops'
   platform.c:(.text+0x5c4ca4): undefined reference to `bad_dma_ops'
   drivers/built-in.o: In function `dwc2_assign_and_init_hc':
   hcd.c:(.text+0x5c89b8): undefined reference to `bad_dma_ops'
   drivers/built-in.o:hcd.c:(.text+0x5c89c4): more undefined references to `bad_dma_ops' follow
   drivers/built-in.o: In function `dwc2_hsotg_ep_queue.isra.6':
   gadget.c:(.text+0x5d1338): undefined reference to `usb_gadget_map_request'
   drivers/built-in.o: In function `dwc2_hsotg_complete_request':
   gadget.c:(.text+0x5d1e84): undefined reference to `usb_gadget_unmap_request'
   drivers/built-in.o: In function `ehci_mem_cleanup':
   ehci-hcd.c:(.text+0x5de7e8): undefined reference to `bad_dma_ops'
   ehci-hcd.c:(.text+0x5de7ec): undefined reference to `bad_dma_ops'
   drivers/built-in.o: In function `ehci_setup':
   (.text+0x5e1db8): undefined reference to `bad_dma_ops'
   drivers/built-in.o: In function `ehci_setup':
   (.text+0x5e1dc0): undefined reference to `bad_dma_ops'
   drivers/built-in.o: In function `ehset_single_step_set_feature':
   ehci-hcd.c:(.text+0x5e40b0): undefined reference to `bad_dma_ops'
   drivers/built-in.o:ehci-hcd.c:(.text+0x5e40bc): more undefined references to `bad_dma_ops' follow
   drivers/built-in.o: In function `ehci_qtd_alloc':
   ehci-hcd.c:(.text+0x5dcc88): undefined reference to `dma_pool_alloc'
   drivers/built-in.o: In function `ehci_qh_alloc':
--
   drivers/built-in.o: In function `td_free':
   ohci-hcd.c:(.text+0x5f6cbc): undefined reference to `dma_pool_free'
   drivers/built-in.o: In function `ohci_endpoint_disable':
   ohci-hcd.c:(.text+0x5f7b28): undefined reference to `dma_pool_free'
   drivers/built-in.o: In function `td_alloc':
   ohci-hcd.c:(.text+0x5f7c40): undefined reference to `dma_pool_alloc'
   drivers/built-in.o: In function `ohci_stop':
   ohci-hcd.c:(.text+0x5f99e4): undefined reference to `dma_pool_destroy'
   ohci-hcd.c:(.text+0x5f99f4): undefined reference to `dma_pool_destroy'
   drivers/built-in.o: In function `ohci_setup':
   (.text+0x5f9c80): undefined reference to `dma_pool_create'
   drivers/built-in.o: In function `ohci_setup':
   (.text+0x5f9ca0): undefined reference to `dma_pool_create'
   drivers/built-in.o: In function `ohci_setup':
   (.text+0x5f9cb0): undefined reference to `dma_pool_destroy'
   drivers/built-in.o: In function `ohci_urb_enqueue':
   ohci-hcd.c:(.text+0x5fa6dc): undefined reference to `dma_pool_alloc'
   ohci-hcd.c:(.text+0x5fa728): undefined reference to `dma_pool_free'
   drivers/built-in.o: In function `ohci_platform_probe':
   ohci-platform.c:(.text+0x5fb1f8): undefined reference to `bad_dma_ops'
   ohci-platform.c:(.text+0x5fb200): undefined reference to `bad_dma_ops'
   drivers/built-in.o: In function `xhci_gen_setup':
   (.text+0x5fd1e0): undefined reference to `bad_dma_ops'
   drivers/built-in.o: In function `xhci_gen_setup':
   (.text+0x5fd1e8): undefined reference to `bad_dma_ops'
   drivers/built-in.o: In function `scratchpad_alloc':
   xhci-mem.c:(.text+0x600ce0): undefined reference to `bad_dma_ops'
   drivers/built-in.o:xhci-mem.c:(.text+0x600ce8): more undefined references to `bad_dma_ops' follow
   drivers/built-in.o: In function `xhci_segment_free':
   xhci-mem.c:(.text+0x600b34): undefined reference to `dma_pool_free'
   drivers/built-in.o: In function `xhci_free_container_ctx':
   xhci-mem.c:(.text+0x600b70): undefined reference to `dma_pool_free'
   drivers/built-in.o: In function `xhci_segment_alloc':
   xhci-mem.c:(.text+0x600f74): undefined reference to `dma_pool_alloc'
   drivers/built-in.o: In function `xhci_alloc_container_ctx':
   xhci-mem.c:(.text+0x601130): undefined reference to `dma_pool_alloc'
   drivers/built-in.o: In function `xhci_alloc_stream_info':
   (.text+0x603490): undefined reference to `dma_pool_alloc'
   drivers/built-in.o: In function `xhci_free_stream_info':
   (.text+0x603740): undefined reference to `dma_pool_free'
   drivers/built-in.o: In function `xhci_mem_cleanup':
   (.text+0x603d28): undefined reference to `dma_pool_destroy'
   drivers/built-in.o: In function `xhci_mem_cleanup':
   (.text+0x603d48): undefined reference to `dma_pool_destroy'
   drivers/built-in.o: In function `xhci_mem_cleanup':
   (.text+0x603d68): undefined reference to `dma_pool_destroy'
   drivers/built-in.o: In function `xhci_mem_cleanup':
   (.text+0x603d88): undefined reference to `dma_pool_destroy'
   drivers/built-in.o: In function `xhci_mem_init':
   (.text+0x604160): undefined reference to `dma_pool_create'
   drivers/built-in.o: In function `xhci_mem_init':
   (.text+0x604180): undefined reference to `dma_pool_create'
   drivers/built-in.o: In function `xhci_mem_init':
   (.text+0x6041a8): undefined reference to `dma_pool_create'
   drivers/built-in.o: In function `xhci_mem_init':
   (.text+0x6041c8): undefined reference to `dma_pool_create'
   drivers/built-in.o: In function `xhci_plat_probe':
   xhci-plat.c:(.text+0x60e774): undefined reference to `bad_dma_ops'
   xhci-plat.c:(.text+0x60e77c): undefined reference to `bad_dma_ops'
   drivers/built-in.o: In function `xhci_mtk_probe':
   xhci-mtk.c:(.text+0x60f390): undefined reference to `bad_dma_ops'
   xhci-mtk.c:(.text+0x60f394): undefined reference to `bad_dma_ops'
   drivers/built-in.o: In function `fotg210_mem_cleanup':
   fotg210-hcd.c:(.text+0x61cbac): undefined reference to `bad_dma_ops'
   drivers/built-in.o:fotg210-hcd.c:(.text+0x61cbb0): more undefined references to `bad_dma_ops' follow
   drivers/built-in.o: In function `end_free_itds':
   fotg210-hcd.c:(.text+0x61c764): undefined reference to `dma_pool_free'
   drivers/built-in.o: In function `qh_destroy':
   fotg210-hcd.c:(.text+0x61c834): undefined reference to `dma_pool_free'
   fotg210-hcd.c:(.text+0x61c844): undefined reference to `dma_pool_free'
   drivers/built-in.o: In function `fotg210_qtd_alloc':
   fotg210-hcd.c:(.text+0x61c8b4): undefined reference to `dma_pool_alloc'
   drivers/built-in.o: In function `fotg210_qh_alloc':
   fotg210-hcd.c:(.text+0x61c938): undefined reference to `dma_pool_alloc'
   fotg210-hcd.c:(.text+0x61c9a8): undefined reference to `dma_pool_free'
   drivers/built-in.o: In function `fotg210_mem_cleanup':
   fotg210-hcd.c:(.text+0x61cb5c): undefined reference to `dma_pool_destroy'
   fotg210-hcd.c:(.text+0x61cb68): undefined reference to `dma_pool_destroy'
   fotg210-hcd.c:(.text+0x61cb74): undefined reference to `dma_pool_destroy'
   drivers/built-in.o: In function `qh_completions':
   fotg210-hcd.c:(.text+0x61d578): undefined reference to `dma_pool_free'
   fotg210-hcd.c:(.text+0x61da68): undefined reference to `dma_pool_free'
   drivers/built-in.o: In function `qtd_list_free.isra.36':
   fotg210-hcd.c:(.text+0x61e604): undefined reference to `dma_pool_free'
   drivers/built-in.o: In function `itd_submit':
   fotg210-hcd.c:(.text+0x61ef20): undefined reference to `dma_pool_alloc'
   drivers/built-in.o: In function `hcd_fotg210_init':
   fotg210-hcd.c:(.text+0x61f7e8): undefined reference to `dma_pool_create'
   fotg210-hcd.c:(.text+0x61f824): undefined reference to `dma_pool_create'
   fotg210-hcd.c:(.text+0x61f858): undefined reference to `dma_pool_create'
   drivers/built-in.o: In function `intel_th_populate.isra.3':
   core.c:(.text+0xdf56c0): undefined reference to `bad_dma_ops'
   core.c:(.text+0xdf56f0): undefined reference to `bad_dma_ops'
   drivers/built-in.o: In function `msc_buffer_multi_free':
   msu.c:(.text+0xdf720c): undefined reference to `bad_dma_ops'
   msu.c:(.text+0xdf7210): undefined reference to `bad_dma_ops'
   drivers/built-in.o: In function `msc_buffer_alloc':
   msu.c:(.text+0xdf7a84): undefined reference to `bad_dma_ops'
   drivers/built-in.o:msu.c:(.text+0xdf7a8c): more undefined references to `bad_dma_ops' follow
   sound/built-in.o: In function `snd_pcm_lib_default_mmap':
>> (.text+0xe9d0): undefined reference to `dma_common_mmap'
   sound/built-in.o: In function `atmel_pcm_preallocate_dma_buffer':
   atmel-pcm-pdc.c:(.text+0xf0104): undefined reference to `bad_dma_ops'
   atmel-pcm-pdc.c:(.text+0xf0108): undefined reference to `bad_dma_ops'
   sound/built-in.o: In function `atmel_pcm_new':
   atmel-pcm-pdc.c:(.text+0xf0190): undefined reference to `bad_dma_ops'
   atmel-pcm-pdc.c:(.text+0xf0198): undefined reference to `bad_dma_ops'
   sound/built-in.o: In function `atmel_pcm_free':
   atmel-pcm-pdc.c:(.text+0xf032c): undefined reference to `bad_dma_ops'
   sound/built-in.o:atmel-pcm-pdc.c:(.text+0xf0394): more undefined references to `bad_dma_ops' follow
   sound/built-in.o: In function `lpass_platform_pcmops_mmap':
   lpass-platform.c:(.text+0xffa54): undefined reference to `dma_common_mmap'

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux