- remove devtoolset-1 (obsoleted gcc 4.7)
- add devtoolset-6 (gcc 6.2+)
(There is no devtoolset-5, RH switched to gcc major version numbering.)
Please apply, I don't have commit access.
Thanks,
Michael
diff -ru a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp
--- a/lib/Driver/ToolChai
patch attached.
-Michael
Rafael EspĂndola wrote:
LGTM with a comment saying why it is needed.
Cheers,
Rafael
On 22 March 2016 at 23:02, Michael Lampe via cfe-commits
wrote:
Some distros with ten years of support ship an old gcc but later offer
more
recent versions for installation in par
New patch attached.
-Michael
Rafael EspĂndola wrote:
LGTM with a comment saying why it is needed.
Cheers,
Rafael
On 22 March 2016 at 23:02, Michael Lampe via cfe-commits
wrote:
Some distros with ten years of support ship an old gcc but later offer more
recent versions for installation in
--no-add-needed.
Can you change this to "if (IsRedhat(Distro) && !old_rhel_distro) "?
Cheers,
Rafael
On 22 March 2016 at 22:07, Michael Lampe via cfe-commits
wrote:
- Don't consider "/etc/lsb-release" to be Ubuntu only.
- Detect SL, too.
- Only add "--no
Some distros with ten years of support ship an old gcc but later offer
more recent versions for installation in parallel. These versions are
typically not only needed for the compilation of llvm/clang, but also to
properly use the clang binary that comes out.
Clang already searches /usr at run
- Don't consider "/etc/lsb-release" to be Ubuntu only.
- Detect SL, too.
- Only add "--no-add-needed" for RHEL7 (or Fedora), not for RHEL6
(that's what the compilers shipped with RHEL do).
--- a/tools/clang/lib/Driver/ToolChains.cpp 2015-09-02 04:26:13.266233474
+0200
+++ b/tools/clang/lib