Created attachment 453642 [details] build log guard.cc:104:14: error: expected constructor, destructor, or type conversion before ‘(’ token static_assert(sizeof(guard_t) == sizeof(uint64_t), "");
Alternatively, you could try sys-libs/libcxxabi (and USE=libcxxabi on libcxx). I'll try to find some to look into this. Do we have a ppc devbox or sth like that?
Thanks for reporting this. Since upstream doesn't provide support code for this arch, I don't think we can do much about it. And since nobody has explicitly requested it so far, I don't think there's really a point bothering upstream about it (or expecting upstream to have any 32-bit PPC hardware). Therefore, I went ahead and masked the openmp flag on clang-runtime in ppc32 and sparc profiles (i.e. in arches mentioned in the keywordreq).
Sorry, wrong bug. I'll copy over my elaborate to #600148. As for libcxxrt, upstream doesn't have any PPC32 boxes to test ;-). If someone can provide a patch, I can push it. Alternatively, I could try to fix it myself given access to some PPC32 box.
This particular compilation error should go away when compiling with --std=c++11.
(In reply to Michał Górny from comment #3) > Sorry, wrong bug. I'll copy over my elaborate to #600148. > > As for libcxxrt, upstream doesn't have any PPC32 boxes to test ;-). If > someone can provide a patch, I can push it. Alternatively, I could try to > fix it myself given access to some PPC32 box. Ask Chewi for an account on timberdoodle.gentoo.osuosl.org.
I can reproduce the reported failure with gcc-4.9.4 and gcc-5.4.0-r3, but with gcc-6.3.0 I get a different error: powerpc-unknown-linux-gnu-g++ -fPIC -nodefaultlibs -O2 -mcpu=power7 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,defs -shared -Wl,-soname,libcxxrt.so.1 -o libcxxrt.so.1 dynamic_cast.So exception.So guard.So stdexcept.So typeinfo.So memory.So auxhelper.So libelftc_dem_gnu3.So -ldl -lgcc_s -lc stdexcept.So: In function `std::exception::~exception()': stdexcept.cc:(.text+0x294): undefined reference to `operator delete(void*, unsigned int)'
Package removed.