From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753225AbdDHSjL (ORCPT ); Sat, 8 Apr 2017 14:39:11 -0400 Received: from tartarus.angband.pl ([89.206.35.136]:59685 "EHLO tartarus.angband.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751955AbdDHSjC (ORCPT ); Sat, 8 Apr 2017 14:39:02 -0400 Date: Sat, 8 Apr 2017 20:38:17 +0200 From: Adam Borowski To: Fabio Estevam Cc: Icenowy Zheng , Chris Mason , Josef Bacik , David Sterba , "linux-arm-kernel@lists.infradead.org" , linux-kernel , linux-btrfs@vger.kernel.org Subject: Re: Linux next-20170407 failed to build on ARM due to usage of mod in btrfs code Message-ID: <20170408183817.lnlw7db2thmwcnz3@angband.pl> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Junkbait: aaron@angband.pl, zzyx@angband.pl User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: kilobyte@angband.pl X-SA-Exim-Scanned: No (on tartarus.angband.pl); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Apr 08, 2017 at 02:45:34PM -0300, Fabio Estevam wrote: > On Sat, Apr 8, 2017 at 1:02 PM, Icenowy Zheng wrote: > > 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. > > I see the same error with ARM imx_v6_v7_defconfig + btrfs support. > > Looks like it is caused by commit 7d0ef8b4dbbd220 ("Btrfs: update > scrub_parity to use u64 stripe_len"). +1, my bisect just finished, same bad commit. -- ⢀⣴⠾⠻⢶⣦⠀ Meow! ⣾⠁⢠⠒⠀⣿⡁ ⢿⡄⠘⠷⠚⠋⠀ Collisions shmolisions, let's see them find a collision or second ⠈⠳⣄⠀⠀⠀⠀ preimage for double rot13!