powerpc64-xtoolchain-gcc/powerpc64-gcc gets libcxxrt/guard.cc:104:15: error: expected constructor, destructor, . . . for lib32 (clang 3.6.1 context)

David Chisnall theraven at FreeBSD.org
Mon Oct 12 08:21:28 UTC 2015


On 12 Oct 2015, at 03:17, Mark Millard <markmi at dsl-only.net> wrote:
> 
> /usr/src/lib/libcxxrt/../../contrib/libcxxrt/guard.cc:104:15: error: expected constructor, destructor, or type conversion before '(' token
> _Static_assert(sizeof(guard_t) == sizeof(uint64_t), "");

I think that this is the error that you get with old gcc when a static assert fails.  What is the type of guard_t on PPC64?  It may simply be that gcc isn’t providing the correct #defines to let the file know that it’s a 64-bit target.

David



More information about the freebsd-ppc mailing list