crosstool-ng/config
spaun2002 6b465e150d Remove m1 from multilibs for GCC11 on SH arch.
GCC11 somehow has different set of multilibs on SH arch than what GCC10 had.
In particular:

$ gcc10 -print-multi-lib | sed -r -e 's/@/ -/g;'
.;
mb; -mb
m2; -m2
m2e; -m2e
m4; -m4
m4-single; -m4-single
m4-single-only; -m4-single-only
mb/m2; -mb -m2
mb/m2e; -mb -m2e
mb/m4; -mb -m4
mb/m4-single; -mb -m4-single
mb/m4-single-only; -mb -m4-single-only
mb/m2a; -mb -m2a
mb/m2a-single; -mb -m2a-single

$ gcc11 -print-multi-lib | sed -r -e 's/@/ -/g;'
.;
mb; -mb
m2; -m2
m2e; -m2e
m4; -m4
m4-single; -m4-single
m4-single-only; -m4-single-only
mb/m1; -mb -m1
mb/m2; -mb -m2
mb/m2e; -mb -m2e
mb/m4; -mb -m4
mb/m4-single; -mb -m4-single
mb/m4-single-only; -mb -m4-single-only
mb/m2a; -mb -m2a
mb/m2a-single; -mb -m2a-single

mb/m1 fails to build libgcc as libgcc uses opcodes that were not
available in SH-1: libgcc/config/sh/lib1funcs.S uses 'bt/s' and 'dt'
instructions that, according to https://antime.kapsi.fi/sega/files/h12p0.pdf become available in the SH-2 only.

So I removed mb/m1 from the multilibs fog GCC11 and SH arch.
Another option would be to try not to build libgcc for this combination
of the gcc version and archichecture, but I thought this fix would be
more robust.

Signed-off-by: Nik Konyuchenko <spaun2002mobile@gmail.com>
2021-05-05 01:27:57 -07:00
..
arch Add PRU cross tool target 2021-01-19 21:18:55 +02:00
binutils enable option for binutils deterministic-archives 2019-10-10 21:39:29 +02:00
cc Remove m1 from multilibs for GCC11 on SH arch. 2021-05-05 01:27:57 -07:00
comp_libs newlib-nano: Add option to copy libs into target 2021-04-15 14:29:04 -05:00
comp_tools Meet our new companion tool, bison 2019-03-04 00:22:02 -08:00
debug GDB 8.3+ needs IPv6 2019-10-02 09:35:46 -07:00
global Clarify tree layout of local patches directory 2020-10-13 16:09:35 +07:00
kernel Add PRU cross tool target 2021-01-19 21:18:55 +02:00
libc Disable -Werror for GLIBC for all ARCH for GCC11. 2021-05-05 01:26:34 -07:00
binutils.in Restrict flat format to architectures that support it 2018-12-01 15:08:46 -08:00
cc.in Switch gen-kconfig to new framework 2017-07-08 10:57:56 -07:00
comp_libs.in Make comp.libs use generated templates, too 2017-11-29 23:44:49 -08:00
comp_tools.in Switch gen-kconfig to new framework 2017-07-08 10:57:56 -07:00
config.in config: Update environment variable usage 2021-02-02 20:06:32 +13:00
configure.in.in Add picolibc support [v2] 2020-09-01 09:42:53 -07:00
debug.in Get rid of config.gen 2017-04-22 18:41:50 -07:00
global.in config: Update environment variable usage 2021-02-02 20:06:32 +13:00
kernel.in Don't enable "shared flat" 2019-02-21 21:18:37 -08:00
libc.in Also upgrade non-generated config files 2017-07-08 10:57:56 -07:00
target.in Set --with-cpu-{32,64} for multilib builds 2020-02-26 11:05:19 -08:00
test_suite.in all: unmark experimental features 2012-12-26 20:05:19 +01:00
toolchain.in Add config flags for omitting 'arch' and 'vendor' 2018-12-10 01:10:01 -08:00