From owner-freebsd-ports@freebsd.org Wed Mar 6 09:09:16 2019 Return-Path: Delivered-To: freebsd-ports@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 A5F9215095D3 for ; Wed, 6 Mar 2019 09:09:16 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48FCC83E1A; Wed, 6 Mar 2019 09:09:16 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1354) id 214DA1ABDE; Wed, 6 Mar 2019 09:09:16 +0000 (UTC) From: Jan Beich To: Robert Huff Cc: Charlie Li , freebsd-ports@freebsd.org Subject: Re: [HEADS UP] Clang 8.0.0 upgrade on 13.0-CURRENT References: <23677.47024.212159.5967@jerusalem.litteratus.org> <23677.63535.186279.730742@jerusalem.litteratus.org> <40777eb4-532b-35ce-6773-635655a58e0d@vishwin.info> <23678.50511.741276.774471@jerusalem.litteratus.org> Date: Wed, 06 Mar 2019 10:09:12 +0100 In-Reply-To: <23678.50511.741276.774471@jerusalem.litteratus.org> (Robert Huff's message of "Tue, 5 Mar 2019 13:51:59 -0500") Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 48FCC83E1A X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; TAGGED_RCPT(0.00)[freebsd]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_SHORT(-0.97)[-0.965,0]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-0.999,0] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Mar 2019 09:09:16 -0000 Robert Huff writes: > Charlie Li writes: > >> The LLVM ports are still needed for those consumers that need their >> components, such as llvm-config and the like. Please refer to the aptly >> named wiki page again: >> https://wiki.freebsd.org/WhyDoIHaveToBuildLLVMWhenIAlreadyHaveClangInstalled > > This was the thing I thinking about. > >> Think of it this way: the base system toolchain is *based on* some >> released version of LLVM (or GCC) as of a particular revision of >> base/. "Based on" means that components that are not critical to >> the actual functioning of the toolchain or otherwise useful to >> FreeBSD itself are bound to be stripped away when included and >> integrated in the base system. > > That may be the path of wisdom; and I understand keeping things > working is a non-trivial job, for which I thank those who do it. > Please understand my ... frustration ... in having to deal with > the conseqences, particularly with regard to the ongoing drm changes. > To return to my original point, this is why I suggested an entry in > ports/UPDATING - to let others in my position know of possible > impact. If you want to avoid duplication don't build/install base Clang e.g., $ echo 'WITHOUT_TOOLCHAIN=1' >>/etc/src.conf $ make delete-old -C/usr/src $ pkg install llvm80 $ ln -s clang80 /usr/local/bin/cc $ ln -s clang++80 /usr/local/bin/c++ $ ln -s clang-cpp80 /usr/local/bin/cpp