Lines Matching +full:cortex +full:- +full:m4
4 Subject: [PATCH] Pass -fno-builtin to fix build with gcc 10
6 gcc 10, if it recognizes some hand-written code that looks like
15 gets recognized as such. However, in the context of bare-metal code,
21 …projets/buildroot/output/host/opt/ext-toolchain/bin/../arm-buildroot-uclinux-uclibcgnueabi/bin/ld.…
22 stm32f429i-disco.c:(.text.reset+0x1a): undefined reference to `memcpy'
23 …projets/buildroot/output/host/opt/ext-toolchain/bin/../arm-buildroot-uclinux-uclibcgnueabi/bin/ld.…
24 make[1]: *** [Makefile:26: stm32f429i-disco] Error 1
26 Upstream: https://github.com/mcoquelin-stm32/afboot-stm32/pull/9
27 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
28 ---
32 diff --git a/Makefile b/Makefile
34 --- a/Makefile
36 @@ -13,6 +13,7 @@ DTB_ADDR?=0x08004000
37 CFLAGS := -mthumb -mcpu=cortex-m4
38 CFLAGS += -ffunction-sections -fdata-sections
39 CFLAGS += -Os -std=gnu99 -Wall
40 +CFLAGS += -fno-builtin
41 LINKERFLAGS := -nostartfiles --gc-sections
43 obj-y += gpio.o mpu.o qspi.o start_kernel.o
44 --