19d5953bf1
The Linux kernel does force compile with -m4-nofpu, which is only available when building a multilib toolchain. The interesting part here is, that buildroot use --disable-multilib for gcc configure, but enables --with-multilib-list=m4,m4-nofpu in the default configuration for Qemu targeting r2d emulation. This results in a toolchain, which can be used for the kernel and for userland without creating a multilib toolchain with different kinds of libgcc version. In the multilib case there would be subdirectories created (!m4 and m4-nofpu). As buildroot uses a short version of toolchain creation, a multilib enabled gcc build fails when creating libgcc. So the best solution is to just keep multilib disabled, but always add --with-multilib-list when sh4/sh4eb/sh4a/sh4aeb is choosen. Tested with sh4/sh4a toolchain build and qemu defconfig with gcc 4.8.x/4.9.x (with and without C++ enabled), uClibc and glibc. Disable sh4a/sh4aeb for uClibc, as it does not implemented, yet. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> (ARM and SH4 uClibc toolchain builds) |
||
---|---|---|
.. | ||
altera_sockit_defconfig | ||
arm_foundationv8_defconfig | ||
armadeus_apf27_defconfig | ||
armadeus_apf28_defconfig | ||
armadeus_apf51_defconfig | ||
armadeus_apf9328_defconfig | ||
at91rm9200df_defconfig | ||
at91sam9g20dfc_defconfig | ||
at91sam9g45m10ek_defconfig | ||
at91sam9260dfc_defconfig | ||
at91sam9260eknf_defconfig | ||
at91sam9261ek_defconfig | ||
at91sam9263ek_defconfig | ||
atmel_xplained_defconfig | ||
beaglebone_defconfig | ||
calao_qil_a9260_defconfig | ||
calao_snowball_defconfig | ||
calao_tny_a9g20_lpw_defconfig | ||
calao_usb_a9g20_lpw_defconfig | ||
calao_usb_a9260_defconfig | ||
calao_usb_a9263_defconfig | ||
ci20_defconfig | ||
cubieboard2_defconfig | ||
cubieboard_defconfig | ||
freescale_imx6dlsabreauto_defconfig | ||
freescale_imx6dlsabresd_defconfig | ||
freescale_imx6qsabreauto_defconfig | ||
freescale_imx6qsabresd_defconfig | ||
freescale_imx6sololiteevk_defconfig | ||
freescale_imx28evk_defconfig | ||
freescale_imx31_3stack_defconfig | ||
freescale_mpc8315erdb_defconfig | ||
freescale_p1010rdb_pa_defconfig | ||
freescale_p2020ds_defconfig | ||
gnublin_defconfig | ||
integrator926_defconfig | ||
kb9202_defconfig | ||
lego_ev3_defconfig | ||
mini2440_defconfig | ||
minnowboard_defconfig | ||
minnowboard_max_defconfig | ||
mx53loco_defconfig | ||
nitrogen6x_defconfig | ||
olimex_imx233_olinuxino_defconfig | ||
openblocks_a6_defconfig | ||
pandaboard_defconfig | ||
qemu_aarch64_virt_defconfig | ||
qemu_arm_nuri_defconfig | ||
qemu_arm_versatile_defconfig | ||
qemu_arm_vexpress_defconfig | ||
qemu_microblazebe_mmu_defconfig | ||
qemu_microblazeel_mmu_defconfig | ||
qemu_mips64_malta_defconfig | ||
qemu_mips64el_malta_defconfig | ||
qemu_mips_malta_defconfig | ||
qemu_mipsel_malta_defconfig | ||
qemu_ppc64_pseries_defconfig | ||
qemu_ppc_g3beige_defconfig | ||
qemu_ppc_mpc8544ds_defconfig | ||
qemu_ppc_virtex_ml507_defconfig | ||
qemu_sh4_r2d_defconfig | ||
qemu_sparc_ss10_defconfig | ||
qemu_x86_64_defconfig | ||
qemu_x86_defconfig | ||
qemu_xtensa_lx60_defconfig | ||
qmx6_defconfig | ||
raspberrypi2_defconfig | ||
raspberrypi_defconfig | ||
raspberrypi_dt_defconfig | ||
riotboard_defconfig | ||
s6lx9_microboard_defconfig | ||
sheevaplug_defconfig | ||
telit_evk_pro3_defconfig | ||
ts5x00_defconfig | ||
udoo_quad_defconfig | ||
wandboard_defconfig | ||
zedboard_defconfig |