* undefined reference to `dma_common_mmap'
@ 2002-01-09 16:50 kbuild test robot
[not found] ` <20160606083705.GA2324@sudip-tp>
0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2002-01-09 16:50 UTC (permalink / raw)
Cc: kbuild-all, linux-kernel, Mauro Carvalho Chehab, linux-media,
Sudip Mukherjee
[-- Attachment #1: Type: text/plain, Size: 8155 bytes --]
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 #2: .config.gz --]
[-- Type: application/octet-stream, Size: 34686 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: undefined reference to `dma_common_mmap'
[not found] ` <20160606083705.GA2324@sudip-tp>
@ 2016-06-06 22:32 ` Sudip Mukherjee
0 siblings, 0 replies; 2+ messages in thread
From: Sudip Mukherjee @ 2016-06-06 22:32 UTC (permalink / raw)
To: kbuild test robot
Cc: no To-header on input, linux-kernel, Mauro Carvalho Chehab, linux-media
On Monday 06 June 2016 09:37 AM, Sudip Mukherjee wrote:
> On Thu, Jan 10, 2002 at 12:50:58AM +0800, kbuild test robot wrote:
>> 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
>
> Thanks, i will reproduce this tonight and see. But just fyi, i am no
> longer using my sudip@vectorindia.org because of a change in dayjob.
> I would have missed this mail unless the date of the mail was showing
> as Jan 10, 2002.
Before this patch m32r allyesconfig used to fail with the error:
../drivers/media/v4l2-core/videobuf2-dma-contig.c: In function
'vb2_dc_get_userptr':
../drivers/media/v4l2-core/videobuf2-dma-contig.c:484:28: error:
implicit declaration of function 'dma_get_cache_alignment'
[-Werror=implicit-function-declaration]
unsigned long dma_align = dma_get_cache_alignment();
and build never went past this point. This concerned patch fixed the
error and brought out new errors which were never known before this patch.
Regards
Sudip
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-06 22:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-09 16:50 undefined reference to `dma_common_mmap' kbuild test robot
[not found] ` <20160606083705.GA2324@sudip-tp>
2016-06-06 22:32 ` Sudip Mukherjee
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).