Help - Search - Members - Calendar
Full Version: Toolchain Building Problems
OESF Forums > Distros, Development, and Model Specific Forums > Everything Development > OpenZaurus/Opie/Qtopia
s77
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
lardman
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
s77
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
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.