Bug 205967

Summary: [bisected] f2fs compression support breaks build
Product: File System Reporter: David Heidelberg (okias) (david)
Component: f2fsAssignee: Default virtual assignee for f2fs (filesystem_f2fs)
Status: RESOLVED PATCH_ALREADY_AVAILABLE    
Severity: normal CC: chao, david, jaegeuk, pavel, yuchao0
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 5.5.0-rc2-next Subsystem:
Regression: No Bisected commit-id:

Description David Heidelberg (okias) 2019-12-25 12:18:07 UTC
commit: 25d18e19a91e60837d36368ee939db13fd16dc64

breaks build for me (armv6):
/usr/bin/armv6-alpine-linux-musleabihf-ld: fs/f2fs/file.o: in function `f2fs_truncate_blocks':
/mnt/linux/.output/../fs/f2fs/file.c:738: undefined reference to `__aeabi_uldivmod'
make[1]: *** [/mnt/linux/Makefile:1079: vmlinux] Error 1

and Pavel Machek (x86-32) [1]:
LD .tmp_vmlinux1
ld: fs/f2fs/file.o: in function `f2fs_truncate_blocks':
file.c:(.text+0x2968): undefined reference to `__udivdi3'
make: *** [Makefile:1079: vmlinux] Error 1

[1] https://lkml.org/lkml/fancy/2019/12/22/48
Comment 1 Chao Yu 2019-12-26 01:40:12 UTC
We have fixed this issue, could you please check commit in last dev branch?

https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git/log/?h=dev
Comment 2 David Heidelberg (okias) 2020-01-01 22:45:37 UTC
Tested, fixed.