kumquat-buildroot/package/gcc
Waldemar Brodkorb 19d5953bf1 sh4: fix toolchain creation
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)
2015-05-03 16:30:36 +02:00
..
4.5.4
4.7.4
4.8.4 gcc/4.8.4: fix aarch64 vmlaq_lane_s32 typo 2015-04-27 23:26:06 +02:00
4.9.2
arc-2014.12
gcc-final sh4: fix toolchain creation 2015-05-03 16:30:36 +02:00
gcc-initial package/gcc: add hashes 2015-04-23 23:01:47 +02:00
Config.in.host gcc: mark 4.5.x as deprecated 2015-03-25 21:39:06 +01:00
gcc.hash package/gcc: add hashes 2015-04-23 23:01:47 +02:00
gcc.mk gcc: disable libsanitizer for sparc 2015-04-16 07:59:40 +02:00