[OpenWrt-Devel] Commit 8dcc1087602e breaks FA526 (Gemini) compile

Boris Krasnovskiy borkra at gmail.com
Wed May 1 18:30:41 EDT 2019

Hi Linus,

I do not see anything wrong for your target. And I do not have any Gemini devices.

Crash during init that you can see, is pretty far along in the boot process, so toolchain likely correct.

Maybe an issue with some packages…

You can run “ gcc -Q --help=target” on the compiled cross toolchain and check if default settings are correct, or post the output.

Can you send us the crash log?

Thank you,
Boris Krasnovskiy

From: Linus Walleij <linus.walleij at linaro.org>
Sent: Wednesday, May 1, 2019 6:08:11 PM
To: Boris Krasnovskiy; OpenWrt Development List
Subject: Commit 8dcc1087602e breaks FA526 (Gemini) compile

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

After in toolchain/gcc/common.mk we have:

ifeq ($(CONFIG_arm),y)
       --with-cpu=$(word 1, $(subst +," ,$(CONFIG_CPU_TYPE)))
 ifneq ($(CONFIG_SOFT_FLOAT),y)
               --with-fpu=$(word 2, $(subst +, ",$(CONFIG_CPU_TYPE)))

It's a bit terse so I cannot really make this out :/

Relevant stuff from my .config is:

Any hints?

Linus Walleij
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20190501/6463ba17/attachment.htm>
-------------- next part --------------
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list