From owner-freebsd-current@FreeBSD.ORG Tue Jun 1 14:20:06 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 701AC106566B; Tue, 1 Jun 2010 14:20:06 +0000 (UTC) (envelope-from james-freebsd-current@jrv.org) Received: from zimbra.jrv.org (rrcs-24-73-246-106.sw.biz.rr.com [24.73.246.106]) by mx1.freebsd.org (Postfix) with ESMTP id 35D2F8FC1E; Tue, 1 Jun 2010 14:20:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zimbra.jrv.org (Postfix) with ESMTP id 10EC216A055; Tue, 1 Jun 2010 09:20:05 -0500 (CDT) X-Virus-Scanned: amavisd-new at zimbra.housenet.jrv Received: from zimbra.jrv.org ([127.0.0.1]) by localhost (zimbra.housenet.jrv [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K4mALA7efzOL; Tue, 1 Jun 2010 09:20:04 -0500 (CDT) Received: from [10.0.2.15] (adsl-70-243-84-14.dsl.austtx.swbell.net [70.243.84.14]) by zimbra.jrv.org (Postfix) with ESMTPSA id 4E1E316A053; Tue, 1 Jun 2010 09:20:04 -0500 (CDT) Message-ID: <4C051732.3070208@jrv.org> Date: Tue, 01 Jun 2010 09:20:34 -0500 From: "James R. Van Artsdalen" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Kostik Belousov 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> <20100601083809.GF83316@deviant.kiev.zoral.com.ua> In-Reply-To: <20100601083809.GF83316@deviant.kiev.zoral.com.ua> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Lawrence Stewart , Roman Divacky , 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 14:20:06 -0000 On 6/1/2010 3:38 AM, Kostik Belousov wrote: > 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). > Would it be sufficient if send-pr were modified to test the kernel, all loaded modules, and shared objects in /lib, /usr/lib and /usr/local/lib, and to list all items that were _not_ marked with the default compiler & version?