Bug 205967 - [bisected] f2fs compression support breaks build
Summary: [bisected] f2fs compression support breaks build
Status: RESOLVED PATCH_ALREADY_AVAILABLE
Alias: None
Product: File System
Classification: Unclassified
Component: f2fs (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Default virtual assignee for f2fs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-25 12:18 UTC by David Heidelberg (okias)
Modified: 2020-01-01 22:45 UTC (History)
5 users (show)

See Also:
Kernel Version: 5.5.0-rc2-next
Tree: Mainline
Regression: No


Attachments

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.

Note You need to log in before you can comment on or make changes to this bug.