From owner-freebsd-questions@freebsd.org Tue Nov 19 05:27:18 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5C43817D4FE for ; Tue, 19 Nov 2019 05:27:18 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47HDpr2vPHz41sb for ; Tue, 19 Nov 2019 05:27:15 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([94.222.13.166]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPA (Nemesis) id 1MsI0I-1hhqr92tzu-00tofI; Tue, 19 Nov 2019 06:27:09 +0100 Date: Tue, 19 Nov 2019 06:27:05 +0100 From: Polytropon To: "Joe A." Cc: freebsd-questions@freebsd.org Subject: Re: LLVM 9 versus LLVM 8 Message-Id: <20191119062705.36cc778f.freebsd@edvax.de> In-Reply-To: <20191119031500.GB1012@chthonixia.chthonixia.net> References: <20191119031500.GB1012@chthonixia.chthonixia.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:7k9m5huHJ/pInNftEBUEZtFNzOj4RcJ7ihpxgR5dehBiIEfgwWu gJ+eMgGQZdht6gHiznLRV/a3OnzT6F4qcsvCzPnfF8Tb2mrLl9k9y07qx1EFGOE+H6vq6HT vOLQ334+78wbcibxGOKQKvrvJ/uWGIKyRKculg5R9VG4AGvzSBgERFR6mA0hyxosFsku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ebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.126.131) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [3.80 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[166.13.222.94.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.15)[0.149,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.74)[0.738,0]; MID_CONTAINS_FROM(1.00)[]; RCVD_IN_DNSWL_NONE(0.00)[131.126.227.212.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.52)[ip: (1.55), ipnet: 212.227.0.0/16(-1.26), asn: 8560(2.31), country: DE(-0.01)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Nov 2019 05:27:18 -0000 On Mon, 18 Nov 2019 22:15:00 -0500, Joe A. wrote: > My current machine's state: > > FreeBSD 12.0-RELEASE-p11 r354060 CHTHONIXIA amd64 > > Recently, LLVM was updated to version 9. I do not recall why; but I think > some port required version 9. Since 9 appeared to become the default > version I deinstalled 8, assuming LLVM 9 was preferred. > > But now I'm not sure if LLVM 9 was set to the default version for > Freebsd, or even if it is needed. > > Now I need to update firefox, which attempts to install LLVM 8. > > Can I dispense with LLVM 9 by a deinstall, and depend on LLVM 8 for a > functioning, X-enabled, desktop? Or must I have both LLVM 8 and 9 as > things stand now for 12.1? If I understand things correctly, situation is the following: The OS compiler, needed by the OS, primarily for updating from /usr/src, is the newer LLVM version, bundled with the install. A renewal of the OS build process might force a higher version of the compiler, for example, by obtaining its sources, building it, and then using it to build further sources ("self-hosting"). This is the compiler that will be used whenever you call "cc" without being more specific. The Firefox port defines the older LLVM version as a build dependency, required for _building_ (not _running_) the port. So it will install it whenever it's missing. The port will use the compiler that it requires (after making it available by installing it as a build dependency and then returning to its own build process). So in the end, you have one compiler in the OS (default one), and one compiler as 3rd party software. You could of couse have even more compilers, for example, more than one GCC version installed by ports that require them for building... :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...