From: Geert Uytterhoeven <geert@linux-m68k.org>
To: kbuild test robot <lkp@intel.com>
Cc: Simon Horman <horms+renesas@verge.net.au>,
kbuild-all@01.org,
Linux-Renesas <linux-renesas-soc@vger.kernel.org>,
Geert Uytterhoeven <geert+renesas@glider.be>
Subject: Re: [renesas-drivers:topic/clk-r8a77990-z2-v3 11/13] rcar-gen3-cpg.c:undefined reference to `__udivdi3'
Date: Mon, 11 Feb 2019 13:47:51 +0100 [thread overview]
Message-ID: <CAMuHMdV7MreoB4L3adXms=8=pRjuAQNkidVSD8uzfDiLUFRuUg@mail.gmail.com> (raw)
In-Reply-To: <CAMuHMdXO3ULebpw5m1ikFeAsZdf1JytqTD+bLvGq3WEo3HdytQ@mail.gmail.com>
On Wed, Feb 6, 2019 at 8:03 AM Geert Uytterhoeven <geert@linux-m68k.org> wrote:
> On Wed, Feb 6, 2019 at 12:38 AM kbuild test robot <lkp@intel.com> 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@linux-m68k.org
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
prev parent reply other threads:[~2019-02-11 12:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-05 23:37 [renesas-drivers:topic/clk-r8a77990-z2-v3 11/13] rcar-gen3-cpg.c:undefined reference to `__udivdi3' kbuild test robot
2019-02-06 7:03 ` Geert Uytterhoeven
2019-02-11 12:47 ` Geert Uytterhoeven [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAMuHMdV7MreoB4L3adXms=8=pRjuAQNkidVSD8uzfDiLUFRuUg@mail.gmail.com' \
--to=geert@linux-m68k.org \
--cc=geert+renesas@glider.be \
--cc=horms+renesas@verge.net.au \
--cc=kbuild-all@01.org \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=lkp@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).