[PATCH] D25683: [docs] Increase minimum supported GCC version for building LLVM to 4.8

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 17 09:39:15 PDT 2016

tejohnson created this revision.
tejohnson added a reviewer: rengolin.
tejohnson added a subscriber: llvm-commits.

The RFC proposal sent to increase the minimum required GCC version
to 4.8 received a lot of support. See the following thread:

This patch implements that by updating the docs. I believe the
references to libstdc++ 4.7 issues can be removed as well, please
let me know if that is not the case or if they should be updated
a different way.



Index: docs/GettingStarted.rst
--- docs/GettingStarted.rst
+++ docs/GettingStarted.rst
@@ -202,7 +202,7 @@
 Package                                                     Version      Notes
 =========================================================== ============ ==========================================
 `GNU Make <http://savannah.gnu.org/projects/make>`_         3.79, 3.79.1 Makefile/build processor
-`GCC <http://gcc.gnu.org/>`_                                >=4.7.0      C/C++ compiler\ :sup:`1`
+`GCC <http://gcc.gnu.org/>`_                                >=4.8.0      C/C++ compiler\ :sup:`1`
 `python <http://www.python.org/>`_                          >=2.7        Automated test suite\ :sup:`2`
 `zlib <http://zlib.net>`_                                   >=    Compression library\ :sup:`3`
 =========================================================== ============ ==========================================
@@ -261,7 +261,7 @@
 our build systems:
 * Clang 3.1
-* GCC 4.7
+* GCC 4.8
 * Visual Studio 2013
 Anything older than these toolchains *may* work, but will require forcing the
@@ -294,19 +294,9 @@
 symptom is an error about cyclic dependencies.  We recommend upgrading to a
 newer version of Gold.
-**Clang 3.0 with libstdc++ 4.7.x**: a few Linux distributions (Ubuntu 12.10,
-Fedora 17) have both Clang 3.0 and libstdc++ 4.7 in their repositories.  Clang
-3.0 does not implement a few builtins that are used in this library.  We
-recommend using the system GCC to compile LLVM and Clang in this case.
 **Clang 3.0 on Mageia 2**.  There's a packaging issue: Clang can not find at
 least some (``cxxabi.h``) libstdc++ headers.
-**Clang in C++11 mode and libstdc++ 4.7.2**.  This version of libstdc++
-contained `a bug <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53841>`__ which
-causes Clang to refuse to compile condition_variable header file.  At the time
-of writing, this breaks LLD build.
 Getting a Modern Host C++ Toolchain
Index: docs/CodingStandards.rst
--- docs/CodingStandards.rst
+++ docs/CodingStandards.rst
@@ -189,7 +189,7 @@
 traits header to emulate it.
 .. _the libstdc++ manual:
-  http://gcc.gnu.org/onlinedocs/gcc-4.7.3/libstdc++/manual/manual/status.html#status.iso.2011
+  http://gcc.gnu.org/onlinedocs/gcc-4.8.5/libstdc++/manual/manual/status.html#status.iso.2011
 Other Languages

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25683.74864.patch
Type: text/x-patch
Size: 2540 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161017/39c9f189/attachment.bin>

More information about the llvm-commits mailing list