On Nov 10, 2017, at 11:04 AM, Yupeng Chang changyp6@gmail.com wrote:
Hi Linaro Team, I'm currently using toolchain gcc-linaro-7.1.1-2017.08-x86_64_arm-eabi.tar.xz https://releases.linaro.org/components/toolchain/binaries/latest/arm-eabi/gcc-linaro-7.1.1-2017.08-x86_64_arm-eabi.tar.xz to develop my bera-metal programs. My compile option is "-marm -march=armv7-a -mtune=cortex-a9 -mlittle-endian -mfloat-abi=hard -mfpu=neon"
Hi Yupeng,
Linaro's arm-eabi toolchain provides libraries only for -mfloat-abi=softfp. I'm surprised your baremetal application compiled with -mfloat-abi=hard linked against provided newlib. Can there be another library installed that the tools picked up?
I found an issue, when I use memcpy, and if the DEST or SOURCE address is not 4 bytes aligned, the system hangs. It seems that this toolchain doesn't support using hard float and NEON ?
My question is does this toolchain support hard float and NEON in the newlib C library? If I want to use hard float and NEON, how can I do that?
Your reply is more appreciated!!
-- Maxim Kuvyrkov www.linaro.org