[radeon-alex:amd-staging-drm-next 2135/2152] sound/soc/amd/acp-pcm-dma.c:857: undefined reference to `__umoddi3'
kbuild test robot
fengguang.wu at intel.com
Wed Nov 8 00:01:30 UTC 2017
tree: git://people.freedesktop.org/~agd5f/linux.git amd-staging-drm-next
head: 9ef4af0611bafed9fd40c4af92c1daeefba45e95
commit: fb837978e0395a5f936e56bb3ed4c824d50da8e8 [2135/2152] ASoC: amd: Report accurate hw_ptr during dma
config: i386-randconfig-x0-11080703 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
git checkout fb837978e0395a5f936e56bb3ed4c824d50da8e8
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
sound/soc/amd/acp-pcm-dma.o: In function `acp_dma_pointer':
>> sound/soc/amd/acp-pcm-dma.c:857: undefined reference to `__umoddi3'
sound/soc/amd/acp-pcm-dma.c:861: undefined reference to `__umoddi3'
vim +857 sound/soc/amd/acp-pcm-dma.c
841
842 static snd_pcm_uframes_t acp_dma_pointer(struct snd_pcm_substream *substream)
843 {
844 u32 buffersize;
845 u32 pos = 0;
846 u64 bytescount = 0;
847
848 struct snd_pcm_runtime *runtime = substream->runtime;
849 struct audio_substream_data *rtd = runtime->private_data;
850
851 buffersize = frames_to_bytes(runtime, runtime->buffer_size);
852 bytescount = acp_get_byte_count(rtd->acp_mmio, substream->stream);
853
854 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
855 if (bytescount > rtd->renderbytescount)
856 bytescount = bytescount - rtd->renderbytescount;
> 857 pos = bytescount % buffersize;
858 } else {
859 if (bytescount > rtd->capturebytescount)
860 bytescount = bytescount - rtd->capturebytescount;
861 pos = bytescount % buffersize;
862 }
863 return bytes_to_frames(runtime, pos);
864 }
865
---
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: 26670 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20171108/4781ecd7/attachment-0001.gz>
More information about the dri-devel
mailing list