[llvm-dev] Is GCC 4.7 still supported?

Artyom Skrobov via llvm-dev llvm-dev at lists.llvm.org
Mon Oct 17 04:04:58 PDT 2016


Thank you very much for the references, we've missed this discussion from last week.

Seeing that the RFC hasn’t got any new responses since Wed 12th, is now the time to declare that the community has accepted the proposal, and to update the docs?
Or is there any formal deadline for objections to be raised?


-----Original Message-----
From: meinersbur at googlemail.com [mailto:meinersbur at googlemail.com] On Behalf Of Michael Kruse
Sent: 17 October 2016 11:46
To: Artyom Skrobov
Cc: LLVM Dev; nd
Subject: Re: [llvm-dev] Is GCC 4.7 still supported?

There was a thread last week[1] when someone also noticed that LLVM
doesn't compile with gcc 4.7 anymore. It turned out that it didn't for
3 months already, as there are no more buildbots testing compilation
with gcc 4.7.

Therefore there was a discussion to raise the minimum required version
to 4.8 [2]

[1] http://lists.llvm.org/pipermail/llvm-dev/2016-October/105742.html
[2] http://lists.llvm.org/pipermail/llvm-dev/2016-October/105955.html

Michael

2016-10-17 12:19 GMT+02:00 Artyom Skrobov via llvm-dev
<llvm-dev at lists.llvm.org>:
> Hello,
>
> http://llvm.org/docs/GettingStarted.html#software lists "GCC >=4.7.0" among requirements for building LLVM.
> However, my attempt of building LLVM+Clang with gcc 4.7.3 has failed with a multitude of errors, such as:
>
> lib/LTO/Caching.cpp:74:7: error: looser throw specifier for 'virtual llvm::lto::localCache(std::string, llvm::lto::AddFileFn)::<lambda(unsigned int, llvm::StringRef)>::CacheStream::~CacheStream()'
> In file included from LTO/Caching.h:18:0,
>                  from LTO/Caching.cpp:14:
> LTO/LTO.h:271:11: error:   overriding 'virtual llvm::lto::NativeObjectStream::~NativeObjectStream() noexcept (true)'
>
> tools/clang/include/clang/Analysis/CFG.h:998:38: error: '<::' cannot begin a template-argument list [-fpermissive]
> tools/clang/include/clang/Analysis/CFG.h:998:38: note: '<:' is an alternate spelling for '['. Insert whitespace between '<' and '::'
> tools/clang/include/clang/Analysis/CFG.h:998:38: note: (if you use '-fpermissive' G++ will accept your code)
>
>
> Either the docs or the makefiles need fixing; so, which is correct and which is wrong?
> If no one else has been building LLVM with GCC 4.7 recently, does that mean that nobody cares about 4.7, and therefore it's unsupported?
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev



More information about the llvm-dev mailing list