v1.3.0 problems
Eronen, Jussi (GE Healthcare)
jussi.eronen@med.ge.com
Thu Dec 4 09:03:00 GMT 2008
Yann,
All,
soft-float doesn't seem to be an option here. Our target cpu has a fpu so definitely I wan't fp:hw enabled.
Using the option you suggested prevents glibc from compiling (some header file is not found).
Anyway, it seems that this patch is removed from gcc-4.3.x, so I stick with solution I have.
Your patch fixed the tuple problem and now toolchain builds without errors.
Thnx,
Jussi
-----Original Message-----
From: Yann E. MORIN [mailto:yann.morin.1998@anciens.enib.fr]
Sent: Thursday, December 04, 2008 1:23 AM
To: Eronen, Jussi (GE Healthcare)
Cc: crossgcc@sourceware.org
Subject: Re: v1.3.0 problems
Jussi,
All,
On Wednesday 03 December 2008 14:02:32 Eronen, Jussi (GE Healthcare) wrote:
> I had to delete patch "270-soft-float.patch". With this in place glibc
> build always fails due to missing arithmetic primitives (__gcc_gadd,
> __gcc_gsub, __gcc_gmul, __gcc_gdiv).
> Is there a better way to fix this than what I did by removing the file?
Did you tell crosstool-NG to build a soft-float toolchain?
This is in "Target options" ---> "Floating point:" --> "software"
> F8 native gcc -dumpmachine gives i386-redhat-linux, but config.guess
> says i686-pc-linux-gnu and build fails.
Yes. Painful, isn't it? :-)
> Your latest version in svn almost fixes this and a small change made
> it work for me:
> + CT_BUILD=$(./tools/config.sub "${CT_BUILD}")
> + CT_HOST=$(./tools/config.sub "${CT_HOST}")
This was wrong in the begining.
> changed two last lines to
> + CT_BUILD=$(`dirname $0`/../tools/config.sub "${CT_BUILD}")
> + CT_HOST=$(`dirname $0`/../tools/config.sub "${CT_HOST}")
Not far. :-) The correct fix is attached. Could you give it a try, please?
BTW, I am collecting fixes both in the 1.3 branch in the repository, but also as a set of patches in the crosstool-Ng download directory.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics'
| conspiracy: |
| +0/33 662376056 | Software Designer | \ / CAMPAIGN | ___ |
| --==< ^_^ >==-- `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
`------------------------------^-------^------------------^--------------------'
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list