OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Toolchain Building Problems
s77
post Mar 22 2005, 03:05 PM
Post #1





Group: Members
Posts: 2
Joined: 22-March 05
Member No.: 6,693



Hi,

I am having problem building a working toolchain for openzaurus .. old 2.9.53 toolchain don't work on oz because of soft-float problem.

So I took the oz-3.5.1 release from bitkeeper and was able to successfullly build the toolchain, but when I try to compile some code .. I get errors like

'/opt/cross/bin/../lib/gcc/arm-linux/3.4.2/../../../../arm-linux/bin/ld: ERROR: / opt/cross/bin/../lib/gcc/arm-linux/3.4.2/../../../../arm-linux/lib/libm.so uses hardware FP, whereas cont uses software FP'
/opt/cross/bin/../lib/gcc/arm-linux/3.4.2/../../../../arm-linux/bin/ld: ERROR: / opt/cross/bin/../lib/gcc/arm-linux/3.4.2/libgcc.a(_addsubdf3.oS) uses hardware F P, whereas cont uses software FP


I am not sure what's happening...I thought the gcc was build with soft-float support..

I also tried building from latest version in bitkeeper repository, but I always gets stuck in building glibc.

sachin
Go to the top of the page
 
+Quote Post
lardman
post Mar 23 2005, 02:18 AM
Post #2





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



Where did you get libm from?

Are you using OE to build the toolchain? If not I would do so as it sorts the whole lot out for you.

QUOTE
old 2.9.53 toolchain don't work on oz because of soft-float problem.


And it won't work anyway as OZ is now compiled using GCC 3.xx (that said, 2.95.3 is still used to compile the kernel).

QUOTE
I also tried building from latest version in bitkeeper repository, but I always gets stuck in building glibc.


What's the error? If you're using OE post in the OpenEmbedded part of the forum and we'll see what we can do for you.


Si
Go to the top of the page
 
+Quote Post
s77
post Mar 24 2005, 04:33 PM
Post #3





Group: Members
Posts: 2
Joined: 22-March 05
Member No.: 6,693



Yes, I am using openembedded to build toolchain. I have checked out the version with tag oz-3.5.1 and build with oemake..

Above soft-float and hard-float mismatch was with gcc-3.4.2 - the default of oz-3.5.1

I tried to build latest openembedded with bitbake, but it got stuck with some silly errors while building glibc.. not able to find gethostbyaddr .. and some similar functions.

I will try to build the latest version again and copy-paste the exact error on openembedded forum. It takes hours of building to reach to the stage of that error.

sachin
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 24th October 2014 - 08:20 PM