summary refs log tree commit diff
path: root/INSTALL
diff options
context:
space:
mode:
authorPaul E. Murphy <murphyp@linux.vnet.ibm.com>2020-03-17 08:38:54 -0500
committerPaul E. Murphy <murphyp@linux.vnet.ibm.com>2020-04-30 08:52:08 -0500
commit5c7ccc29830fb59d39d67222caca5b4bd6ca2e0f (patch)
tree9079b343178de921de8bfedabd45670c0ade54b5 /INSTALL
parent3a0acbdcc51a6a854be6500da325b99cc68754c3 (diff)
downloadglibc-5c7ccc29830fb59d39d67222caca5b4bd6ca2e0f.tar.gz
glibc-5c7ccc29830fb59d39d67222caca5b4bd6ca2e0f.tar.xz
glibc-5c7ccc29830fb59d39d67222caca5b4bd6ca2e0f.zip
powerpc64le: blacklist broken GCC compilers (e.g GCC 7.5.0)
GCC 7.5.0 (PR94200) will refuse to compile if both -mabi=% and
-mlong-double-128 are passed on the command line.  Surprisingly,
it will work happily if the latter is not.  For the sake of
maintaining status quo, test for and blacklist such compilers.

Tested with a GCC 8.3.1 and GCC 7.5.0 compiler for ppc64le.

Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL8
1 files changed, 5 insertions, 3 deletions
diff --git a/INSTALL b/INSTALL
index 4bf4bd0908..b7676d1c9f 100644
--- a/INSTALL
+++ b/INSTALL
@@ -469,9 +469,11 @@ build the GNU C Library:
 
      For PowerPC 64-bits little-endian (powerpc64le), a GCC version with
      support for '-mno-gnu-attribute', '-mabi=ieeelongdouble', and
-     '-mabi=ibmlondouble' is required.  These additional features are
-     required for building the GNU C Library with support for IEEE long
-     double.
+     '-mabi=ibmlondouble' is required.  Likewise, the compiler must also
+     support passing '-mlong-double-128' with the preceding options.  As
+     of release, this implies GCC 7.4 and newer (excepting GCC 7.5.0,
+     see GCC PR94200).  These additional features are required for
+     building the GNU C Library with support for IEEE long double.
 
      For multi-arch support it is recommended to use a GCC which has
      been built with support for GNU indirect functions.  This ensures