On Sat, Oct 13, 2018 at 05:02:05PM -0700, Guenter Roeck wrote:
With this patch in -next applied, I get the following error
when building riscv:defconfig.
I guess what you meant was this commit:
The modification in Makefile was
-KBUILD_AFLAGS += -march=$(KBUILD_MARCH)$(KBUILD_ARCH_A)fd$(KBUILD_ARCH_C)
+# ISA string setting
+riscv-march-$(CONFIG_ARCH_RV32I) := rv32im
+riscv-march-$(CONFIG_ARCH_RV64I) := rv64im
+riscv-march-$(CONFIG_RISCV_ISA_A) := $(riscv-march-y)aj
+riscv-march-y := fd
+riscv-march-$(CONFIG_RISCV_ISA_C) := $(riscv-march-y)c
and the ":= fd" line was wrong. It should have been
+riscv-march-y := $(riscv-march-y)fd
What am I missing ? Does RISC-V now require a new non-upstream compiler ?
Or a special version of make ? I am currently using GNU Make 4.1.
So I sent the v8 to fix this problem.
Sorry for the inconvinience.
And Palmer, it seems that the patch that causes this build error has been
pulled into linux-next. Any idea how to fix that one?