The built-in memcpy uses unaligned reads/writes and this crashes my ARM-A5 processor.
|||GNU ARM Embedded Toolchain||
I am using an Atmel SAMA5D35 processor. It is an ARM Cortex-A5. The unaligned reads and writes inserted by the compiler for memcpy() calls are not supported by this processor. The processor experiences a memory access fault as a result.
I have worked around the problem by using the -fno-builtin-memcpy argument on the command line. I wanted to report the problem so it can be fixed, however.
|Roger W. Cover (rwcover) wrote : RE: [Bug 1669879] Re: The built-in memcpy uses unaligned reads/writes and this crashes my ARM-A5 processor.||#2|
|Changed in gcc-arm-embedded:|
|status:||New → Invalid|