cygnus-pcm.c:undefined reference to `bad_dma_ops'

From: kbuild test robot
Date: Sun Oct 16 2016 - 13:53:37 EST


Hi Mark,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 1001354ca34179f3db924eb66672442a173147dc
commit: 3ceeda1cbee9f93bb5537c9b840d1f7e767d7c01 Merge remote-tracking branches 'asoc/topic/cs53l30', 'asoc/topic/cygnus', 'asoc/topic/da7219' and 'asoc/topic/davinci' into asoc-next
date: 3 months ago
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 3ceeda1cbee9f93bb5537c9b840d1f7e767d7c01
# save the attached .config to linux build tree
make.cross ARCH=m32r

All errors (new ones prefixed by >>):

sound/built-in.o: In function `snd_pcm_lib_default_mmap':
(.text+0xfcf4): undefined reference to `bad_dma_ops'
sound/built-in.o: In function `snd_pcm_lib_default_mmap':
(.text+0xfcf8): undefined reference to `bad_dma_ops'
sound/built-in.o: In function `snd_pcm_lib_default_mmap':
(.text+0xfd48): undefined reference to `dma_common_mmap'
sound/built-in.o: In function `snd_pcm_lib_default_mmap':
(.text+0xfd48): 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+0x10e94c): undefined reference to `bad_dma_ops'
cygnus-pcm.c:(.text+0x10e950): undefined reference to `bad_dma_ops'
cygnus-pcm.c:(.text+0x10e984): undefined reference to `bad_dma_ops'
sound/built-in.o: In function `cygnus_dma_free_dma_buffers':
cygnus-pcm.c:(.text+0x10ea84): undefined reference to `bad_dma_ops'
cygnus-pcm.c:(.text+0x10ea8c): undefined reference to `bad_dma_ops'
sound/built-in.o:cygnus-pcm.c:(.text+0x10eb24): 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

Attachment: .config.gz
Description: application/gzip