Author Topic: Toolchain Building Problems  (Read 4135 times)

s77

  • Newbie
  • *
  • Posts: 2
    • View Profile
Toolchain Building Problems
« on: March 22, 2005, 06:05:24 pm »
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

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Toolchain Building Problems
« Reply #1 on: March 23, 2005, 05:18:30 am »
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
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

s77

  • Newbie
  • *
  • Posts: 2
    • View Profile
Toolchain Building Problems
« Reply #2 on: March 24, 2005, 07:33:25 pm »
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
« Last Edit: March 24, 2005, 07:37:00 pm by s77 »