LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Adrian Bunk <bunk@kernel.org>
To: Olaf Hering <olaf@aepfle.de>
Cc: linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org
Subject: Re: undefined references to __udivdi3 on powerpc
Date: Fri, 29 Feb 2008 08:56:30 +0200 [thread overview]
Message-ID: <20080229065630.GA16851@cs181133002.pp.htv.fi> (raw)
In-Reply-To: <20080228133718.GA8383@aepfle.de>
On Thu, Feb 28, 2008 at 02:37:18PM +0100, Olaf Hering wrote:
>
> While debugging __divdi3 calls in drivers/crypto/hifn_795x.c (due to the
> ndelay() delay call with a s64), I found even more breakage of that
> sort. This is after a allnoconfig with ARCH=powerpc in 2.6.25-rc3,
> plus CONFIG_MODULES=y and CONFIG_CRYPTO_DEV_HIFN_795X=y:
>
> LD .tmp_vmlinux1
> kernel/built-in.o: In function `update_xtime_cache':
> (.text+0x221a0): undefined reference to `__umoddi3'
> kernel/built-in.o: In function `update_xtime_cache':
> (.text+0x221c0): undefined reference to `__udivdi3'
> kernel/built-in.o: In function `getnstimeofday':
> (.text+0x22330): undefined reference to `__umoddi3'
> kernel/built-in.o: In function `getnstimeofday':
> (.text+0x22350): undefined reference to `__udivdi3'
> kernel/built-in.o: In function `timekeeping_resume':
> timekeeping.c:(.text+0x226a0): undefined reference to `__udivdi3'
> timekeeping.c:(.text+0x22778): undefined reference to `__umoddi3'
> timekeeping.c:(.text+0x22798): undefined reference to `__udivdi3'
> kernel/built-in.o: In function `update_wall_time':
> (.text+0x22c7c): undefined reference to `__umoddi3'
> kernel/built-in.o: In function `update_wall_time':
> (.text+0x22c9c): undefined reference to `__udivdi3'
> kernel/built-in.o: In function `update_wall_time':
> (.text+0x230f8): undefined reference to `__umoddi3'
> kernel/built-in.o: In function `update_wall_time':
> (.text+0x23118): undefined reference to `__udivdi3'
> kernel/built-in.o: In function `do_settimeofday':
> (.text+0x23520): undefined reference to `__udivdi3'
> kernel/built-in.o: In function `timekeeping_init':
> (.init.text+0x1870): undefined reference to `__udivdi3'
> make[1]: *** [.tmp_vmlinux1] Error 1
>
> But its not a regression, 2.6.24 allnoconfig does not link either on
> powerpc32.
>...
You didn't mention your gcc version, but you should only get these
errors when using the not yet released gcc 4.3.
And this issue is known for at about half a year.
> Olaf
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
prev parent reply other threads:[~2008-02-29 6:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-28 13:37 Olaf Hering
2008-02-28 15:40 ` Segher Boessenkool
2008-02-28 16:44 ` Olaf Hering
2008-02-29 6:56 ` Adrian Bunk [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=20080229065630.GA16851@cs181133002.pp.htv.fi \
--to=bunk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=olaf@aepfle.de \
--subject='Re: undefined references to __udivdi3 on powerpc' \
/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
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).