Re: [linux-next:master 2420/3030] ld.lld: error: undefined symbol: __udivdi3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 17 May 2023 11:16:01 +0200,
kernel test robot wrote:
> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   065efa589871e93b6610c70c1e9de274ef1f1ba2
> commit: bb5ceb43b7bfa166fd5d739d51ad46c1cfb225e3 [2420/3030] ALSA: emu10k1: fix non-zero mixer control defaults in highres mode
> config: i386-buildonly-randconfig-r001-20230515
> compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1)
> reproduce (this is a W=1 build):
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=bb5ceb43b7bfa166fd5d739d51ad46c1cfb225e3
>         git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>         git fetch --no-tags linux-next master
>         git checkout bb5ceb43b7bfa166fd5d739d51ad46c1cfb225e3
>         # save the config file
>         mkdir build_dir && cp config build_dir/.config
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 olddefconfig
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash
> 
> If you fix the issue, kindly add following tag where applicable
> | Reported-by: kernel test robot <lkp@xxxxxxxxx>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202305171622.jKTovBvy-lkp@xxxxxxxxx/
> 
> All errors (new ones prefixed by >>):
> 
> >> ld.lld: error: undefined symbol: __udivdi3
>    >>> referenced by emufx.c:1146 (sound/pci/emu10k1/emufx.c:1146)
>    >>>               sound/pci/emu10k1/emufx.o:(snd_emu10k1_init_stereo_control) in archive vmlinux.a
>    >>> referenced by emufx.c:1124 (sound/pci/emu10k1/emufx.c:1124)
>    >>>               sound/pci/emu10k1/emufx.o:(snd_emu10k1_init_mono_control) in archive vmlinux.a

This comes from the division of 64bit values.  It has to be replaced
with div64*() macro.

Oswald, could you check it?


thanks,

Takashi




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux