public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Derick Swanepoel" <dswanepoel@gmail.com>
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] can't resolve symbol '__divsi3' on armv5tel-softfloat-linux-uclibc
Date: Tue, 25 Jul 2006 21:13:57 +0200	[thread overview]
Message-ID: <fdcd80670607251213m2b1e57a4uc0b318b50c8567f5@mail.gmail.com> (raw)
In-Reply-To: <b7ac62250607251116u2ff3f935ofea74c6267e499b1@mail.gmail.com>

On 25/07/06, KiberGus <kibergus@gmail.com> wrote:
> I'm trying to install gentoo on my PDA. And I have found that some programms
> (such as nano, python, nm) fail with srting like this:
> nano: can't resolve symbol '__divsi3'
> python: can't resolve symbol '__udivsi3'
>
>  I can't underrstand, how to fix this. Math libraries work OK, my simple
> test application, which uses floating point operation work fine. Does any
> body know, what operation __udivsi3 performs? It is clearly, that it is
> divide, but what type it's arguments have?
> Thanks.

I have the same problem on armeb-softfloat-linux-uclibc. I also have
apps that fail with __fixdfsi. Many of the busybox applets fail with
__udivsi3 (e.g. awk, ping, top, df, netstat, fdisk) - basically
anything that does a certain kind of floating point divide. They only
fail when that specific instruction is reached, so for example ash
would only fail if mod or div is used e.g. "echo $((5 % 2))" or "echo
$((16 / 4))".

So far I have been unable to construct a test case - my own test app
that does floating point div also works.

I suspect that it is a bug in gcc and the way it generates code on ARM
softfloat targets, but I have no idea how to find out.

Derick
-- 
gentoo-embedded@gentoo.org mailing list



  reply	other threads:[~2006-07-25 19:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-25 18:16 [gentoo-embedded] can't resolve symbol '__divsi3' on armv5tel-softfloat-linux-uclibc KiberGus
2006-07-25 19:13 ` Derick Swanepoel [this message]
2006-07-25 20:23   ` Anish Patel
2006-07-31  3:26 ` Mike Frysinger

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=fdcd80670607251213m2b1e57a4uc0b318b50c8567f5@mail.gmail.com \
    --to=dswanepoel@gmail.com \
    --cc=gentoo-embedded@lists.gentoo.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