[radeon-alex:drm-next-4.18-wip 80/108] drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:211: undefined reference to `__divdi3'

kbuild test robot lkp at intel.com
Sat May 19 06:41:54 UTC 2018


tree:   git://people.freedesktop.org/~agd5f/linux.git drm-next-4.18-wip
head:   404af8e5236fe7eb64d91bf708bd7aa81815d14e
commit: a21ddec61c5ed30b58eea3268ad3e0c69452ebfe [80/108] drm/amd/display: fix 31_32_fixpt shift functions
config: i386-randconfig-a1-201819 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
        git checkout a21ddec61c5ed30b58eea3268ad3e0c69452ebfe
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   drivers/gpu/drm/amd/display/dc/basics/fixpt31_32.o: In function `dc_fixpt_shl':
>> drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h:211: undefined reference to `__divdi3'

vim +211 drivers/gpu/drm/amd/amdgpu/../display/include/fixed31_32.h

4562236b3 Harry Wentland     2017-09-12  199  
4562236b3 Harry Wentland     2017-09-12  200  /*
4562236b3 Harry Wentland     2017-09-12  201   * @brief
4562236b3 Harry Wentland     2017-09-12  202   * Binary shift operators
4562236b3 Harry Wentland     2017-09-12  203   */
4562236b3 Harry Wentland     2017-09-12  204  
4562236b3 Harry Wentland     2017-09-12  205  /*
4562236b3 Harry Wentland     2017-09-12  206   * @brief
4562236b3 Harry Wentland     2017-09-12  207   * result = arg << shift
4562236b3 Harry Wentland     2017-09-12  208   */
f3ba7a2fd Dmytro Laktyushkin 2018-04-18  209  static inline struct fixed31_32 dc_fixpt_shl(struct fixed31_32 arg, unsigned char shift)
f3ba7a2fd Dmytro Laktyushkin 2018-04-18  210  {
f3ba7a2fd Dmytro Laktyushkin 2018-04-18 @211  	ASSERT(((arg.value >= 0) && (arg.value <= LLONG_MAX >> shift)) ||
a21ddec61 Dmytro Laktyushkin 2018-04-23  212  		((arg.value < 0) && (arg.value >= (LLONG_MIN / (1 << shift)))));
f3ba7a2fd Dmytro Laktyushkin 2018-04-18  213  
a21ddec61 Dmytro Laktyushkin 2018-04-23  214  	arg.value = arg.value << shift;
f3ba7a2fd Dmytro Laktyushkin 2018-04-18  215  
a21ddec61 Dmytro Laktyushkin 2018-04-23  216  	return arg;
f3ba7a2fd Dmytro Laktyushkin 2018-04-18  217  }
4562236b3 Harry Wentland     2017-09-12  218  

:::::: The code at line 211 was first introduced by commit
:::::: f3ba7a2fd1ebffe7fc6a9c524754db05dcd0c0e4 drm/amd/display: inline more of fixed point code

:::::: TO: Dmytro Laktyushkin <Dmytro.Laktyushkin at amd.com>
:::::: CC: Alex Deucher <alexander.deucher at amd.com>

---
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: 32131 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20180519/65b40dcc/attachment-0001.gz>


More information about the dri-devel mailing list