* [akpm-mm:mm-nonmm-unstable 52/52] bch.c:undefined reference to `__paritydi2'
@ 2025-01-31 13:01 kernel test robot
2025-01-31 13:25 ` Uros Bizjak
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2025-01-31 13:01 UTC (permalink / raw)
To: Uros Bizjak; +Cc: oe-kbuild-all, Andrew Morton, Linux Memory Management List
tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-nonmm-unstable
head: 1b9f78ccbffefb107cd92e20cfccd03ff2fa9d0e
commit: 1b9f78ccbffefb107cd92e20cfccd03ff2fa9d0e [52/52] lib/bch.c: use __builtin_parity() when available
config: loongarch-randconfig-001-20250131 (https://download.01.org/0day-ci/archive/20250131/202501312051.0vJPrrIL-lkp@intel.com/config)
compiler: loongarch64-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250131/202501312051.0vJPrrIL-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202501312051.0vJPrrIL-lkp@intel.com/
All errors (new ones prefixed by >>):
loongarch64-linux-ld: lib/bch.o: in function `solve_linear_system.constprop.0.isra.0':
>> bch.c:(.text+0xd18): undefined reference to `__paritydi2'
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [akpm-mm:mm-nonmm-unstable 52/52] bch.c:undefined reference to `__paritydi2' 2025-01-31 13:01 [akpm-mm:mm-nonmm-unstable 52/52] bch.c:undefined reference to `__paritydi2' kernel test robot @ 2025-01-31 13:25 ` Uros Bizjak 0 siblings, 0 replies; 2+ messages in thread From: Uros Bizjak @ 2025-01-31 13:25 UTC (permalink / raw) To: kernel test robot Cc: oe-kbuild-all, Andrew Morton, Linux Memory Management List On Fri, Jan 31, 2025 at 2:02 PM kernel test robot <lkp@intel.com> wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-nonmm-unstable > head: 1b9f78ccbffefb107cd92e20cfccd03ff2fa9d0e > commit: 1b9f78ccbffefb107cd92e20cfccd03ff2fa9d0e [52/52] lib/bch.c: use __builtin_parity() when available > config: loongarch-randconfig-001-20250131 (https://download.01.org/0day-ci/archive/20250131/202501312051.0vJPrrIL-lkp@intel.com/config) > compiler: loongarch64-linux-gcc (GCC) 14.2.0 > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250131/202501312051.0vJPrrIL-lkp@intel.com/reproduce) > > If you fix the issue in a separate patch/commit (i.e. not just a new version of > the same patch/commit), kindly add following tags > | Reported-by: kernel test robot <lkp@intel.com> > | Closes: https://lore.kernel.org/oe-kbuild-all/202501312051.0vJPrrIL-lkp@intel.com/ > > All errors (new ones prefixed by >>): > > loongarch64-linux-ld: lib/bch.o: in function `solve_linear_system.constprop.0.isra.0': > >> bch.c:(.text+0xd18): undefined reference to `__paritydi2' Hm, my config cross-compiles to: bstrpick.d $r4,$r4,31,0 vrepli.d $vr0,0 vinsgr2vr.d $vr0,$r4,0 vpcnt.d $vr0,$vr0 vpickve2gr.du $r4,$vr0,0 andi $r4,$r4,1 jr $r1 It looks that __has_builtin() does not mean that there will be no call to a library function?! Uros. ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-01-31 13:26 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2025-01-31 13:01 [akpm-mm:mm-nonmm-unstable 52/52] bch.c:undefined reference to `__paritydi2' kernel test robot 2025-01-31 13:25 ` Uros Bizjak
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox