crosstool-ng/packages/gcc/11.2.0
Alexey Brodkin 9ddd4b7883 gcc: Fix cross-canadian builds wih GCC11
With this we may finally build Windows and "native" toolchains
if host tools are also GCC11 based. For example:

1. You build cross toolchain with all the recent components by CT-NG
2. You build cross-canadian toolchain for Windows or ARC, ARMm whatever board

See upstream bug report [1] for more details.

Basically when we do cross-canadian build with
use of the same GCC11 as a "host" compiler we're seeing
an error like that:
------------------->8-------------------
mingw-w64-cross/gcc/x86_64-w64-mingw32/libstdc++-v3/include/fenv.h:58:11: error: 'fenv_t' has not been declared in '::'
   58 |   using ::fenv_t;
------------------->8-------------------

This is a solution proposed by Yujie Yang in [2]
Note, though it's not the final fix merged upstream, that's just
an attempt to fix this by casual GCC users. There's a hope it
will be fixed anyways a bit later, maybe by the time of GCC 11.3...

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100017
[2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100017#c20

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2021-09-15 02:02:16 -07:00
..
0000-libtool-leave-framework-alone.patch gcc: Refresh patches of GCC 11.2.0 2021-09-15 01:18:45 -07:00
0001-gcc-plugin-POSIX-include-sys-select-h.patch gcc: Refresh patches of GCC 11.2.0 2021-09-15 01:18:45 -07:00
0002-arm-softfloat-libgcc.patch gcc: Refresh patches of GCC 11.2.0 2021-09-15 01:18:45 -07:00
0003-libgcc-disable-split-stack-nothreads.patch gcc: Refresh patches of GCC 11.2.0 2021-09-15 01:18:45 -07:00
0004-Remove-use-of-include_next-from-c-headers.patch gcc: Refresh patches of GCC 11.2.0 2021-09-15 01:18:45 -07:00
0005-Fix-cross-native-cross-caandian-builds.patch gcc: Fix cross-canadian builds wih GCC11 2021-09-15 02:02:16 -07:00
chksum gcc: bump to 11.2 2021-07-28 14:53:00 -04:00
version.desc gcc: bump to 11.2 2021-07-28 14:53:00 -04:00