public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jan-Benedict Glaw <jbglaw@lug-owl.de>
To: Pawe?? Sikora <pluto@pld-linux.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: unresolved symbol __udivsi3_i4
Date: Fri, 24 Sep 2004 12:52:07 +0200	[thread overview]
Message-ID: <20040924105207.GH22710@lug-owl.de> (raw)
In-Reply-To: <Pine.GSO.4.61.0409241031410.27692@waterleaf.sonytel.be>

[-- Attachment #1: Type: text/plain, Size: 1314 bytes --]

On Fri, 2004-09-24 10:33:12 +0200, Geert Uytterhoeven <geert@linux-m68k.org>
wrote in message <Pine.GSO.4.61.0409241031410.27692@waterleaf.sonytel.be>:
> On Fri, 24 Sep 2004, [utf-8] Pawe? Sikora wrote:
> > On Friday 24 of September 2004 04:10, Donald Duckie wrote:
> > > can somebody please help me how to overcome this
> > > problem:
> > > unresolved symbol __udivsi3_i4
> > # objdump -T /lib/libgcc_s.so.1|grep div
> > 000024c0 g    DF .text  00000162  GLIBC_2.0   __divdi3
> > 00002b80 g    DF .text  000001ed  GCC_3.0     __udivmoddi4
> > 00002870 g    DF .text  00000120  GLIBC_2.0   __udivdi3
> > 
> > you can link module with libgcc.a or fix it.
> 
> Just add an implementation for __udivsi3_i4 to arch/sh/lib/. They already have
> udivdi3.c over there.

Either that (which I don't like!), or have a try compiling the kernel
with -ffreestanding, if your toolchain accepts that. Maybe that doesn't
create these external function calls at all...

MfG, JBG

-- 
Jan-Benedict Glaw       jbglaw@lug-owl.de    . +49-172-7608481             _ O _
"Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen Krieg  _ _ O
 fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im Irak!   O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2004-09-24 10:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-24  2:10 unresolved symbol __udivsi3_i4 Donald Duckie
2004-09-24  2:59 ` Randy.Dunlap
2004-09-24  3:23 ` Randy.Dunlap
2004-09-24  4:49   ` Donald Duckie
2004-09-24 23:14     ` Randy.Dunlap
2004-09-24  6:01 ` Paweł Sikora
2004-09-24  8:33   ` Geert Uytterhoeven
2004-09-24 10:52     ` Jan-Benedict Glaw [this message]
2004-09-24 11:15       ` Geert Uytterhoeven
2004-09-24 11:29         ` Jan-Benedict Glaw
2004-09-24 12:49           ` Andreas Schwab

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=20040924105207.GH22710@lug-owl.de \
    --to=jbglaw@lug-owl.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pluto@pld-linux.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox