Re: ARM issues (was: Re: Error on compile)
Johannes Stezenbach <[email protected]>
| Newsgroups | gmane.linux.lib.dietlibc |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Jul 09, 2010 at 04:52:58PM +0200, Felix von Leitner wrote: > > I'm having a different problem right now. I updated my ARM toolchain to > gcc 4.5 and now it does not compile any arm code for me anymore. The > error message is: > > arm/start.S:1:0: error: FPA is unsupported in the AAPCS EABI uses IEEE-754 floating point format, FPA format is history. > This is caused by -mabi=aapcs-linux, which was given to me as the option > to pass to gcc to get EABI support. Can some ARM specialist please find > out how to fix this, preferable in a way that does not require me to run > gcc twice (once to find out the version)? How did you configure your toolchain? --with-float=soft ? I guess you used hard float for smaller code size. What is your target CPU? For ARMv4 architecture FPA was default, for ARMv5 it is VFP -- and EABI is only specified for ARMv5+ (although there is a kludge for ARMv4). The Linux kernel contains a VFP emulator. Try one or more of: -march=armv5 -mfloat-abi=softfp -mfpu=vfp but you better fix your gcc configuration to get a working libgcc. HTH, Johannes