On Wed, Feb 6, 2019 at 8:03 AM Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote: > On Wed, Feb 6, 2019 at 12:38 AM kbuild test robot <lkp@xxxxxxxxx> wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/clk-r8a77990-z2-v3 > > head: 3423d0ef4af282d1a1021b40cc2e739c08c9046b > > commit: 0961e355977f7806b926ea0ae29c5cffa7867894 [11/13] clk: renesas: rcar-gen3: Support Z and Z2 clocks with high frequency parents > > config: i386-allmodconfig (attached as .config) > > compiler: gcc-8 (Debian 8.2.0-14) 8.2.0 > > reproduce: > > git checkout 0961e355977f7806b926ea0ae29c5cffa7867894 > > # save the attached .config to linux build tree > > make ARCH=i386 > > > > All errors (new ones prefixed by >>): > > > > ld: drivers/clk/renesas/rcar-gen3-cpg.o: in function `cpg_z_clk_set_rate': > > >> rcar-gen3-cpg.c:(.text+0x13c): undefined reference to `__udivdi3' > > Thanks for the report! > > I guess this is due to > > + mult = DIV_ROUND_CLOSEST(rate * 32ULL * zclk->fixed_div, parent_rate); > > While Simon had tested this on arm, apparently it fails on (at least) i386 > and mips. FTR, it does fail on arm32 with arm-linux-gnueabihf-gcc 7.3.0. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds