From owner-freebsd-stable@freebsd.org Sun Oct 16 18:19:06 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 63B91C14AFD for ; Sun, 16 Oct 2016 18:19:06 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2193D10DB; Sun, 16 Oct 2016 18:19:06 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:7b8:3a7::c36:9109:5a15:ae78] (unknown [IPv6:2001:7b8:3a7:0:c36:9109:5a15:ae78]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id EC5F11266; Sun, 16 Oct 2016 20:19:03 +0200 (CEST) Content-Type: multipart/signed; boundary="Apple-Mail=_CE82138D-E19C-40DD-BF2D-FA7086897965"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Building FreeBSD 11.0-stable on FreeBSD 10.1-stable fails From: Dimitry Andric In-Reply-To: Date: Sun, 16 Oct 2016 20:18:45 +0200 Cc: Bryan Drewery , Torfinn Ingolfsen , FreeBSD-STABLE Mailing List Message-Id: <84890108-CB52-4B2B-B795-C650879469E9@FreeBSD.org> References: <20161016122041.e20ae504c58d4f9224eec6bf@getmail.no> <426D0291-D785-4CFE-A15D-9BE688499ACB@FreeBSD.org> To: Warner Losh X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Oct 2016 18:19:06 -0000 --Apple-Mail=_CE82138D-E19C-40DD-BF2D-FA7086897965 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 16 Oct 2016, at 17:22, Warner Losh wrote: >=20 > On Sun, Oct 16, 2016 at 5:34 AM, Dimitry Andric = wrote: >> On 16 Oct 2016, at 12:20, Torfinn Ingolfsen = wrote: >>> I am trying to build FreeBSD 11.0-stable on a machine which runs: >>> tingo@kg-v7$ uname -a >>> FreeBSD kg-v7.kg4.no 10.1-STABLE FreeBSD 10.1-STABLE #0 r278322: Fri = Feb 6 21:36:01 CET 2015 >>> root@kg-v7.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64 >>>=20 >>> I have emptied /usr/src and /usr/obj and fetched the latest = stable/11 via subversion: >>> tingo@kg-v7$ egrep "^BRANCH|^REVISION" /usr/src/sys/conf/newvers.sh >>> REVISION=3D"11.0" >>> BRANCH=3D"STABLE" >>>=20 >>> But building it (per the procedure in the handbook) fails at the = buildworld stage. Both 'make -j5 buildworld' and 'make buildworld' = fails, like this: >>>=20 >>> c++: error: unable to execute command: Segmentation fault (core = dumped) ... >> Please make sure your stable/10 is at least r286033. >=20 > What's the issue this fixes? It fixes a possible crash in clang 3.4, which can occur if newer versions of llvm are compiled. Unfortunately this fix only went in after 10.3-RELEASE. > Right now we have safeties in place in > buildworld that indicate we 'support' back to 9 sometime. If that's > not really the case, we need to fix something (either fix so we don't > need this specific revision, or fix the Makefile to indicate we don't > support back that far). The fix was also merged to stable/9 in r286035. As far as I know, we have always required people to upgrade to the latest revision in stable branches before attempting to hop to the next stable branch (or head). -Dimitry --Apple-Mail=_CE82138D-E19C-40DD-BF2D-FA7086897965 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.30 iEYEARECAAYFAlgDxJcACgkQsF6jCi4glqOBlgCbB9sw/whzahXYqwhg2CfvwBCB 9+8AoIgfTLI1DKCKXte9qyH2n5is8/tT =oTUE -----END PGP SIGNATURE----- --Apple-Mail=_CE82138D-E19C-40DD-BF2D-FA7086897965--