On Mon, Dec 31, 2018 at 06:01:03PM -0500, George Koehler wrote:
> On Mon, 31 Dec 2018 00:15:56 -0700 (MST)
> lan...@openbsd.org wrote:
> 
> > http://build-failures.rhaalovely.net//powerpc/2018-12-14/x11/qt5/qtbase.log
> 
> Fails to #include <type_traits>, a C++ standard library header.
> Is llvm missing a dependency on g++?
> 
> At the top of the log, gcc-4.9.4p15 and gcc-libs-4.9.4p15 and
> llvm-6.0.1p19 get installed, but g++ doesn't.
> 
> > ===>  Compiler link: gcc -> /usr/local/bin/clang
> > ===>  Compiler link: cc -> /usr/local/bin/clang
> > ===>  Compiler link: clang -> /usr/local/bin/clang
> > ===>  Compiler link: g++ -> /usr/local/bin/clang++
> > ===>  Compiler link: c++ -> /usr/local/bin/clang++
> > ===>  Compiler link: clang++ -> /usr/local/bin/clang++
> 
> The compiler is ports-clang from the llvm package.  The compiler
> needs a C++ library.  It can't use libc++ from base-clang because
> powerpc doesn't have base-clang.  It can't use libstdc++ from
> base-gcc because that lib can't do C++11.

ports-clang should never be used for c++-code. It almost always break
with configure errors about 'c compiler not being able to compile code'.
i think i have it removed locally from COMPILER in x11/qt5/qt5.port.mk
but i dont remember if this is on sparc64 or macppc or both.

Landry

Reply via email to