[staging:staging-testing 190/192] undefined reference to `dmam_alloc_coherent'

kbuild test robot fengguang.wu at intel.com
Tue Oct 11 07:29:41 UTC 2016


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git staging-testing
head:   b5596d52a3715a37d6d0875791d93ae5b73c6f21
commit: ecbc62fd441210e54e25fa9683422bbc0143049d [190/192] staging: vc04_services: add CONFIG_COMPILE_TEST ability
config: m32r-allyesconfig (attached as .config)
compiler: m32r-linux-gcc (GCC) 6.2.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 ecbc62fd441210e54e25fa9683422bbc0143049d
        # save the attached .config to linux build tree
        make.cross ARCH=m32r 

All errors (new ones prefixed by >>):

   drivers/built-in.o: In function `stm32_serial_remove':
   stm32-usart.c:(.text+0xe3044): undefined reference to `bad_dma_ops'
   stm32-usart.c:(.text+0xe304c): undefined reference to `bad_dma_ops'
   stm32-usart.c:(.text+0xe30e8): undefined reference to `bad_dma_ops'
   stm32-usart.c:(.text+0xe30f0): undefined reference to `bad_dma_ops'
   drivers/built-in.o: In function `vpu_free_ext_mem':
   mtk_vpu.c:(.text+0xa321a8): undefined reference to `bad_dma_ops'
   drivers/built-in.o:mtk_vpu.c:(.text+0xa321b0): more undefined references to `bad_dma_ops' follow
   drivers/built-in.o: In function `vchiq_platform_init':
>> (.text+0xee0028): undefined reference to `dmam_alloc_coherent'
   drivers/built-in.o: In function `vchiq_platform_init':
   (.text+0xee0028): relocation truncated to fit: R_M32R_26_PCREL_RELA against undefined symbol `dmam_alloc_coherent'
   sound/built-in.o: In function `snd_pcm_lib_default_mmap':
   (.text+0xfce0): undefined reference to `bad_dma_ops'
   sound/built-in.o: In function `snd_pcm_lib_default_mmap':
   (.text+0xfce4): undefined reference to `bad_dma_ops'
   sound/built-in.o: In function `snd_pcm_lib_default_mmap':
   (.text+0xfd34): undefined reference to `dma_common_mmap'
   sound/built-in.o: In function `snd_pcm_lib_default_mmap':
   (.text+0xfd34): relocation truncated to fit: R_M32R_26_PCREL_RELA against undefined symbol `dma_common_mmap'
   sound/built-in.o: In function `cygnus_pcm_preallocate_dma_buffer':
   cygnus-pcm.c:(.text+0x115880): undefined reference to `bad_dma_ops'
   cygnus-pcm.c:(.text+0x115884): undefined reference to `bad_dma_ops'
   cygnus-pcm.c:(.text+0x1158b8): undefined reference to `bad_dma_ops'
   sound/built-in.o: In function `cygnus_dma_free_dma_buffers':
   cygnus-pcm.c:(.text+0x1159b8): undefined reference to `bad_dma_ops'
   cygnus-pcm.c:(.text+0x1159c0): undefined reference to `bad_dma_ops'
   sound/built-in.o:cygnus-pcm.c:(.text+0x115a58): more undefined references to `bad_dma_ops' follow

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 37038 bytes
Desc: not available
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20161011/d7461925/attachment-0001.bin>


More information about the devel mailing list