undefined reference to `dma_common_mmap'

[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:   af8c34ce6ae32addda3788d54a7e340cad22516b
commit: 420520766a796d36076111139ba1e4fb1aadeadd [media] media: Kconfig: add dependency of HAS_DMA
date:   in the future
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 `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