nios2 build: empty_zero_page ?
From: Randy Dunlap
Date: Fri May 11 2018 - 23:52:36 EST
Hi,
I bet this has come up before, but my search foo didn't find anything.
When (cross) building nios2 allmodconfig, I am seeing this build error:
ERROR: "empty_zero_page" [net/ceph/libceph.ko] undefined!
ERROR: "empty_zero_page" [fs/exofs/exofs.ko] undefined!
ERROR: "empty_zero_page" [fs/crypto/fscrypto.ko] undefined!
ERROR: "empty_zero_page" [fs/cramfs/cramfs.ko] undefined!
ERROR: "empty_zero_page" [drivers/usb/wusbcore/wusbcore.ko] undefined!
ERROR: "flush_icache_range" [drivers/misc/lkdtm/lkdtm.ko] undefined!
ERROR: "empty_zero_page" [drivers/md/dm-mod.ko] undefined!
and arch/nios2/mm/init.c references empty_zero_page, but I don't see
anywhere that it is defined.
Help?
There are plenty of other build issues also, but they all are about arithmetic
that is sometimes provided by libc functions, e.g.:
ERROR: "__ucmpdi2" [drivers/media/i2c/adv7842.ko] undefined!
ERROR: "__ashrdi3" [drivers/mtd/nand/onenand/onenand.ko] undefined!
ERROR: "__ashldi3" [fs/btrfs/btrfs.ko] undefined!
ERROR: "__lshrdi3" [drivers/mtd/tests/mtd_nandbiterrs.ko] undefined!
thanks,
--
~Randy