From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1G5TTI-00055s-Qp for garchives@archives.gentoo.org; Tue, 25 Jul 2006 20:25:41 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k6PKNxuR006464; Tue, 25 Jul 2006 20:23:59 GMT Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.196]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k6PKNwBX008703 for ; Tue, 25 Jul 2006 20:23:58 GMT Received: by wx-out-0102.google.com with SMTP id s18so984665wxc for ; Tue, 25 Jul 2006 13:23:58 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=iW5eN/yXhT8AAVb/D7mYPwSk6vmC9saLeJTxCnrPy7aqvrWu9iPHqLkBunxKsgy4tGi6nDa9J4OSpLKVzScykIoCdqhwAQh0pzrdZws/td6ycxSgUyTKitYPXw4s+sjLMzJlWlo32U5QcfTsOoqqS3wyutM8LgkcSX2+cLPsWEQ= Received: by 10.70.36.1 with SMTP id j1mr7077208wxj; Tue, 25 Jul 2006 13:23:57 -0700 (PDT) Received: from ?192.168.1.2? ( [66.202.34.162]) by mx.gmail.com with ESMTP id h14sm8771726wxd.2006.07.25.13.23.56; Tue, 25 Jul 2006 13:23:56 -0700 (PDT) Message-ID: <44C67DB6.3050602@gmail.com> Date: Tue, 25 Jul 2006 16:23:18 -0400 From: Anish Patel User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 To: gentoo-embedded@lists.gentoo.org Subject: Re: [gentoo-embedded] can't resolve symbol '__divsi3' on armv5tel-softfloat-linux-uclibc References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 06c90538-9f11-459a-80a5-73bd0aa215d1 X-Archives-Hash: 563031755d10f2f3d31839dd26f687ed Derick Swanepoel wrote: > On 25/07/06, 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' >> >> 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