From owner-freebsd-questions@freebsd.org Sun Nov 24 17:28:02 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 A22831B505D for ; Sun, 24 Nov 2019 17:28:02 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.24]) (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 47LcZ94c9xz4FWL for ; Sun, 24 Nov 2019 17:28:01 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([178.8.36.103]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPA (Nemesis) id 1MI4cT-1ie6Bi0DOp-00FE7U; Sun, 24 Nov 2019 18:27:21 +0100 Date: Sun, 24 Nov 2019 18:27:14 +0100 From: Polytropon To: Nilton Jose Rizzo Cc: "Joe A." , freebsd-questions@freebsd.org, Polytropon Subject: Re: LLVM 9 versus LLVM 8 Message-Id: <20191124182714.8ea3f8f6.freebsd@edvax.de> In-Reply-To: <0b860c6188e90d5f21e48dc6f39cd6dfbe24c335.camel@rizzo.eng.br> References: <20191119031500.GB1012@chthonixia.chthonixia.net> <20191119062705.36cc778f.freebsd@edvax.de> <20191119141914.GA2535@chthonixia.chthonixia.net> <0b860c6188e90d5f21e48dc6f39cd6dfbe24c335.camel@rizzo.eng.br> 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=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:VJk+NfIZNkQ6uGuk2GEIQtl8EYlJ7c0xEfg5+8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ZJEKbjUueMbb/jE6pDkGvcGQlaXg1hgGjnkD135cMt2C0G8/mR0NSvZuyKggNX9EYRK 8H5SqOQEpd/LpjrgsgjA== X-Rspamd-Queue-Id: 47LcZ94c9xz4FWL X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 212.227.17.24) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [4.41 / 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)[]; 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)[103.36.8.178.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.97)[0.971,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.91)[0.907,0]; RCVD_IN_DNSWL_NONE(0.00)[24.17.227.212.list.dnswl.org : 127.0.5.0]; MID_CONTAINS_FROM(1.00)[]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.13)[ip: (-0.38), ipnet: 212.227.0.0/16(-1.25), asn: 8560(2.30), 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: Sun, 24 Nov 2019 17:28:02 -0000 On Sun, 24 Nov 2019 13:03:45 -0300, Nilton Jose Rizzo wrote: > Em ter, 2019-11-19 =E0s 09:19 -0500, Joe A. escreveu: > > On Tue, Nov 19, 2019 at 06:27:05AM +0100, Polytropon wrote: > > >=20 > > > If I understand things correctly, situation is the following: > > >=20 > > > The OS compiler, ... > > >=20 > >=20 > > > >=20 > > Now I understand. Thanks! > >=20 > > Joe >=20 >=20 > It's beautiful but not productive, why all ports not setup to use the > highest version of compiler ( Clang or GCC )? It's up to the port maintainer to define which toolchain they need. In case of C and C++, there is plenty of choice, so you might end up with having 3 versions of GCC and two older versions of Clang/LLVM installed on your machine, just to get something else running. Better explanation: Some code bases explicitely require older versions of build tools because the sources won't build on the most recent version of those tools. On FreeBSD, it is possible to have different versions of a compiler or interpreter installed, so the port maintainer will define the build dependencies as he things it should work. While FreeBSD (the OS) has switched from GCC to Clang/LLVM for its own sources, 3rd party software in the ports collection do not have to make that move - they can still require an older version of GCC. This is quite typical for those ported over from Linux. For example, if you build pdftk, it will first build and install binutils and a specific version of GCC; if you then build wine, a different version of GCC will be added. And if you build and install ffmpeg with lame support, it will install several Python packages - both for 2.x and 3.x. Yes, this isn't beautiful, but sadly sufficiently productive. ;-) --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...