From: Rusty Russell <rusty@rustcorp.com.au>
To: sparclinux@vger.kernel.org
Subject: Re: div, udiv, mul, umul, rem, urem broken again?!?
Date: Thu, 09 Feb 2006 01:29:48 +0000 [thread overview]
Message-ID: <1139448588.19399.34.camel@localhost.localdomain> (raw)
In-Reply-To: <1128550254.2140.103.camel@localhost.localdomain>
On Wed, 2006-02-08 at 14:51 -0600, Tom 'spot' Callaway wrote:
> On Wed, 2006-02-08 at 20:25 +0000, Martin Habets wrote:
> > I tried to build 2.6.16-rc2 today, but got a lot of these
> > errors from depmod:
> >
> > WARNING: /lib/modules/2.6.16-rc2-mph2/kernel/crypto/crypto_null.ko needs unknown symbol urem
> > WARNING: /lib/modules/2.6.16-rc2-mph2/kernel/crypto/crypto_null.ko needs unknown symbol umul
> > WARNING: /lib/modules/2.6.16-rc2-mph2/kernel/crypto/crc32c.ko needs unknown symbol udiv
> > WARNING: /lib/modules/2.6.16-rc2-mph2/kernel/crypto/crc32c.ko needs unknown symbol div
> > WARNING: /lib/modules/2.6.16-rc2-mph2/kernel/crypto/crc32c.ko needs unknown symbol urem
> > WARNING: /lib/modules/2.6.16-rc2-mph2/kernel/crypto/crc32c.ko needs unknown symbol umul
> > WARNING: /lib/modules/2.6.16-rc2-mph2/kernel/arch/sparc/kernel/led.ko needs unknown symbol udiv
> > WARNING: /lib/modules/2.6.16-rc2-mph2/kernel/arch/sparc/kernel/led.ko needs unknown symbol div
> > WARNING: /lib/modules/2.6.16-rc2-mph2/kernel/arch/sparc/kernel/led.ko needs unknown symbol urem
> > WARNING: /lib/modules/2.6.16-rc2-mph2/kernel/arch/sparc/kernel/led.ko needs unknown symbol umul
> >
> > There was a long thread regarding this last october, but I did not find
> > a resolution.
(1) it's just a warning, and it doesn't actually effect anything.
(2) Someone decided to be clever in arch/sparc/kernel/sparc_ksyms.c
between 2.6.13 and 2.6.14. Rather than mangle ".div" to "div", they
decided to mangle it to "_Div". The problem is that depmod knows about
skipping the ".": it's done for other architectures. It has no idea
about this new mangling.
2.6.12 did it the obvious way, 2.6.13 used asm, and 2.6.14 the new
scheme. One wonders what was wrong with 2.6.12, but I haven't been
following closely.
Now, possibly there was a legitimate reason not to pollute the namespace
with these symbols, but they could probably have been made static
without great concern.
Hope that clarifies,
Rusty.
--
ccontrol: http://ozlabs.org/~rusty/ccontrol
prev parent reply other threads:[~2006-02-09 1:29 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-05 22:10 div, udiv, mul, umul, rem, urem broken again?!? Tom 'spot' Callaway
2005-10-05 22:17 ` Tom 'spot' Callaway
2005-10-06 0:24 ` David S. Miller
2005-10-06 13:21 ` Tom 'spot' Callaway
2005-10-10 10:20 ` Rusty Russell
2005-10-10 14:35 ` Tom 'spot' Callaway
2005-10-10 18:22 ` David S. Miller
2005-10-11 10:03 ` Rusty Russell
2005-11-06 0:40 ` David S. Miller
2005-11-06 4:13 ` Tom 'spot' Callaway
2005-11-06 6:27 ` Rusty Russell
2005-11-06 20:56 ` David S. Miller
2005-11-06 20:58 ` David S. Miller
2006-02-08 20:25 ` Martin Habets
2006-02-08 20:51 ` Tom 'spot' Callaway
2006-02-08 20:56 ` Al Viro
2006-02-09 1:29 ` Rusty Russell [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=1139448588.19399.34.camel@localhost.localdomain \
--to=rusty@rustcorp.com.au \
--cc=sparclinux@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.