[llvm-dev] unable to compile llvm with gcc 4.7.4
Teresa Johnson via llvm-dev
llvm-dev at lists.llvm.org
Wed Oct 12 06:34:44 PDT 2016
On Wed, Oct 12, 2016 at 6:26 AM, via llvm-dev <llvm-dev at lists.llvm.org>
wrote:
> On Wed, Oct 12, 2016 at 10:28:36AM +0200, Antoine Pitrou via llvm-dev
> wrote:
> > On Tue, 11 Oct 2016 13:46:35 -0700
> > Michael Kuperstein via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> > > To the best of my understanding - because we want to be able to
> bootstrap
> > > clang with the system compiler that ships with various linux and BSD
> > > distributions.
> > > Windows has no equivalent concept.
> >
> > To elaborate on this: if you want to produce binaries compatible with
> > old Linux systems, it is pretty much necessary to build on such an old
> > Linux system, because otherwise you'll get bitten by glibc ABI issues
> > (not to mention libstdc++, but at least you can link libstdc++
> > statically).
>
> Then, on the medium term it would be to see if gcc 4.7.4 (the last C
> bootstrap-able c++-ish compiler in one step) is phased out from llvm
> support in
> favor of gcc 4.8.
>
> But the short term solution would be to fix current llvm against gcc 4.7.4.
>
> As I said earlier, with the options detailed earlier in this thread, the
> LTO
> cache and some tools have some troubles with gcc 4.7.4.
>
I can send a patch to workaround the gcc 4.7.4 bug hitting the LTO compile.
But according to James in an earlier response, there are other places where
gcc 4.7 doesn't compile the current clang toolchain.
So I'd first like to understand whether we still want to keep gcc 4.7 as a
supported version, or move to 4.8 as was suggested. What is the process for
making that change? If we stick with 4.7 we should have a bot otherwise it
will likely stop working again pretty quickly.
Teresa
> regards,
>
> --
> Sylvain
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
--
Teresa Johnson | Software Engineer | tejohnson at google.com | 408-460-2413
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161012/cd4add9c/attachment.html>
More information about the llvm-dev
mailing list