Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 695602 - 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'.
Summary: sys-devel/llvm CXXFLAGS=-Wimplicit-function-declaration - CMake Error at cmak...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: LLVM support project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-25 00:39 UTC by Alessandro Barbieri
Modified: 2019-09-28 05:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
llvm-log (llvm-9.0.0:20190925-003741.log,16.82 KB, text/plain)
2019-09-25 00:43 UTC, Alessandro Barbieri
Details
llvm-9.0.0:20190925-003741.log (llvm-9.0.0:20190925-003741.log,16.82 KB, text/plain)
2019-09-25 00:46 UTC, Alessandro Barbieri
Details
info (info,14.52 KB, text/plain)
2019-09-25 00:47 UTC, Alessandro Barbieri
Details
CMakeOutput.log (CMakeOutput.log,87.17 KB, text/plain)
2019-09-25 00:47 UTC, Alessandro Barbieri
Details
CMakeError.log (CMakeError.log,19.17 KB, text/plain)
2019-09-25 00:48 UTC, Alessandro Barbieri
Details

Note You need to log in before you can comment on or make changes to this bug.
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.