From owner-freebsd-current@freebsd.org Fri Aug 16 09:14:44 2019 Return-Path: Delivered-To: freebsd-current@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 3512DC5DE3 for ; Fri, 16 Aug 2019 09:14:44 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 468yM76SGgz40nx for ; Fri, 16 Aug 2019 09:14:43 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: by mailman.nyi.freebsd.org (Postfix) id DD43AC5DE2; Fri, 16 Aug 2019 09:14:43 +0000 (UTC) Delivered-To: current@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 DD0C4C5DE1 for ; Fri, 16 Aug 2019 09:14:43 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 468yM65kmnz40nw for ; Fri, 16 Aug 2019 09:14:42 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id x7G9Ecx9029930; Fri, 16 Aug 2019 02:14:38 -0700 (PDT) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: (from freebsd-rwg@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id x7G9EcQd029929; Fri, 16 Aug 2019 02:14:38 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201908160914.x7G9EcQd029929@gndrsh.dnsmgr.net> Subject: Re: Stop installing /usr/bin/clang In-Reply-To: <20190816081712.GN2738@kib.kiev.ua> To: Konstantin Belousov Date: Fri, 16 Aug 2019 02:14:38 -0700 (PDT) CC: nonameless@ukr.net, current@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 468yM65kmnz40nw X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd-rwg@gndrsh.dnsmgr.net has no SPF policy when checking 69.59.192.140) smtp.mailfrom=freebsd-rwg@gndrsh.dnsmgr.net X-Spamd-Result: default: False [-0.47 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.57)[-0.568,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; IP_SCORE(0.05)[ip: (0.15), ipnet: 69.59.192.0/19(0.08), asn: 13868(0.05), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[dnsmgr.net]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-0.74)[-0.742,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.11)[-0.106,0]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13868, ipnet:69.59.192.0/19, country:US]; FREEMAIL_CC(0.00)[ukr.net]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Aug 2019 09:14:44 -0000 > On Fri, Aug 16, 2019 at 08:57:13AM +0300, nonameless@ukr.net wrote: > > I see the same thing with base?/usr/bin/ld and?/usr/local/bin/ld from binutils. > Yes but a direct ld use is very rare. When it is needed, usually the > level of hackery applied is already high enough for the user to already > know what she does. I did not see it causing issues practically, while > multiple clangs in the path cause real problems. Though I have accepted the change, I have now heard this "multiple foo in path" argument twice, could you please elaborate on it? If /usr/bin /bin are first I should get base stuff, if /usr/local/bin are first I should get local stuff, what exactly is this "real problems" your refering too? Is it that something is flipping paths around? If so that should be fixed! People have been using path to pick which overload order they prefer for decades, and if we have some how broken this.. well that should get fixed asap, not removing stuff out of base because something is broken by incorrect path manipulations. Regards, Rod > > --- Original message --- > > From: "Konstantin?Belousov"? > > Date: 15?August?2019,?19:48:37 > > > > Please look at https://reviews.freebsd.org/D21060 > > I propose to stop installing /usr/bin/clang, clang++, clang-cpp. > > > > It probably does not matter when all your software comes from ports or > > packages, but is actually very annoying when developing on FreeBSD. > > In particular, you never know which `clang' is called in the user > > environment, because it depends on the $PATH elements ordering. > > > > To clear some confusion: this has nothing to do with not installing > > compiler from base, /usr/bin/c{c,++,pp} are still there after the change > > is applied. It only to make clang on par with gcc, and to remove one > > thing that was quite time-consuming in multi-target environment for me > > during porting something large in FreeBSD userspace. > > _______________________________________________ > > freebsd-current@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-current > > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > -- Rod Grimes rgrimes@freebsd.org