I downloaded the .config in my environment and use `make W=1 ARCH=i386`
to build the kernel.
It fails.
drivers/md/raid10.o: In function `raid10_handle_discard':
/home/xni/codes/md/drivers/md/raid10.c:1644: undefined reference to
`__umoddi3'
/home/xni/codes/md/drivers/md/raid10.c:1648: undefined reference to
`__umoddi3'
make: *** [Makefile:1167: vmlinux] Error 1
It's my first time to see these errors. I'll try to fix the error and
send the patch again.
Regards
Xiao
On 08/24/2020 11:12 PM, Xiao Ni wrote:
Hi all
I can build successfully based on the latest upstream version
[xni@xiao md]$ git branch
master
* md-next
[xni@xiao md]$ git pull
Already up-to-date.
Makefile:
VERSION = 5
PATCHLEVEL = 9
SUBLEVEL = 0
EXTRAVERSION = -rc1
Regards
Xiao
On 08/24/2020 09:31 PM, kernel test robot wrote:
Hi Xiao,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on song-md/md-next]
[also build test ERROR on v5.9-rc2 next-20200824]
[cannot apply to md/for-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Xiao-Ni/md-raid10-move-codes-related-with-submitting-discard-bio-into-one-function/20200824-131217
base: git://git.kernel.org/pub/scm/linux/kernel/git/song/md.git md-next
config: i386-randconfig-a015-20200824 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
ld: drivers/md/raid10.o: in function `raid10_handle_discard':
drivers/md/raid10.c:1624: undefined reference to `__umoddi3'
ld: drivers/md/raid10.c:1628: undefined reference to `__umoddi3'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx