* [linux-next:master 2111/4815] sound/pci/emu10k1/emufx.c:1124: undefined reference to `__divdi3'
@ 2023-05-28 1:23 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-05-28 1:23 UTC (permalink / raw)
To: Oswald Buddenhagen
Cc: oe-kbuild-all, Linux Memory Management List, Takashi Iwai
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 6a3d37b4d885129561e1cef361216f00472f7d2e
commit: bb5ceb43b7bfa166fd5d739d51ad46c1cfb225e3 [2111/4815] ALSA: emu10k1: fix non-zero mixer control defaults in highres mode
config: i386-randconfig-i001-20230526 (https://download.01.org/0day-ci/archive/20230528/202305280916.VDhHUnPQ-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-12) 11.3.0
reproduce (this is a W=1 build):
# 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
make W=1 O=build_dir ARCH=i386 olddefconfig
make 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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202305280916.VDhHUnPQ-lkp@intel.com/
Note: the linux-next/master HEAD 6a3d37b4d885129561e1cef361216f00472f7d2e builds fine.
It may have been fixed somewhere.
All errors (new ones prefixed by >>):
ld: sound/pci/emu10k1/emufx.o: in function `snd_emu10k1_init_mono_control':
>> sound/pci/emu10k1/emufx.c:1124: undefined reference to `__divdi3'
ld: sound/pci/emu10k1/emufx.o: in function `snd_emu10k1_init_stereo_control':
sound/pci/emu10k1/emufx.c:1146: undefined reference to `__divdi3'
vim +1124 sound/pci/emu10k1/emufx.c
1111
1112 static void
1113 snd_emu10k1_init_mono_control(struct snd_emu10k1_fx8010_control_gpr *ctl,
1114 const char *name, int gpr, int defval)
1115 {
1116 ctl->id.iface = (__force int)SNDRV_CTL_ELEM_IFACE_MIXER;
1117 strcpy(ctl->id.name, name);
1118 ctl->vcount = ctl->count = 1;
1119 if (high_res_gpr_volume) {
1120 ctl->min = 0;
1121 ctl->max = 0x7fffffff;
1122 ctl->tlv = snd_emu10k1_db_linear;
1123 ctl->translation = EMU10K1_GPR_TRANSLATION_NONE;
> 1124 defval = defval * 0x7fffffffLL / 100;
1125 } else {
1126 ctl->min = 0;
1127 ctl->max = 100;
1128 ctl->tlv = snd_emu10k1_db_scale1;
1129 ctl->translation = EMU10K1_GPR_TRANSLATION_TABLE100;
1130 }
1131 ctl->gpr[0] = gpr + 0; ctl->value[0] = defval;
1132 }
1133
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-05-28 1:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-28 1:23 [linux-next:master 2111/4815] sound/pci/emu10k1/emufx.c:1124: undefined reference to `__divdi3' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox