v1.3.0 problems

Yann E. MORIN yann.morin.1998@anciens.enib.fr
Wed Dec 3 23:24:00 GMT 2008


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.  |
`------------------------------^-------^------------------^--------------------'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 002-use-CT_DoConfigSub.patch
Type: text/x-diff
Size: 793 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20081203/57e43e54/attachment.bin>
-------------- next part --------------
--
For unsubscribe information see http://sourceware.org/lists.html#faq


More information about the crossgcc mailing list