Files
buildroot/package
Matt Weber 83c6564a37 package/gcc: disable fortran use of libquadmath
The GCC package has a default conf option of disabling libquadmath and
the toolchain dependencies selectively enabled it if i386 / x64.

Fixes:
https://gitlab.com/bootlin/toolchains-builder/-/jobs/729359622

This patch fixes a build failure when (GCC + glibc) is being built for
the IBM Power8 arch and has libgfortran enabled + libquadmath disabled.
The libgfortran has a code condition for __float128 and includes the
quadmath headers. The bug occurs because Power8 has emulated
float128 support. The fix per GCC options is to also set
--disable-libquadmath-support which disables the
__float128/libquadmath support in gcc/fortran and in libgfortran [1].

Another option to fix the build failure was to enable libquadmath for
IBM Power8 (ISA 2.07), however this would be soft float based as the
ISA 3.0+ (Power9) first supports native float128 [2][3].

[1] https://fortran.gcc.gnu.narkive.com/8uSfoKUS/patch-build-pr-46540-add-disable-libquadmath-disable-libquadmath-support
[2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66382#c7
[3] https://gcc.gnu.org/onlinedocs/gcc/RS_002f6000-and-PowerPC-Options.html

Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit a07fc4b03b)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-10-30 09:36:02 +01:00
..
2020-07-18 15:56:46 +02:00
2020-08-15 16:14:28 +02:00
2020-10-03 07:57:08 +02:00
2020-07-18 14:18:33 +02:00
2020-10-10 22:23:59 +02:00
2020-07-27 17:19:46 +02:00
2020-08-13 21:59:36 +02:00
2020-09-01 09:18:37 +02:00
2020-09-29 16:10:49 +02:00
2020-07-19 18:49:56 +02:00
2020-08-05 15:00:32 +02:00
2020-08-12 16:44:27 +02:00
2020-10-02 22:14:10 +02:00
2020-08-19 22:47:44 +02:00
2020-07-14 10:01:05 +02:00
2020-07-18 23:25:26 +02:00
2020-08-28 22:56:49 +02:00
2020-08-29 16:03:15 +02:00
2020-07-27 10:13:06 +02:00
2020-07-26 21:47:22 +02:00
2020-08-16 11:27:28 +02:00
2020-10-10 22:09:30 +02:00
2020-07-18 22:31:26 +02:00
2020-07-26 21:47:07 +02:00
2020-08-28 22:56:49 +02:00
2020-08-23 15:03:18 +02:00
2020-07-13 23:24:19 +02:00
2020-08-31 22:18:09 +02:00
2020-08-28 22:56:49 +02:00
2020-07-16 22:20:07 +02:00
2020-08-03 16:37:23 +02:00
2020-08-16 11:27:28 +02:00
2020-07-14 23:44:31 +02:00
2020-09-29 20:35:02 +02:00
2020-07-27 15:12:53 +02:00
2020-07-16 09:16:36 +02:00
2020-07-16 09:14:34 +02:00
2020-09-29 17:20:20 +02:00
2020-10-12 09:47:11 +02:00
2020-07-16 09:10:40 +02:00
2020-07-27 13:31:00 +02:00