From owner-freebsd-stable@FreeBSD.ORG Sun May 11 13:52:36 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D64C7796 for ; Sun, 11 May 2014 13:52:36 +0000 (UTC) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A353724CF for ; Sun, 11 May 2014 13:52:36 +0000 (UTC) Received: from compute3.internal (compute3.nyi.mail.srv.osa [10.202.2.43]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 39A8A20AE0; Sun, 11 May 2014 09:52:28 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Sun, 11 May 2014 09:52:28 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h= date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mesmtp; bh=2Nrx1Hs8E4So3xdgYLFUTtVxJTc=; b=As7UpDakffahlbN174afdHYiaubC Q4775JAql5Y0Pdk8JgUs/xYcdJzgwKyAe77aPsvKhXkC/ziDx1eMR8OHNedvM0yg wL4GbML4N+OrXuKRFH1FrgMxsvd5bWb8VJwArC0y7KCLJ+7leXYxUtyqR/PvvFuL +mvjRBOrjmbyUoo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:to:cc:subject:message-id :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=smtpout; bh=2Nrx1Hs8E4So3xdgYLFUTt VxJTc=; b=X1jEro0Yi3LBh07R+pqH2sjZIsKoW1Hhtf0E/RI+zqnljk3Hn27iAy uaF4BK9VtmMXfUDmZOE6jfprJbf2pTwUEBewAEqfgfef3/XGUuZCZ3u9TYE6s1wi fdHjj09N3VLqDAZ8Wb/ZMDB71Da6pDOj94TgHO5R2rFGGiNJhCO9k= X-Sasl-enc: 3yRNYVVpbiH4lYCv+TotA4SIF/7MFIVDgbX1wAtCfREw 1399816347 Received: from eventide.divine.net (unknown [217.84.42.228]) by mail.messagingengine.com (Postfix) with ESMTPA id 6CA3868015E; Sun, 11 May 2014 09:52:27 -0400 (EDT) Date: Sun, 11 May 2014 15:52:25 +0000 From: Alonso Schaich To: Tuomo Latto Subject: Re: Source upgrade from 9-stable to 10-stable Message-Id: <20140511155225.0074c176103352080694a7a1@fastmail.fm> In-Reply-To: <536F6714.4050705@iki.fi> References: <536F6714.4050705@iki.fi> X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18 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, 11 May 2014 13:52:37 -0000 On Sun, 11 May 2014 15:03:32 +0300 Tuomo Latto wrote: > I don't think I've seen any explicit instructions for a source upgrade > (i.e. buildworld/installworld) from 9-stable to 10-stable. > > Considering it is both another major version and a different compiler, > are there any obvious or non-obvious gotchas I should be watching out for? > Even all the stupid mistakes to avoid are welcome answers. > I don't want make those either. > If you didn't "tune" the build configuration (make.conf, src.conf, KERNCONF, ...) you should be able to upgrade to 10-stable in the same way you would update from 9.2 to 9.3 (i.e. normal update plus switching the source repository previously), however BIND is no longer part of FreeBSD, so if you used BIND you might want to install BIND from ports on your 9-system, configure it to use the ports BIND instead of the base one and eventually rebuild/reinstall 9-stable (with) WITHOUH_BIND. Perl is also gone, but you likely have a ports perl in your PATH anyway. The process of building FreeBSD-10 _should_ work with 9's historic gcc, though you can go safe and setup clang and it's libc++ to become the default in 9-stable by using WITH_CLANG_IS_CC and WITH_LIBCPLUSPLUS just to be safe. As the c++ runtime library was exchanged, you need to rebuild all (c++) ports before running make delete-old-libs of the updating process (however I would recommend just to rebuild *all* installed ports). www/squid3* doesn't build with clang over here, but that can be workarounded by adding "--disable-strict-error-checking" into the port Makefile's CONFIGURE_ARGS. > BTW, no COMPAT_FREEBSD8 or COMPAT_FREEBSD9? Really? > > -- > Tuomo > There was no COMPAT_FREEBSD8 in FreeBSD-9 either, as AFAIK 10 and 9 are completely downward compatible to 8. Also, the FreeBSD-10 kernel can run a FreeBSD-9 userspace without any modifications (I'm running a 9-jail on a GENERIC 10 host over here).