ARM issues (was: Re: Error on compile)
Felix von Leitner <[email protected]>
| Newsgroups | gmane.linux.lib.dietlibc |
|---|---|
| Message-ID | <[email protected]> |
> Same here. On my test system (armv5tel-softfloat-linux-gnueabi), the > second alloca() in diet.c seems to fail (diet.c:100), causing the > following strcpy() to die. alloca does not fail. So, if you get a crash in that line, then either strlen or getenv is broken. Since getenv calls strlen, it's probably getenv. 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 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)? Felix