Hi Geert,

On 25/09/18 18:24, Geert Uytterhoeven wrote:
Hi Michael,

On Tue, Sep 25, 2018 at 1:23 AM Michael Schmitz <[email protected]> wrote:
Has this been resolved in the meantime?
Not that I'm aware of.

I'm running into a little dilemma when working on yet another spin on
the RDB partition patch (the patch that just won't die): either use old
gcc 4.6.3, and lack __udivdi3 support, or new and shiny 8.10 with its
strncmp mess.
You're not supposed to do 64-bit divisions in the kernel, except using
do_div() and the other helpers in include/linux/math64.h and
include/asm-generic/div64.h.

It's not just me - this happens when building without LBD support:

ERROR: "__udivdi3" [drivers/md/dm-thin-pool.ko] undefined!

Looks like DM_THIN_PROVISIONING should depend on LBD support being enabled...

This is with gcc 8.10 from kernel.org, FWIW.

Cheers,

    Michael



Gr{oetje,eeting}s,

                         Geert


Reply via email to