From owner-freebsd-current@freebsd.org Fri Aug 16 05:57:24 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 B1E1EC10B3 for ; Fri, 16 Aug 2019 05:57:24 +0000 (UTC) (envelope-from nonameless@ukr.net) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 468szS2M5Tz3L6P for ; Fri, 16 Aug 2019 05:57:24 +0000 (UTC) (envelope-from nonameless@ukr.net) Received: by mailman.nyi.freebsd.org (Postfix) id 50CE4C10AE; Fri, 16 Aug 2019 05:57:24 +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 5092BC10AD for ; Fri, 16 Aug 2019 05:57:24 +0000 (UTC) (envelope-from nonameless@ukr.net) Received: from frv199.fwdcdn.com (frv199.fwdcdn.com [212.42.77.199]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "*.ukr.net", Issuer "Thawte RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 468szR1vB9z3L6N for ; Fri, 16 Aug 2019 05:57:22 +0000 (UTC) (envelope-from nonameless@ukr.net) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=ffe; h=Content-Type:MIME-Version:Message-Id:References:In-Reply-To:Cc:To: Subject:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=YcG1mcZX4IKBoSiIHERaxDI0MSvPmwDW7vDWfogb+jw=; b=al7BqQ3nHwXjeCsJuFo13Me13f Qfai6JVgS8qNj6H8mlI+PDjCp2IcCRkem9n/mES1sbIQmdZ2LCtOY82ysIOt9tWvqyJofQTdzyXIc P6xhqWAGmQHMNTZ00s6RqfqmR0pFmmMQP334UT9VxJ80fe59eFDlG47IJXd9YimFWVuM=; Received: from [10.10.10.52] (helo=frv52.fwdcdn.com) by frv199.fwdcdn.com with smtp ID 1hyVEf-000M4H-Ju for current@freebsd.org; Fri, 16 Aug 2019 08:57:13 +0300 Date: Fri, 16 Aug 2019 08:57:13 +0300 From: nonameless@ukr.net Subject: Re: Stop installing /usr/bin/clang To: Konstantin Belousov Cc: current@freebsd.org Received: from nonameless@ukr.net by frv52.fwdcdn.com; Fri, 16 Aug 2019 08:57:13 +0300 In-Reply-To: <20190815164815.GK2738@kib.kiev.ua> References: <20190815164815.GK2738@kib.kiev.ua> X-Reply-Action: reply Message-Id: <1565934978.346522000.fx5o0ase@frv52.fwdcdn.com> X-Mailer: mail.ukr.net 5.0 MIME-Version: 1.0 X-Rspamd-Queue-Id: 468szR1vB9z3L6N X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ukr.net header.s=ffe header.b=al7BqQ3n; dmarc=pass (policy=none) header.from=ukr.net; spf=pass (mx1.freebsd.org: domain of nonameless@ukr.net designates 212.42.77.199 as permitted sender) smtp.mailfrom=nonameless@ukr.net X-Spamd-Result: default: False [-4.89 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[ukr.net:s=ffe]; IP_SCORE(0.00)[ipnet: 212.42.77.0/24(-4.66), asn: 8856(-3.80), country: UA(0.08)]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[ukr.net]; R_SPF_ALLOW(-0.20)[+ip4:212.42.77.0/24]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; IP_SCORE_FREEMAIL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; DWL_DNSWL_LOW(-1.00)[ukr.net.dwl.dnswl.org : 127.0.5.1]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[ukr.net:+]; RCPT_COUNT_TWO(0.00)[2]; FROM_NO_DN(0.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.985,0]; MIME_BASE64_TEXT(0.10)[]; FREEMAIL_TO(0.00)[gmail.com]; DMARC_POLICY_ALLOW(-0.50)[ukr.net,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[ukr.net]; ASN(0.00)[asn:8856, ipnet:212.42.77.0/24, country:UA]; RCVD_TLS_LAST(0.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: binary X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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 05:57:24 -0000 I see the same thing with base /usr/bin/ld and /usr/local/bin/ld from binutils. --- 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"