Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1619320
| From | Icenowy Zheng <icenowy@aosc.io> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Linux next-20170407 failed to build on ARM due to usage of mod in btrfs code |
| Date | 2017-04-08 18:10 +0200 |
| Message-ID | <tu162-7uL-9@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hello everyone, Today I tried to build a kernel with btrfs enabled on ARM, then when linking I met such an error: ``` fs/built-in.o: In function `scrub_bio_end_io_worker': acl.c:(.text+0x2f0450): undefined reference to `__aeabi_uldivmod' fs/built-in.o: In function `scrub_extent_for_parity': acl.c:(.text+0x2f0bcc): undefined reference to `__aeabi_uldivmod' fs/built-in.o: In function `scrub_raid56_parity': acl.c:(.text+0x2f12a8): undefined reference to `__aeabi_uldivmod' acl.c:(.text+0x2f15c4): undefined reference to `__aeabi_uldivmod' ``` These functions are found at fs/btrfs/scrub.c . After disabling btrfs the kernel is successfully built. For this problem, see also [1], which used to be a similar bug in PL330 driver code. [1] https://patchwork.kernel.org/patch/5299081/ Thanks, Icenowy
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Linux next-20170407 failed to build on ARM due to usage of mod in btrfs code Icenowy Zheng <icenowy@aosc.io> - 2017-04-08 18:10 +0200
Re: Linux next-20170407 failed to build on ARM due to usage of mod in btrfs code Fabio Estevam <festevam@gmail.com> - 2017-04-08 19:50 +0200
Re: Linux next-20170407 failed to build on ARM due to usage of mod in btrfs code Adam Borowski <kilobyte@angband.pl> - 2017-04-08 20:40 +0200
[PATCH] btrfs: scrub: use do_div() for 64-by-32 division Adam Borowski <kilobyte@angband.pl> - 2017-04-08 23:10 +0200
Re: [PATCH] btrfs: scrub: use do_div() for 64-by-32 division Adam Borowski <kilobyte@angband.pl> - 2017-04-09 06:10 +0200
Re: [PATCH] btrfs: scrub: use do_div() for 64-by-32 division Adam Borowski <kilobyte@angband.pl> - 2017-04-10 03:20 +0200
Re: [PATCH] btrfs: scrub: use do_div() for 64-by-32 division David Sterba <dsterba@suse.cz> - 2017-04-10 13:20 +0200
Re: [PATCH] btrfs: scrub: use do_div() for 64-by-32 division "Austin S. Hemmelgarn" <ahferroin7@gmail.com> - 2017-04-10 15:00 +0200
csiph-web