Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 695602

Summary: sys-devel/llvm CXXFLAGS=-Wimplicit-function-declaration - CMake Error at cmake/modules/HandleLLVMOptions.cmake:462 (message): The host compiler does not support '-std=c++11'.
Product: Gentoo Linux Reporter: Alessandro Barbieri <lssndrbarbieri>
Component: Current packagesAssignee: LLVM support project <llvm>
Status: RESOLVED UPSTREAM    
Severity: normal CC: mgorny
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=695604
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: llvm-log
llvm-9.0.0:20190925-003741.log
info
CMakeOutput.log
CMakeError.log

Description Alessandro Barbieri 2019-09-25 00:39:39 UTC
I have -Wimplicit-function-declaration in CFLAGS and CXXFLAGS
the following packages fail to configure (for now)

sys-devel/llvm
sys-devel/lld
sys-devel/clang
dev-util/lldb

-- Performing Test CXX_SUPPORTS_CXX_STD - Failed
CMake Error at cmake/modules/HandleLLVMOptions.cmake:462 (message):
  The host compiler does not support '-std=c++11'.
Call Stack (most recent call first):
  CMakeLists.txt:643 (include)


-- Configuring incomplete, errors occurred!

I'll only attach logs for llvm, the others have the same failures
Comment 1 Alessandro Barbieri 2019-09-25 00:43:03 UTC
Created attachment 590988 [details]
llvm-log
Comment 2 Alessandro Barbieri 2019-09-25 00:46:38 UTC
Created attachment 590990 [details]
llvm-9.0.0:20190925-003741.log

llvm-log
Comment 3 Alessandro Barbieri 2019-09-25 00:47:00 UTC
Created attachment 590992 [details]
info

emerge --info
Comment 4 Alessandro Barbieri 2019-09-25 00:47:38 UTC
Created attachment 590994 [details]
CMakeOutput.log

cmake log
Comment 5 Alessandro Barbieri 2019-09-25 00:48:00 UTC
Created attachment 590996 [details]
CMakeError.log

cmake error log
Comment 6 Alessandro Barbieri 2019-09-25 01:02:03 UTC
Also sys-libs/libomp have the same issue
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-09-28 05:58:11 UTC
It's fun stuff you're doing but if you're doing the kind of fun-breaking-stuff, you need to send fixes upstream yourself.