lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Sat, 16 May 2020 07:19:13 -0400
From:   "Valdis Klētnieks" <valdis.kletnieks@...edu>
To:     Hannes Reinecke <hare@...e.de>, Alasdair Kergon <agk@...hat.com>,
        Mike Snitzer <snitzer@...hat.com>
Cc:     dm-devel@...hat.com, linux-kernel@...r.kernel.org
Subject: next-20200514 - build issue in drivers/md/dm-zoned-target.c

Am seeing a build error in next-0514.  -0420 built OK.
building a 'make allmodconfig' on a RPi4 in 32-bit mode.

  MODPOST 7575 modules
ERROR: modpost: "__aeabi_uldivmod" [drivers/md/dm-zoned.ko] undefined!

objdump and 'make drivers/md/dm-zoned-target.s' tells
me that the problem is in function dmz_fixup_devices(), near here:

@ drivers/md/dm-zoned-target.c:806:             reg_dev->nr_zones = DIV_ROUND_UP(reg_dev->capacity,
        ldr     r0, [r6, #56]   @ reg_dev_166->capacity, reg_dev_166->capacity
        adds    r1, r3, r1      @ tmp316, _227, reg_dev_166->capacity
        adc     r0, r2, r0      @ tmp315, _227, reg_dev_166->capacity
        subs    r1, r1, #1      @, tmp316,
@ drivers/md/dm-zoned-target.c:805:             reg_dev->zone_nr_sectors = zoned_dev->zone_nr_sectors;
        strd    r2, [r6, #80]   @, reg_dev,
@ drivers/md/dm-zoned-target.c:806:             reg_dev->nr_zones = DIV_ROUND_UP(reg_dev->capacity,
        sbc     r0, r0, #0      @, tmp315,
        bl      __aeabi_uldivmod                @
@ drivers/md/dm-zoned-target.c:806:             reg_dev->nr_zones = DIV_ROUND_UP(reg_dev->capacity,
        str     r1, [r6, #64]   @ tmp306, reg_dev_166->nr_zones

git blame points at this commit:

commit 70978208ec91d798066f4c291bc98ff914bea222
Author: Hannes Reinecke <hare@...e.de>
Date:   Mon May 11 10:24:30 2020 +0200

    dm zoned: metadata version 2

Reverting that commit lets the build complete.



Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists