kumquat-buildroot/support/config-fragments/autobuild
Thomas Petazzoni f89871e810 support/config-fragments: fix br-riscv{32,64} toolchain fragments
Since commit aee39cbf27 ("arch/riscv:
set the default float ABI based on ISA extensions"), RISC-V 32/64 use
the lp32d/lp64d ABIs by default. But our pre-built external toolchains
were built with the LP32/LP64 ABI.

Building with lp32d/lp64d gcc flags, but a toolchain built with the
LP32/LP64 ABI causes a number of failures such as:

  /home/mark/buildroot-test/instance-1/output/host/riscv64-buildroot-linux-gnu/sysroot/usr/include/gnu/stubs.h:11:11: fatal error: gnu/stubs-lp64d.h: No such file or directory

or:

  /home/mark/buildroot-test/instance-1/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: /tmp/cc2BTtFE.o: can't link hard-float modules with soft-float modules
  /home/mark/buildroot-test/instance-1/output/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-gnu/7.4.0/../../../../riscv64-buildroot-linux-gnu/bin/ld: failed to merge target specific data of file /tmp/cc2BTtFE.o

So let's fix our config fragments to reflect the ABIs those toolchains
were built with.

Fixes:

  http://autobuild.buildroot.net/results/a3959b0613cf561059483abc580b144be4817d1a/ (libsepol)
  http://autobuild.buildroot.net/results/3db50d8a0a913413b2198d6c301419136d2d22a7/ (attr)
  http://autobuild.buildroot.net/results/7780fada05b8440ae3e97618615624a6a2dac03f/ (libusb)
  and many others

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-09-23 21:56:24 +02:00
..
andes-nds32.config
arm-aarch64.config
br-aarch64-glibc.config
br-arc-full-internal.config
br-arc-internal-glibc.config
br-arcle-hs38.config
br-arm-basic.config
br-arm-cortex-a9-glibc.config
br-arm-cortex-a9-musl.config
br-arm-cortex-m4-full.config
br-arm-full-nothread.config
br-arm-full-static.config
br-arm-full.config
br-arm-internal-full.config
br-arm-internal-glibc.config
br-arm-internal-musl.config
br-i386-pentium4-full.config
br-i386-pentium-mmx-musl.config
br-m68k-5208-full.config
br-m68k-68040-full.config
br-microblazeel-full-internal.config
br-microblazeel-full.config
br-mips32r6-el-hf-glibc.config
br-mips64-n64-full.config
br-mips64r6-el-hf-glibc.config
br-mipsel-o32-full.config
br-nios2-glibc.config
br-openrisc-uclibc.config
br-powerpc64-power7-glibc.config
br-powerpc64le-power8-glibc.config
br-powerpc-603e-basic-cpp.config
br-powerpc-e500mc-full.config
br-powerpc-internal-full.config
br-riscv32.config
br-riscv64-internal-musl.config
br-riscv64.config
br-sh4-full.config
br-sparc64-glibc.config
br-sparc-uclibc.config
br-x86-64-core2-full.config
br-x86-64-musl.config
br-xtensa-full-internal.config
br-xtensa-full.config
linaro-aarch64-be.config
linaro-aarch64.config
linaro-arm.config
sourcery-arm-armv4t.config
sourcery-arm-thumb2.config
sourcery-arm.config
sourcery-mips64.config
sourcery-mips.config
sourcery-nios2.config
sourcery-x86-64.config
toolchain-configs.csv