[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debian kernel builds failed under armel for the sid branch



On Tue, Jan 24, 2017 at 9:12 PM, Roger Shimizu <rogershimizu@gmail.com> wrote:
> Hi there,
>
> I found debian kernel src builds failed under armel for the sid
> branch, while amd64 is fine.
> git bisect traced to the following commit:
>
> [a7f877c1f1d9ac05045e4a108e54dc5a40d842f1] nbd: use loff_t for
> blocksize and nbd_set_size args (Closes: #851533)
>
> armel build log shows:
> ERROR: "__aeabi_ldivmod" [drivers/block/nbd.ko] undefined!

Seems we also need to backport this patch:

commit e88f72cb9f54f6d244e55f629fe5e2f34ca6f9ed
Author:     Jens Axboe <axboe@fb.com>
AuthorDate: Sat Dec 3 12:08:03 2016 -0700
Commit:     Jens Axboe <axboe@fb.com>
CommitDate: Sat Dec 3 12:08:03 2016 -0700

    nbd: fix 64-bit division

    We have this:

    ERROR: "__aeabi_ldivmod" [drivers/block/nbd.ko] undefined!
    ERROR: "__divdi3" [drivers/block/nbd.ko] undefined!
    nbd.c:(.text+0x247c72): undefined reference to `__divdi3'

    due to a recent commit, that did 64-bit division. Use the proper
    divider function so that 32-bit compiles don't break.

    Fixes: ef77b515243b ("nbd: use loff_t for blocksize and nbd_set_size args")
    Signed-off-by: Jens Axboe <axboe@fb.com>

Cheers,
-- 
Roger Shimizu, GMT +9 Tokyo
PGP/GPG: 4096R/6C6ACD6417B3ACB1


Reply to: