On 12/19/08, Jakub Ladman <[email protected]> wrote:
> Because of reading this message, i am trying to create toolchain (with
>  crossdev) for the maverick crunch again.
>  I made a try with gcc-4.3.2 and 4.1.2, but both failed with this messages:
>
>  collect2: ld terminated with signal 8 [Výjimka matematického koprocesoru
>  (SIGFPE)] during the last stage - compiling C++ compiler.
>
>  I have czech localization, so:
>  Výjimka matematického koprocesoru = FPU exception
>
>  What you think about?

I've never had that failure. You need to say exactly what tools you
are using to create the cross toolchain, what exact command lines you
issue, what special lines you have in config files.

Like I say, I failed to find a combination of options that will set
Maverick hardfloat as the default, so I just create a regular ARM
toolchain, then pass
-mcpu=ep9312 -mfpu=maverick -mfloat-abi=softfp
when using it to compile binaries. Yes, it's a pain.

If you want to compile for Maverick FP, check out
martinwguy.co.uk/martin/crunch (published yesterday!) where there is a
set of patches to make gcc-4.3.2 generate working code for Maverick
Crunch. Otherwise GCC producing Maverick instrutions will definitely
output bad code that gives the wrong results - this may be the root
cause of the problem you describe.

Good luck, let us know how it goes.

    M

Reply via email to