From owner-freebsd-questions@freebsd.org Thu Feb 15 05:55:10 2018 Return-Path: Delivered-To: freebsd-questions@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 9FBF9F23B5D for ; Thu, 15 Feb 2018 05:55:10 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by mx1.freebsd.org (Postfix) with ESMTP id C625884009 for ; Thu, 15 Feb 2018 05:55:09 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from unknown (HELO leader.local) ([118.211.9.187]) by ipmail07.adl2.internode.on.net with ESMTP; 15 Feb 2018 16:25:03 +1030 Subject: Re: any problem going from 9.x (don't laugh) to 11 directly? To: "Randal L. Schwartz" , John Levine Cc: freebsd-questions@freebsd.org References: <20180215011907.6620E1B2DE28@ary.qy> <868tbvhwix.fsf@red.stonehenge.com> From: Shane Ambler Message-ID: <7795e899-160e-f6af-c02d-6fa44982f864@ShaneWare.Biz> Date: Thu, 15 Feb 2018 16:24:59 +1030 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <868tbvhwix.fsf@red.stonehenge.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-AU Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Feb 2018 05:55:10 -0000 On 15/02/2018 11:57, Randal L. Schwartz wrote: >>>>>> "John" == John Levine writes: > > John> In article <86lgfvi20e.fsf@red.stonehenge.com> you write: >>> I'm on 9.3, and intended to use freebsd-update. > > John> In that case I'd go to 10.4, poke at that long enough to make sure > John> things work, then go to 11.1. > > Some of the ports I use are no longer building under 10.4... haven't > researched the details, but I wonder if they just weren't being > supported any more except under 11. > Know that 10.4 is only supported until October so moving to 11 would be a better choice. When I upgraded from 9.3 to 10.2 many ports required rebuilding to work. By that I mean while previously ports would run on the new system while you built new versions, from 10 many failed to run. This appeared to be due to 9 using gcc and libstdc++ while 10 and 11 use clang and libc++ I have found that several recent updates to some ports are initially failing on 10.4, this seems to be from the base clang3.4 having less c++11 support than newer versions. The solution that has worked for my ports, is to use a newer clang version. clang50 is already used by quite a few ports so adding USES+=compiler:c++14-lang will enable clang50 and shouldn't add any extra building if you are building your own ports. Not sure that if that will work in make.conf so would need to be in a ports Makefile.local -- FreeBSD - the place to B...Software Developing Shane Ambler