Created attachment 198461 [details]
Add USES=compiler:c++11-lang to fix build with GCC architectures.
Tested on powerpc64 and amd64.
Hardware sponsored by IntegriCloud.
As I’ve mentioned before adding compiler:c* breaks mips and also adds unneeded dep in gcc when not needed. You need to target only the arch’s that need the compiler instead of adding unnecessary deps and break archs that can’t use gcc
(In reply to Nathan from comment #1)
This port fail without C++11:
(In reply to Piotr Kubaj from comment #2)
You can still target ones that need it and not all. I showed you how in previous bugs you’ve reported
(In reply to Nathan from comment #3)
Do you think C++11 is used only by some architectures?
This is NOT a compiler bug that makes only some architectures fail, this is a lack of functionality that also exists on other architectures:
(00:03:46) CMake Error in src/CMakeLists.txt:
(00:03:46) Target "bctoolbox" requires the language dialect "CXX11" (with compiler
(00:03:46) extensions), but CMake does not know the compile flags to use to enable it.
A commit references this bug:
Date: Mon Oct 22 19:23:54 UTC 2018
New revision: 482777
Add USES=compiler:c++11-lib to Linphone ports.
Submitted by: email@example.com