From owner-freebsd-toolchain@FreeBSD.ORG Tue May 26 20:03:05 2015 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 22452520 for ; Tue, 26 May 2015 20:03:05 +0000 (UTC) (envelope-from daemon-user@FreeBSD.org) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 079979E2 for ; Tue, 26 May 2015 20:03:05 +0000 (UTC) (envelope-from daemon-user@FreeBSD.org) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t4QK34BC076021 for ; Tue, 26 May 2015 20:03:04 GMT (envelope-from daemon-user@phabric-backend.isc.freebsd.org) Received: (from daemon-user@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t4QK3499076020; Tue, 26 May 2015 20:03:04 GMT (envelope-from daemon-user) Date: Tue, 26 May 2015 20:03:04 +0000 To: freebsd-toolchain@freebsd.org From: "emaste (Ed Maste)" Subject: [Differential] [Accepted] D1932: Remove the non-standard CC alias for c++ Message-ID: <94478daa606245a9cecc74cd5abf278c@localhost.localdomain> X-Priority: 3 Thread-Topic: D1932: Remove the non-standard CC alias for c++ X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: NzZlYWQyYjJkNzMyMjZjMjM2MDkwMzY1NmZiIFVk0Xg= Precedence: bulk X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.20 List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2015 20:03:05 -0000 emaste accepted this revision. REPOSITORY rS FreeBSD src repository BRANCH /head REVISION DETAIL https://reviews.freebsd.org/D1932 EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: dim, theraven, emaste Cc: freebsd-toolchain From owner-freebsd-toolchain@FreeBSD.ORG Tue May 26 20:44:02 2015 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5F9CDDA1 for ; Tue, 26 May 2015 20:44:02 +0000 (UTC) (envelope-from daemon-user@FreeBSD.org) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 379FC34E for ; Tue, 26 May 2015 20:44:02 +0000 (UTC) (envelope-from daemon-user@FreeBSD.org) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t4QKi18w087233 for ; Tue, 26 May 2015 20:44:01 GMT (envelope-from daemon-user@phabric-backend.isc.freebsd.org) Received: (from daemon-user@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t4QKi1B1087232; Tue, 26 May 2015 20:44:01 GMT (envelope-from daemon-user) Date: Tue, 26 May 2015 20:44:01 +0000 To: freebsd-toolchain@freebsd.org From: "dim (Dimitry Andric)" Subject: [Differential] [Updated, 8 lines] D1932: Remove the non-standard CC alias for c++ Message-ID: <70c9d07ae84c3741aea33db20e881a88@localhost.localdomain> X-Priority: 3 Thread-Topic: D1932: Remove the non-standard CC alias for c++ X-Herald-Rules: none, <28> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: NzZlYWQyYjJkNzMyMjZjMjM2MDkwMzY1NmZiIFVk2xE= Precedence: bulk X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , , , , MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_70c9d07ae84c3741aea33db20e881a88" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.20 List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2015 20:44:02 -0000 --b1_70c9d07ae84c3741aea33db20e881a88 Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: 8bit dim updated this revision to Diff 5715. dim added a comment. This revision now requires review to proceed. Herald added a subscriber: imp. Updated for changes in ObsoleteFiles.inc. REPOSITORY rS FreeBSD src repository CHANGES SINCE LAST UPDATE https://reviews.freebsd.org/D1932?vs=3900&id=5715 BRANCH /head REVISION DETAIL https://reviews.freebsd.org/D1932 AFFECTED FILES ObsoleteFiles.inc gnu/usr.bin/cc/c++/Makefile gnu/usr.bin/cc/cc/Makefile usr.bin/clang/clang/Makefile CHANGE DETAILS diff --git a/usr.bin/clang/clang/Makefile b/usr.bin/clang/clang/Makefile --- a/usr.bin/clang/clang/Makefile +++ b/usr.bin/clang/clang/Makefile @@ -20,11 +20,9 @@ .if ${MK_CLANG_IS_CC} != "no" LINKS+= ${BINDIR}/clang ${BINDIR}/cc \ ${BINDIR}/clang ${BINDIR}/c++ \ - ${BINDIR}/clang ${BINDIR}/CC \ ${BINDIR}/clang ${BINDIR}/cpp MLINKS+= clang.1 cc.1 \ clang.1 c++.1 \ - clang.1 CC.1 \ clang.1 cpp.1 .endif diff --git a/gnu/usr.bin/cc/cc/Makefile b/gnu/usr.bin/cc/cc/Makefile --- a/gnu/usr.bin/cc/cc/Makefile +++ b/gnu/usr.bin/cc/cc/Makefile @@ -16,7 +16,7 @@ MLINKS= gcc.1 g++.1 .if ${MK_CLANG_IS_CC} == "no" LINKS= ${BINDIR}/gcc ${BINDIR}/cc -MLINKS+= gcc.1 cc.1 gcc.1 c++.1 gcc.1 CC.1 +MLINKS+= gcc.1 cc.1 gcc.1 c++.1 gcc.1 .endif .include diff --git a/gnu/usr.bin/cc/c++/Makefile b/gnu/usr.bin/cc/c++/Makefile --- a/gnu/usr.bin/cc/c++/Makefile +++ b/gnu/usr.bin/cc/c++/Makefile @@ -16,7 +16,6 @@ .if ${MK_CLANG_IS_CC} == "no" LINKS= ${BINDIR}/g++ ${BINDIR}/c++ -LINKS+= ${BINDIR}/g++ ${BINDIR}/CC .endif .include diff --git a/ObsoleteFiles.inc b/ObsoleteFiles.inc --- a/ObsoleteFiles.inc +++ b/ObsoleteFiles.inc @@ -38,6 +38,9 @@ # xargs -n1 | sort | uniq -d; # done +# 2015mmdd: Removed the non-standard CC alias for c++ +OLD_FILES+=usr/bin/CC +OLD_FILES+=usr/share/man/man1/CC.1.gz # 20150525: new clang import which bumps version from 3.6.0 to 3.6.1. OLD_FILES+=usr/lib/clang/3.6.0/include/__stddef_max_align_t.h OLD_FILES+=usr/lib/clang/3.6.0/include/__wmmintrin_aes.h EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: dim, emaste, theraven Cc: imp, freebsd-toolchain --b1_70c9d07ae84c3741aea33db20e881a88 Content-Type: text/x-patch; charset=utf-8; name="D1932.5715.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="D1932.5715.patch" ZGlmZiAtLWdpdCBhL3Vzci5iaW4vY2xhbmcvY2xhbmcvTWFrZWZpbGUgYi91c3IuYmluL2NsYW5n L2NsYW5nL01ha2VmaWxlCi0tLSBhL3Vzci5iaW4vY2xhbmcvY2xhbmcvTWFrZWZpbGUKKysrIGIv dXNyLmJpbi9jbGFuZy9jbGFuZy9NYWtlZmlsZQpAQCAtMjAsMTEgKzIwLDkgQEAKIC5pZiAke01L X0NMQU5HX0lTX0NDfSAhPSAibm8iCiBMSU5LUys9CSR7QklORElSfS9jbGFuZyAke0JJTkRJUn0v Y2MgXAogCSR7QklORElSfS9jbGFuZyAke0JJTkRJUn0vYysrIFwKLQkke0JJTkRJUn0vY2xhbmcg JHtCSU5ESVJ9L0NDIFwKIAkke0JJTkRJUn0vY2xhbmcgJHtCSU5ESVJ9L2NwcAogTUxJTktTKz0g Y2xhbmcuMSBjYy4xIFwKIAljbGFuZy4xIGMrKy4xIFwKLQljbGFuZy4xIENDLjEgXAogCWNsYW5n LjEgY3BwLjEKIC5lbmRpZgogCmRpZmYgLS1naXQgYS9nbnUvdXNyLmJpbi9jYy9jYy9NYWtlZmls ZSBiL2dudS91c3IuYmluL2NjL2NjL01ha2VmaWxlCi0tLSBhL2dudS91c3IuYmluL2NjL2NjL01h a2VmaWxlCisrKyBiL2dudS91c3IuYmluL2NjL2NjL01ha2VmaWxlCkBAIC0xNiw3ICsxNiw3IEBA CiBNTElOS1M9CWdjYy4xIGcrKy4xCiAuaWYgJHtNS19DTEFOR19JU19DQ30gPT0gIm5vIgogTElO S1M9CSR7QklORElSfS9nY2MgJHtCSU5ESVJ9L2NjCi1NTElOS1MrPSBnY2MuMSBjYy4xIGdjYy4x IGMrKy4xIGdjYy4xIENDLjEKK01MSU5LUys9IGdjYy4xIGNjLjEgZ2NjLjEgYysrLjEgZ2NjLjEK IC5lbmRpZgogCiAuaW5jbHVkZSA8YnNkLnByb2cubWs+CmRpZmYgLS1naXQgYS9nbnUvdXNyLmJp bi9jYy9jKysvTWFrZWZpbGUgYi9nbnUvdXNyLmJpbi9jYy9jKysvTWFrZWZpbGUKLS0tIGEvZ251 L3Vzci5iaW4vY2MvYysrL01ha2VmaWxlCisrKyBiL2dudS91c3IuYmluL2NjL2MrKy9NYWtlZmls ZQpAQCAtMTYsNyArMTYsNiBAQAogCiAuaWYgJHtNS19DTEFOR19JU19DQ30gPT0gIm5vIgogTElO S1M9CSR7QklORElSfS9nKysgJHtCSU5ESVJ9L2MrKwotTElOS1MrPQkke0JJTkRJUn0vZysrICR7 QklORElSfS9DQwogLmVuZGlmCiAKIC5pbmNsdWRlIDxic2QucHJvZy5taz4KZGlmZiAtLWdpdCBh L09ic29sZXRlRmlsZXMuaW5jIGIvT2Jzb2xldGVGaWxlcy5pbmMKLS0tIGEvT2Jzb2xldGVGaWxl cy5pbmMKKysrIGIvT2Jzb2xldGVGaWxlcy5pbmMKQEAgLTM4LDYgKzM4LDkgQEAKICMgICB4YXJn cyAtbjEgfCBzb3J0IHwgdW5pcSAtZDsKICMgZG9uZQogCisjIDIwMTVtbWRkOiBSZW1vdmVkIHRo ZSBub24tc3RhbmRhcmQgQ0MgYWxpYXMgZm9yIGMrKworT0xEX0ZJTEVTKz11c3IvYmluL0NDCitP TERfRklMRVMrPXVzci9zaGFyZS9tYW4vbWFuMS9DQy4xLmd6CiAjIDIwMTUwNTI1OiBuZXcgY2xh bmcgaW1wb3J0IHdoaWNoIGJ1bXBzIHZlcnNpb24gZnJvbSAzLjYuMCB0byAzLjYuMS4KIE9MRF9G SUxFUys9dXNyL2xpYi9jbGFuZy8zLjYuMC9pbmNsdWRlL19fc3RkZGVmX21heF9hbGlnbl90LmgK IE9MRF9GSUxFUys9dXNyL2xpYi9jbGFuZy8zLjYuMC9pbmNsdWRlL19fd21taW50cmluX2Flcy5o Cgo= --b1_70c9d07ae84c3741aea33db20e881a88-- From owner-freebsd-toolchain@FreeBSD.ORG Tue May 26 21:28:16 2015 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4951EA6B for ; Tue, 26 May 2015 21:28:16 +0000 (UTC) (envelope-from daemon-user@FreeBSD.org) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2A338E9A for ; Tue, 26 May 2015 21:28:16 +0000 (UTC) (envelope-from daemon-user@FreeBSD.org) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t4QLSFJj098660 for ; Tue, 26 May 2015 21:28:15 GMT (envelope-from daemon-user@phabric-backend.isc.freebsd.org) Received: (from daemon-user@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t4QLSF1H098659; Tue, 26 May 2015 21:28:15 GMT (envelope-from daemon-user) Date: Tue, 26 May 2015 21:28:15 +0000 To: freebsd-toolchain@freebsd.org From: "imp (Warner Losh)" Subject: [Differential] [Commented On] D1932: Remove the non-standard CC alias for c++ Message-ID: <5c7aeb52ab864c2bb4b293c85389fa57@localhost.localdomain> X-Priority: 3 Thread-Topic: D1932: Remove the non-standard CC alias for c++ X-Herald-Rules: none, <28> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: NzZlYWQyYjJkNzMyMjZjMjM2MDkwMzY1NmZiIFVk5W8= Precedence: bulk X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.20 List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2015 21:28:16 -0000 imp added a comment. CC has been an alias for the default C++ compiler the entire life FreeBSD has had a C++ compiler. Sure, it isn't based on any "standards" but it is a very de-facto standard that many ports rely on. FreeBSD isn't the only system to do this. Sun did this for years, as did SGI, and many other folks that had a C++ compiler based on cfront. IIRC CC was a shell script front end for cfront in at least the cfront 2.0 and 3.0 time frame. Many ISV's compilersr picked up on this de-facto standard and have been providing the link for a long time. REPOSITORY rS FreeBSD src repository REVISION DETAIL https://reviews.freebsd.org/D1932 EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: dim, emaste, theraven Cc: imp, freebsd-toolchain From owner-freebsd-toolchain@FreeBSD.ORG Tue May 26 21:30:22 2015 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0633FAC9 for ; Tue, 26 May 2015 21:30:22 +0000 (UTC) (envelope-from daemon-user@FreeBSD.org) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DD953F90 for ; Tue, 26 May 2015 21:30:21 +0000 (UTC) (envelope-from daemon-user@FreeBSD.org) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t4QLULtR099948 for ; Tue, 26 May 2015 21:30:21 GMT (envelope-from daemon-user@phabric-backend.isc.freebsd.org) Received: (from daemon-user@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t4QLULPg099947; Tue, 26 May 2015 21:30:21 GMT (envelope-from daemon-user) Date: Tue, 26 May 2015 21:30:21 +0000 To: freebsd-toolchain@freebsd.org From: "imp (Warner Losh)" Subject: [Differential] [Requested Changes To] D1932: Remove the non-standard CC alias for c++ Message-ID: <9ea12a4dff74b00337c181086cccc6c0@localhost.localdomain> X-Priority: 3 Thread-Topic: D1932: Remove the non-standard CC alias for c++ X-Herald-Rules: none, <28> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: NzZlYWQyYjJkNzMyMjZjMjM2MDkwMzY1NmZiIFVk5e0= Precedence: bulk X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , , MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.20 List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2015 21:30:22 -0000 imp requested changes to this revision. imp added a reviewer: imp. imp added a comment. This revision now requires changes to proceed. So "it is icky" likely isn't a good enough reason. Do a ports run w/o it causing any problems and prove me wrong... REPOSITORY rS FreeBSD src repository REVISION DETAIL https://reviews.freebsd.org/D1932 EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: dim, emaste, theraven, imp Cc: imp, freebsd-toolchain From owner-freebsd-toolchain@FreeBSD.ORG Tue May 26 21:33:47 2015 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2F086B3F for ; Tue, 26 May 2015 21:33:47 +0000 (UTC) (envelope-from daemon-user@FreeBSD.org) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 13066102 for ; Tue, 26 May 2015 21:33:47 +0000 (UTC) (envelope-from daemon-user@FreeBSD.org) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t4QLXkcp001364 for ; Tue, 26 May 2015 21:33:46 GMT (envelope-from daemon-user@phabric-backend.isc.freebsd.org) Received: (from daemon-user@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t4QLXkUV001363; Tue, 26 May 2015 21:33:46 GMT (envelope-from daemon-user) Date: Tue, 26 May 2015 21:33:46 +0000 To: freebsd-toolchain@freebsd.org From: "emaste (Ed Maste)" Subject: [Differential] [Commented On] D1932: Remove the non-standard CC alias for c++ Message-ID: <00172f0d0b8bcb06f0a32a832714edfd@localhost.localdomain> X-Priority: 3 Thread-Topic: D1932: Remove the non-standard CC alias for c++ X-Herald-Rules: none, <28> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: NzZlYWQyYjJkNzMyMjZjMjM2MDkwMzY1NmZiIFVk5ro= Precedence: bulk X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.20 List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 May 2015 21:33:47 -0000 emaste added a comment. In https://reviews.freebsd.org/D1932#49686, @imp wrote: > it is a very de-facto standard that many ports rely on. Many ports will choose CC if it exists, but I'm not sure they rely on it. Autoconf and cmake builds will try a list and if they pick c++ next they'll be fine. exp-run requested in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200475 REPOSITORY rS FreeBSD src repository REVISION DETAIL https://reviews.freebsd.org/D1932 EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: dim, emaste, theraven, imp Cc: imp, freebsd-toolchain From owner-freebsd-toolchain@FreeBSD.ORG Wed May 27 08:37:20 2015 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CFBB979D for ; Wed, 27 May 2015 08:37:20 +0000 (UTC) (envelope-from daemon-user@FreeBSD.org) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 830ECED3 for ; Wed, 27 May 2015 08:37:20 +0000 (UTC) (envelope-from daemon-user@FreeBSD.org) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t4R8bJAO033200 for ; Wed, 27 May 2015 08:37:19 GMT (envelope-from daemon-user@phabric-backend.isc.freebsd.org) Received: (from daemon-user@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t4R8bJAO033199; Wed, 27 May 2015 08:37:19 GMT (envelope-from daemon-user) Date: Wed, 27 May 2015 08:37:19 +0000 To: freebsd-toolchain@freebsd.org From: "kib (Konstantin Belousov)" Subject: [Differential] [Commented On] D1932: Remove the non-standard CC alias for c++ Message-ID: <62e25b65c3a555fbf94412ba3d2585bb@localhost.localdomain> X-Priority: 3 Thread-Topic: D1932: Remove the non-standard CC alias for c++ X-Herald-Rules: none, <28> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: NzZlYWQyYjJkNzMyMjZjMjM2MDkwMzY1NmZiIFVlgj8= Precedence: bulk X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.20 List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2015 08:37:20 -0000 kib added a subscriber: kib. kib added a comment. On what standard the name of the C++ compiler is based, at all ? What are supposed benefits of the change ? I believe I already noted elsewhere to dim that the CC is long-time established name. Not all software built on FreeBSD live in the ports framework. Loosing zero-cost convenience feature is not very smart. REPOSITORY rS FreeBSD src repository REVISION DETAIL https://reviews.freebsd.org/D1932 EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: dim, emaste, theraven, imp Cc: kib, imp, freebsd-toolchain From owner-freebsd-toolchain@FreeBSD.ORG Wed May 27 11:03:28 2015 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1C31B63D for ; Wed, 27 May 2015 11:03:28 +0000 (UTC) (envelope-from daemon-user@FreeBSD.org) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C6DA2A41 for ; Wed, 27 May 2015 11:03:27 +0000 (UTC) (envelope-from daemon-user@FreeBSD.org) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t4RB3QkE074548 for ; Wed, 27 May 2015 11:03:26 GMT (envelope-from daemon-user@phabric-backend.isc.freebsd.org) Received: (from daemon-user@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t4RB3Qc9074547; Wed, 27 May 2015 11:03:26 GMT (envelope-from daemon-user) Date: Wed, 27 May 2015 11:03:26 +0000 To: freebsd-toolchain@freebsd.org From: "theraven (David Chisnall)" Subject: [Differential] [Commented On] D1932: Remove the non-standard CC alias for c++ Message-ID: <7677f2b13908cac5b68215bdddafcb02@localhost.localdomain> X-Priority: 3 Thread-Topic: D1932: Remove the non-standard CC alias for c++ X-Herald-Rules: none, <28> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: NzZlYWQyYjJkNzMyMjZjMjM2MDkwMzY1NmZiIFVlpH4= Precedence: bulk X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.20 List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2015 11:03:28 -0000 theraven added a comment. It is problematic for the compiler to differentiate between being invoked as CC and as cc (clang and gcc both have to work on case-insensitive filesystems). The convention to have CC as an alias for c++ comes from some SysV platforms (though not from Linux, which does not install the CC alias). On OS X, cc and CC are the same file, as the filesystem is case preserving but not case sensitive. As a result of this, we have been carrying around patches to clang to make it detect that it is being invoked as CC for a while, to avoid breaking every single cmake-built C++ program (a few hundred ports) that defaults to CC as the C++ compiler (for Solaris/IRIX compatibility), but will happily fall back to using c++ instead. Aside from the cost of maintaining this patch, this also adds a place where the obj dir / install sysroot must be on a case-sensitive filesystem, which harms attempts to make FreeBSD cross-buildable from OS X / Windows (we are careful to avoid this requirement for the src tree and have an svn hook to prevent it). The CC alias does not work on Linux or OS X, so the likelihood of this breaking third-party code is minimal and the pain that it has already caused is nontrivial. REPOSITORY rS FreeBSD src repository REVISION DETAIL https://reviews.freebsd.org/D1932 EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: dim, emaste, theraven, imp Cc: kib, imp, freebsd-toolchain From owner-freebsd-toolchain@FreeBSD.ORG Wed May 27 13:50:32 2015 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 417B6C9 for ; Wed, 27 May 2015 13:50:32 +0000 (UTC) (envelope-from daemon-user@FreeBSD.org) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 22B4D941 for ; Wed, 27 May 2015 13:50:32 +0000 (UTC) (envelope-from daemon-user@FreeBSD.org) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t4RDoVew052914 for ; Wed, 27 May 2015 13:50:31 GMT (envelope-from daemon-user@phabric-backend.isc.freebsd.org) Received: (from daemon-user@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t4RDoVuH052913; Wed, 27 May 2015 13:50:31 GMT (envelope-from daemon-user) Date: Wed, 27 May 2015 13:50:31 +0000 To: freebsd-toolchain@freebsd.org From: "bdrewery (Bryan Drewery)" Subject: [Differential] [Accepted] D1932: Remove the non-standard CC alias for c++ Message-ID: X-Priority: 3 Thread-Topic: D1932: Remove the non-standard CC alias for c++ X-Herald-Rules: none, <28> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: NzZlYWQyYjJkNzMyMjZjMjM2MDkwMzY1NmZiIFVly6c= Precedence: bulk X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , , , MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.20 List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2015 13:50:32 -0000 bdrewery added a subscriber: bdrewery. bdrewery accepted this revision. bdrewery added a reviewer: bdrewery. bdrewery added a comment. +1 'CC' is easily confused with '${CC}' and is difficult to even discuss. So much of the development ecosystem tells people to use 'gcc' or 'g++' anyhow, removing 'CC' is unlikely to cause any issues today. REPOSITORY rS FreeBSD src repository REVISION DETAIL https://reviews.freebsd.org/D1932 EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: dim, emaste, theraven, imp, bdrewery Cc: bdrewery, kib, imp, freebsd-toolchain From owner-freebsd-toolchain@FreeBSD.ORG Fri May 29 22:11:55 2015 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BC1862A4 for ; Fri, 29 May 2015 22:11:55 +0000 (UTC) (envelope-from daemon-user@FreeBSD.org) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8D4E41583 for ; Fri, 29 May 2015 22:11:55 +0000 (UTC) (envelope-from daemon-user@FreeBSD.org) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t4TLtXal066080 for ; Fri, 29 May 2015 21:55:33 GMT (envelope-from daemon-user@phabric-backend.isc.freebsd.org) Received: (from daemon-user@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t4TLtX72066079; Fri, 29 May 2015 21:55:33 GMT (envelope-from daemon-user) Date: Fri, 29 May 2015 21:55:33 +0000 To: freebsd-toolchain@freebsd.org From: "dim (Dimitry Andric)" Subject: [Differential] [Commented On] D1932: Remove the non-standard CC alias for c++ Message-ID: X-Priority: 3 Thread-Topic: D1932: Remove the non-standard CC alias for c++ X-Herald-Rules: none, <28> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: NzZlYWQyYjJkNzMyMjZjMjM2MDkwMzY1NmZiIFVo4FU= Precedence: bulk X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.20 List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 May 2015 22:11:55 -0000 dim added a comment. An exp-run was requested in bug 200477 . Out of ~25000 ports, only 5 failed, and those have been trivially fixed. The ports tree no longer requires CC to exist. REPOSITORY rS FreeBSD src repository REVISION DETAIL https://reviews.freebsd.org/D1932 EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: dim, emaste, theraven, imp, bdrewery Cc: bdrewery, kib, imp, freebsd-toolchain