Gentoo Archives: gentoo-embedded

From: Jakub Ladman <ladmanj@×××××.cz>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] gcc configure for ARM ep93xx: --with-float-abi= does not exist
Date: Fri, 19 Dec 2008 09:32:38
Message-Id: 200812191032.27544.ladmanj@volny.cz
In Reply to: [gentoo-embedded] gcc configure for ARM ep93xx: --with-float-abi= does not exist by Martin Guy
1 Because of reading this message, i am trying to create toolchain (with
2 crossdev) for the maverick crunch again.
3 I made a try with gcc-4.3.2 and 4.1.2, but both failed with this messages:
4
5 collect2: ld terminated with signal 8 [Výjimka matematického koprocesoru
6 (SIGFPE)] during the last stage - compiling C++ compiler.
7
8 I have czech localization, so:
9 Výjimka matematického koprocesoru = FPU exception
10
11 What you think about?
12
13 Jakub Ladman
14 Dne Wednesday 03 of December 2008 12:44:34 Martin Guy napsal(a):
15 > Hi
16 > I too have been trying to set hard maverick crunch FPU code
17 > generation as the default for a compiler here, and I see some people
18 > here made the same mistake of configuring GCC using
19 > --with-float-abi=softfp
20 > This option does nothing and is silently ignored (well ok, "configure"
21 > sets $with_float_abi but nothing ever inspects that) - you still have
22 > to supply --with-float-abi=softfp at runtime to get hard FP
23 > instructions, obtaining soft float otherwise.
24 >
25 > There is currently no way to select softfp Maverick code generation by
26 > default. for GCC 4.3.2, the closest configure options are, as well as
27 > --with-float=softfp and --with-fpu=maverick:
28 >
29 > --with-arch=armv4t the build fails when it tries to compile hard FPA
30 > instructions into libgcc,
31 > --with-cpu=ep9312 it compiles armv5t instructions into libgcc
32 > --with-arch=ep9312 the assembler barfs saying that ep9312 is not a
33 > recognised architecture.
34 >
35 > There is even one check that looks for --target=ep9312-* and selects
36 > default fpu=Maverick but I very much doubt that works.
37 >
38 > This whole area is bit-rotten. I think the 'ep9312' should be
39 > eliminated,or mapped into arm920t+maverick early on, and everything
40 > should work off -m[cf]pu= the same as every other fpu. Unfortunately,
41 > checks for ep9312 are spread through the config scripts and source
42 > like a fungus.
43 >
44 > M

Replies