Hi,

I am getting compilation errors when cross-compiling for 32-bit ARM.

aufs-4.14 branch


==

fs/aufs/xino.o: In function `au_xino_read':
xino.c:(.text+0x1520): undefined reference to `__aeabi_ldivmod'
fs/aufs/xino.o: In function `au_xino_write':
xino.c:(.text+0x1838): undefined reference to `__aeabi_ldivmod'
fs/aufs/xino.o: In function `au_xino_do_set_br':
xino.c:(.text+0x2534): undefined reference to `__aeabi_ldivmod'
fs/aufs/xino.o: In function `au_xino_delete_inode':
xino.c:(.text+0x3208): undefined reference to `__aeabi_ldivmod'
Makefile:1016: recipe for target 'vmlinux' failed
make[2]: *** [vmlinux] Error 1
==


Probably caused by the 64-bit divisions in the new au_xi_calc() code not being natively supported on 32-bit architectures.
Think you need to call do_div() or similar instead.


Yours sincerely,

Floris Bos


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

Reply via email to