* [gentoo-embedded] can't resolve symbol '__divsi3' on armv5tel-softfloat-linux-uclibc
@ 2006-07-25 18:16 KiberGus
2006-07-25 19:13 ` Derick Swanepoel
2006-07-31 3:26 ` Mike Frysinger
0 siblings, 2 replies; 4+ messages in thread
From: KiberGus @ 2006-07-25 18:16 UTC (permalink / raw
To: gentoo-embedded
[-- Attachment #1: Type: text/plain, Size: 481 bytes --]
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.
[-- Attachment #2: Type: text/html, Size: 517 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-embedded] can't resolve symbol '__divsi3' on armv5tel-softfloat-linux-uclibc
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
2006-07-25 20:23 ` Anish Patel
2006-07-31 3:26 ` Mike Frysinger
1 sibling, 1 reply; 4+ messages in thread
From: Derick Swanepoel @ 2006-07-25 19:13 UTC (permalink / raw
To: gentoo-embedded
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-embedded] can't resolve symbol '__divsi3' on armv5tel-softfloat-linux-uclibc
2006-07-25 19:13 ` Derick Swanepoel
@ 2006-07-25 20:23 ` Anish Patel
0 siblings, 0 replies; 4+ messages in thread
From: Anish Patel @ 2006-07-25 20:23 UTC (permalink / raw
To: gentoo-embedded
Derick Swanepoel wrote:
> 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
i have also had the same problem with some Intel CSR stuff and the newer
kernels, with 2.6.12 i don't have problems armeb-unknown-linux-gnu or
anything else.
Anish
--
gentoo-embedded@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-embedded] can't resolve symbol '__divsi3' on armv5tel-softfloat-linux-uclibc
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
@ 2006-07-31 3:26 ` Mike Frysinger
1 sibling, 0 replies; 4+ messages in thread
From: Mike Frysinger @ 2006-07-31 3:26 UTC (permalink / raw
To: gentoo-embedded
[-- Attachment #1: Type: text/plain, Size: 394 bytes --]
On Tuesday 25 July 2006 14:16, KiberGus 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'
that symbol should be provided by libgcc_s.so.1 which comes from your
toolchain and should be located in /lib/
-mike
[-- Attachment #2: Type: application/pgp-signature, Size: 827 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-07-31 3:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2006-07-25 20:23 ` Anish Patel
2006-07-31 3:26 ` Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox