[OpenWrt-Devel] Commit 8dcc1087602e breaks FA526 (Gemini) compile
Linus Walleij
linus.walleij at linaro.org
Wed May 1 18:08:11 EDT 2019
Hi Boris & friends,
commit 8dcc1087602e2dd606e4f6e81a06aee62cfd4f4c
"toolchain: ARM: Fix toolchain compilation for gcc 8.x"
regresses the Gemini (FA526-based).
I cannot quite see how. I noticed init crashed with the latest
OpenWrt codebase and bisected it down to this commit.
Before the commit include/target.mk has:
ifneq ($(findstring arm,$(ARCH)),)
....
CPU_CFLAGS_fa526 = -mcpu=fa526
....
ifeq ($(CONFIG_SOFT_FLOAT),)
....
After in toolchain/gcc/common.mk we have:
ifeq ($(CONFIG_arm),y)
CC_CONFIGURE+= \
--with-cpu=$(word 1, $(subst +," ,$(CONFIG_CPU_TYPE)))
....
ifneq ($(CONFIG_SOFT_FLOAT),y)
GCC_CONFIGURE+= \
--with-fpu=$(word 2, $(subst +, ",$(CONFIG_CPU_TYPE)))
--with-float=hard
It's a bit terse so I cannot really make this out :/
Relevant stuff from my .config is:
CONFIG_CPU_TYPE="fa526"
CONFIG_arm=y
CONFIG_ARCH="arm"
CONFIG_SOFT_FLOAT=y
Any hints?
Yours,
Linus Walleij
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list