From owner-freebsd-bugs@freebsd.org Thu May 3 21:06:48 2018 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C2735FBA8EF for ; Thu, 3 May 2018 21:06:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 423F182701 for ; Thu, 3 May 2018 21:06:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id F0C15FBA8EE; Thu, 3 May 2018 21:06:46 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DF83AFBA8ED for ; Thu, 3 May 2018 21:06:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7C76F826E1 for ; Thu, 3 May 2018 21:06:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id A2E3E1AFD for ; Thu, 3 May 2018 21:06:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w43L6jP1053869 for ; Thu, 3 May 2018 21:06:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w43L6jP3053863 for bugs@FreeBSD.org; Thu, 3 May 2018 21:06:45 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 227659] [PATCH] src.opts.mk: fix to build WITH_GCC=yes when using an external compiler that supports c++11 Date: Thu, 03 May 2018 21:06:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 11.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kennethsalerno@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2018 21:06:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227659 --- Comment #5 from Kenneth Salerno --- (In reply to Mark Millard from comment #2) Hi, Mark.=20 I had a segfault compiling libstand32 (https://bugs.llvm.org/show_bug.cgi?id=3D37330) that was caused by -mcpu=3D= power9, so I tried building everything again without -mcpu=3Dpower9 and got the same result with ports-mgmt/pkg segfaulting when the system clang is linking pkg-static. Here's my config: MYLLVMSUFFIX =3D 60 _OSRELEASE !=3D uname -r OSREL =3D ${_OSRELEASE:C/-.*//} XCC =3D /usr/local/bin/clang${MYLLVMSUFFIX} XCXX =3D /usr/local/bin/clang++${MYLLVMSUFFIX} XCPP =3D /usr/local/bin/clang-cpp${MYLLVMSUFFIX} CROSS_BINUTILS_PREFIX =3D /usr/local/bin/powerpc64-unknown-freebsd${OSREL}- XCFLAGS +=3D -B/usr/local/bin/powerpc64-unknown-freebsd${OSREL}- XCXXFLAGS +=3D -B/usr/local/bin/powerpc64-unknown-freebsd${OSREL}- XLDFLAGS +=3D -B/usr/local/bin/powerpc64-unknown-freebsd${OSREL}- NO_WERROR =3D WERROR =3D WITHOUT_GCC =3D yes WITHOUT_GCC_BOOTSTRAP =3D yes WITHOUT_GNUCXX =3D yes WITH_CLANG =3D yes WITH_CLANG_BOOTSTRAP =3D yes WITH_CLANG_FULL =3D yes WITH_CLANG_IS_CC =3D yes WITH_LLD =3D yes FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0) Target: powerpc64-unknown-freebsd11.1 Thread model: posix InstalledDir: /usr/bin I'm about ready to give up on this one. --=20 You are receiving this mail because: You are the assignee for the bug.=