From owner-freebsd-stable@freebsd.org Wed Oct 19 15:00:46 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 D94DEC18F01 for ; Wed, 19 Oct 2016 15:00:46 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x231.google.com (mail-it0-x231.google.com [IPv6:2607:f8b0:4001:c0b::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A078918A for ; Wed, 19 Oct 2016 15:00:46 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x231.google.com with SMTP id 66so30635145itl.1 for ; Wed, 19 Oct 2016 08:00:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=CVhm4RUazQZyNmB5TwGUweQsPXOQ40QR5VwXi7Mi9rg=; b=L5Pfs3pSGsMewY5htE3rjZXW6e5wx8uA3Bn7+KWGQDc/zjWN533EPdFCMVo9nIlZGu nQIze5nHDBa2sJwdxkjh90VGQ6CFjgP4f61U463ffcpmTIwk8jXao84Rp0KWpp3TbKWg dqJY5LqcoHDaztguu2FVguYGSfW8mnfnAbmvgGCYlwB3O6qjicJlBUlvJtYiMNXiaEsH 4UxEBi/wWBSaMOb+DDGX0mEK/ZbCkAGiru/Ipa1abbIPc5BzKGoru1cHV5yQaiN2ivoe Th82Rg2oFI+npKOZG4PVUaQRTyy6oGfubVOc+w2PopGB/RPvmB7Gsqa3gUzlvQrce8ID 3Wgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=CVhm4RUazQZyNmB5TwGUweQsPXOQ40QR5VwXi7Mi9rg=; b=hg0n7oXeVgoV3gIcMKDhvp6ITLryZFFskYTfpZ1DE++gUZRL6M+RfCafqSxZJt4q1w YtLBcq7h/WG19s6XTsSztJn9gP4oI3e0e2WAsNZZRNE3VFQV+QRB3zK5UDxKl1ZoXzEH 3omAfdKtbDT511DH5PSTim4X1c3JtHGvGZrXNMTW4h7B3OIGGRtzZB0rctEpKVcmYU7Z pHOIFWtCzz5MQKkDcDAxzMguOKWz4RGLvuGItQRH/Jm41yjQ2nIjmmUT4wT1ncuMqZTH sjMq9frqMZQX5SiaoVGb+CVP2kwhDDKHsF4yaoEfSAbSkVEhxaflbCLdoJWAVaAqpP7F jq0w== X-Gm-Message-State: AA6/9RlvDymcd72LUc2u8S9k8JiX/cBvlvtHMxP+BFcOYh3w7AxsUD4x6mDbeu53+kEbEFKIArVsiGQtiYuUSw== X-Received: by 10.36.19.147 with SMTP id 141mr3318426itz.85.1476889245981; Wed, 19 Oct 2016 08:00:45 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.77.85 with HTTP; Wed, 19 Oct 2016 08:00:45 -0700 (PDT) X-Originating-IP: [50.253.99.174] In-Reply-To: <84890108-CB52-4B2B-B795-C650879469E9@FreeBSD.org> References: <20161016122041.e20ae504c58d4f9224eec6bf@getmail.no> <426D0291-D785-4CFE-A15D-9BE688499ACB@FreeBSD.org> <84890108-CB52-4B2B-B795-C650879469E9@FreeBSD.org> From: Warner Losh Date: Wed, 19 Oct 2016 09:00:45 -0600 X-Google-Sender-Auth: RqDyaeQz0UrOofyuUHmVBIZedcI Message-ID: Subject: Re: Building FreeBSD 11.0-stable on FreeBSD 10.1-stable fails To: Dimitry Andric Cc: Bryan Drewery , Torfinn Ingolfsen , FreeBSD-STABLE Mailing List Content-Type: text/plain; charset=UTF-8 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: Wed, 19 Oct 2016 15:00:46 -0000 On Sun, Oct 16, 2016 at 12:18 PM, Dimitry Andric wrote: > On 16 Oct 2016, at 17:22, Warner Losh wrote: >> >> 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 >>>> >>>> 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="11.0" >>>> BRANCH="STABLE" >>>> >>>> But building it (per the procedure in the handbook) fails at the buildworld stage. Both 'make -j5 buildworld' and 'make buildworld' fails, like this: >>>> >>>> c++: error: unable to execute command: Segmentation fault (core dumped) > ... >>> Please make sure your stable/10 is at least r286033. >> >> 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. I think you're confused. In prepping a patch, it looks like it went in after 9.3-RELEASE on stable/9, but it went in between 10.2 and 10.3 on stable/10. So 10.1R and 10.2R are busted, but 10.3R should work. I've updated UPDATING to reflect this. Warner