Go to file
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
arch arch/riscv: set the default float ABI based on ISA extensions 2019-09-19 21:43:53 +02:00
board configs/lafrite: new defconfig 2019-09-15 16:00:56 +02:00
boot boot/grub2: bump to verson 2.04 2019-09-21 23:15:27 +02:00
configs configs/solidrun_macchiatobin_mainline: bump versions of BSP components 2019-09-21 18:31:26 +02:00
docs docs/manual: add missing external toolchain *.mk inclusion in sample 2019-09-19 23:26:27 +02:00
fs fs/common.mk: enable multithreaded xz compression 2019-08-03 19:29:47 +02:00
linux {linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.2.x series 2019-09-21 15:41:37 +02:00
package package/f2fs-tools: fix build without blkid 2019-09-22 20:14:21 +02:00
support support/config-fragments: fix br-riscv{32,64} toolchain fragments 2019-09-23 21:56:24 +02:00
system system/skeleton: drop PAGER from /etc/profile 2019-09-07 21:58:04 +02:00
toolchain toolchain/wrapper: also dump args it was called with 2019-08-18 00:19:57 +02:00
utils utils/scancpan: improve license file detection 2019-09-17 22:51:01 +02:00
.defconfig arch: remove support for sh64 2016-09-08 22:15:15 +02:00
.flake8 .flake8: fix check for 80/132 columns 2019-04-10 12:31:33 +02:00
.gitignore
.gitlab-ci.yml configs/lafrite: new defconfig 2019-09-15 16:00:56 +02:00
.gitlab-ci.yml.in .gitlab-ci.yml: add trigger per job 2019-05-01 15:42:45 +02:00
CHANGES Update for 2019.05.2 2019-09-03 13:14:45 +02:00
Config.in core: split generated kconfig file 2019-08-04 00:13:37 +02:00
Config.in.legacy package/ustr: remove package 2019-09-22 20:04:58 +02:00
COPYING COPYING: add exception about patch licensing 2016-02-26 19:50:13 +01:00
DEVELOPERS package/ustr: remove package 2019-09-22 20:04:58 +02:00
Makefile Merge branch 'next' 2019-09-03 15:03:02 +02:00
Makefile.legacy Remove BR2_DEPRECATED 2016-10-15 23:14:45 +02:00
README README: add reference to submitting-patches 2016-02-01 19:16:08 +01:00

Buildroot is a simple, efficient and easy-to-use tool to generate embedded
Linux systems through cross-compilation.

The documentation can be found in docs/manual. You can generate a text
document with 'make manual-text' and read output/docs/manual/manual.text.
Online documentation can be found at http://buildroot.org/docs.html

To build and use the buildroot stuff, do the following:

1) run 'make menuconfig'
2) select the target architecture and the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) find the kernel, bootloader, root filesystem, etc. in output/images

You do not need to be root to build or run buildroot.  Have fun!

Buildroot comes with a basic configuration for a number of boards. Run
'make list-defconfigs' to view the list of provided configurations.

Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: buildroot@buildroot.org
You can also find us on #buildroot on Freenode IRC.

If you would like to contribute patches, please read
https://buildroot.org/manual.html#submitting-patches