Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Dec 2015 18:03:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-toolchain@FreeBSD.org
Subject:   [Bug 205453] 11.0-CURRENT libcxxrt/guard.cc uses C11's _Static_assert in conditionally-compiled C++ code and when it is used buildworld fails for syntax errors in g++ compilers
Message-ID:  <bug-205453-29464-27Afdngzrp@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-205453-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-205453-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205453

--- Comment #4 from Mark Millard <markmi@dsl-only.net> ---
FYI: My src.conf in use for the failing powerpc64-gcc "X" toolchain based
buildworld and buildkernel (with gcc49 acting as the host toolchain) was:

# more ~/src.configs/src.conf.powerpc64-xtoolchain.powerpc64-host 
KERNCONF=GENERIC64vtsc-NODEBUG
TARGET=powerpc
.if ${.MAKE.LEVEL} == 0
TARGET_ARCH=powerpc64
.export TARGET_ARCH
.endif
WITHOUT_CROSS_COMPILER=
WITHOUT_CLANG_EXTRAS=
WITH_FAST_DEPEND=
WITH_LIBCPLUSPLUS=
WITH_LIB32=
WITH_BOOT=
WITH_CLANG=
WITH_CLANG_IS_CC=
WITH_CLANG_FULL=
WITH_LLDB=
WITHOUT_GCC=
WITHOUT_GNUCXX=
NO_WERROR=
MALLOC_PRODUCTION=
WITH_DEBUG=
WITH_DEBUG_FILES=
CROSS_TOOLCHAIN=powerpc64-gcc
.if ${.MAKE.LEVEL} == 0
CC=/usr/local/bin/gcc49
CXX=/usr/local/bin/g++49
CPP=/usr/local/bin/cpp49
.export CC
.export CXX
.export CPP
.endif

So WITH_LIBCPLUSPLUS. make.conf was empty. gcc49/g++49 had been built without
32 bit (lib32) support. gcc49 built powerpc64-gcc's update; the older
powerpc64-gcc built gcc49. gcc 4.2.1 is/was not present.

The kernel configuration turns on both vt and sc and turns off ps3.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205453-29464-27Afdngzrp>