[llvm-dev] unable to compile llvm with gcc 4.7.4

via llvm-dev llvm-dev at lists.llvm.org
Mon Oct 10 02:50:56 PDT 2016


On Sat, Oct 08, 2016 at 11:02:37AM +0000, sylvain.bertrand at gmail.com wrote:
> Hi,
> 
> Encounter a compilation issue related to c++.
> 
> Software versions:
> 	- gcc 4.7.4
> 	- llvm git commit 98a1ca117e6743dd7f2d505443a96f591d083eab
> 
> Build log:
> 
> Scanning dependencies of target LLVMLTO
> [ 53%] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/Caching.cpp.o
> /tmp/pkgs/llvm/lib/LTO/Caching.cpp: In lambda function:
> /tmp/pkgs/llvm/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 /tmp/pkgs/llvm/include/llvm/LTO/Caching.h:18:0,
>                  from /tmp/pkgs/llvm/lib/LTO/Caching.cpp:14:
> /tmp/pkgs/llvm/include/llvm/LTO/LTO.h:271:11: error:   overriding 'virtual llvm::lto::NativeObjectStream::~NativeObjectStream() noexcept (true)'
> lib/LTO/CMakeFiles/LLVMLTO.dir/build.make:67: recipe for target 'lib/LTO/CMakeFiles/LLVMLTO.dir/Caching.cpp.o' failed
> make[2]: *** [lib/LTO/CMakeFiles/LLVMLTO.dir/Caching.cpp.o] Error 1
> CMakeFiles/Makefile2:2584: recipe for target 'lib/LTO/CMakeFiles/LLVMLTO.dir/all' failed
> make[1]: *** [lib/LTO/CMakeFiles/LLVMLTO.dir/all] Error 2
> Makefile:149: recipe for target 'all' failed
> make: *** [all] Error 2

Is this the right mailing list to report compilation error? I tried to get a
bugzilla account, unsuccessfully.

-- 
Sylvain


More information about the llvm-dev mailing list