logo       

Re: Strange long long division problem with gcc-3.2.x/uclibc on ARM: msg#00135

lib.uclibc.general

Subject: Re: Strange long long division problem with gcc-3.2.x/uclibc on ARM

On Thu Mar 13, 2003 at 07:56:50PM -0800, root wrote:
>
> The appended little program crashes with gcc-3.2.2 and uclibc 0.9.19
> under 2.5.59-rmk1. (It also failed on an earlier 3.2 and uclibc
> combo.)

It works for me with on 2.4.19-rmk6

$ uname -a
Linux winder 2.4.19-rmk6 #2 Sun Feb 2 12:28:26 MST 2003 armv4l unknown
$ /usr/arm-linux-uclibc/bin/arm-uclibc-gcc
-Wall -Os foo.c -o foo
$ ./foo
50 / 10 = 5
so my initial guess is either 2.5.59-rmk1 is busted, or perhaps
the libgcc division code is using floating point and you didn't
enable the kernel fpu emulator. dunno.

-Erik

--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise