zfsonlinux/zfs — pull request #706 by lundman (2012-04-28 06:48:02+00:00)
Title: ARHC=ARM changes

Required changes for clean compile on ARM.

I ignored "boot" at the moment (Is that supported by other archs?) I only know uboot, and all work would need to go in there.

The final problem is the missing "64bit divide by 64bit";
"__aeabi_ldivmod"
"__aeabi_uldivmod"

Missing from zcommon.ko, and zfs.ko. (splat.ko)

More specifically used in zcommon.o zprop_common.o zvol.o zpl_super.o zio.o zil.o zfs_replay.o zfs.o zap_leaf.o vdev_raidz.o vdev_mirror.o vdev.o spa_misc.o spa_history.o spa.o metaslab.o dsl_scan.o dsl_pool.o dsl_dir.o dsl_dataset.o dmu_zfetch.o dmu_traverse.o arc.o

One option is to use the assembler supplied by Google, here: http://codereview.chromium.org/5302007/
Add tests to autoconf for its absence, and include it in linking.

Another question is, does ZFS need 64/64 ? Usually 64/32 is sufficient, but I do not know enough to answer that.