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 <[email protected]>
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
 ....
 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
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to