barebox runs with MMU disabled at least during startup. We need -mstrict-alignment for these parts to avoid alignment aborts. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- arch/arm/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/Makefile b/arch/arm/Makefile index da307343c7..cf84a9a1c1 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -23,6 +23,8 @@ endif # accesses ifneq ($(CONFIG_CPU_V8),y) CFLAGS += -mno-unaligned-access +else +CFLAGS += -mstrict-align endif -- 2.16.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox