From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 08:41:39 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1AE5106566B; Tue, 1 Jun 2010 08:41:39 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 1F71B8FC16; Tue, 1 Jun 2010 08:41:38 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id o518cMkG045462 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 1 Jun 2010 11:38:23 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id o518c9C2080097; Tue, 1 Jun 2010 11:38:09 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id o518c9Nb080096; Tue, 1 Jun 2010 11:38:09 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 1 Jun 2010 11:38:09 +0300 From: Kostik Belousov To: Lawrence Stewart Message-ID: <20100601083809.GF83316@deviant.kiev.zoral.com.ua> References: <20100529130240.GA99732@freebsd.org> <20100530135859.GI83316@deviant.kiev.zoral.com.ua> <508DA8CE-749A-46B4-AF0B-392DB08CBBCD@samsco.org> <4C04456D.7080408@jrv.org> <4C04587E.70800@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="nQeUMoeVp7j9rzTQ" Content-Disposition: inline In-Reply-To: <4C04587E.70800@freebsd.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-2.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_50, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: Roman Divacky , "James R. Van Artsdalen" , current@freebsd.org Subject: Re: [TESTING]: ClangBSD branch needs testing before the import to HEAD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 01 Jun 2010 08:41:39 -0000 --nQeUMoeVp7j9rzTQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 01, 2010 at 10:46:54AM +1000, Lawrence Stewart wrote: > On 06/01/10 09:25, James R. Van Artsdalen wrote: > [snip interesting history] >=20 > >I do suggest modifying the FreeBSD build process so that uname -a shows > >the compiler and its version for both the kernel and userland. >=20 > Reading through this discussion, I wanted to draw attention to this=20 > footnote in James' email. It sounds like a sensible and useful=20 > suggestion that would go some way to addressing Kostik's concerns about= =20 > knowing whether a kernel bug report was related to a gcc or clang built= =20 > kernel. This is unsufficient. What could work is if clang provided some common symbol into all .o files generated by it, e.g. __clang_compiled. And then kernel considered tainted with corresponding banner printed when weak reference to that symbol is resolved to non-zero. This does not handle modules and does not cleanly handle usermode runtime (libc, libthr, rtld etc). I do not care about users busting their systems by using alternative compilers and/or mixed builds. I worry about wasting developers time chasing bugs that are not bugs in the FreeBSD system. As an example see low-visible thread about sig11 during buildworld. --nQeUMoeVp7j9rzTQ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkwExvEACgkQC3+MBN1Mb4jzLgCbBgpicmmSqKkO/tuDf9rHI4Qp NpkAoNx6X1W2AojXJUNVZn4wvzNvBflZ =Qky7 -----END PGP SIGNATURE----- --nQeUMoeVp7j9rzTQ--