From owner-freebsd-stable@FreeBSD.ORG Tue Jul 3 12:37:27 2012 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0FDF106564A for ; Tue, 3 Jul 2012 12:37:27 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) by mx1.freebsd.org (Postfix) with ESMTP id 5A34F8FC0C for ; Tue, 3 Jul 2012 12:37:27 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:d808:b27f:4e8f:863c] (unknown [IPv6:2001:7b8:3a7:0:d808:b27f:4e8f:863c]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 979D15C5A; Tue, 3 Jul 2012 14:37:26 +0200 (CEST) Message-ID: <4FF2E786.4000000@FreeBSD.org> Date: Tue, 03 Jul 2012 14:37:26 +0200 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120619 Thunderbird/14.0 MIME-Version: 1.0 To: Olivier Smedts References: In-Reply-To: X-Enigmail-Version: 1.5a1pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Stable Subject: Re: buildworld fails with clang X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jul 2012 12:37:27 -0000 On 2012-07-03 14:23, Olivier Smedts wrote: > 9-STABLE fails to build with clang and *without* "NO_WERROR=" and > "WERROR=" in /etc/make.conf. It used to work not long before : ... > /usr/src/cddl/lib/libdtrace/../../../cddl/contrib/opensolaris/lib/libdtrace/common/dt_consume.c:799:40: > error: format specifies type 'long long' but the > argument has type 'int64_t' (aka 'long') [-Werror,-Wformat] > (void) snprintf(c, sizeof (c), ">= %lld", value); > ~~~^ ~~~~~ > %ld ... > This may be the culprit ? > > # svn log -l 1 /usr/src/cddl/contrib/opensolaris/lib/libdtrace/ > ------------------------------------------------------------------------ > r237870 | pfg | 2012-07-01 06:15:14 +0200 (dim 01 jul 2012) | 8 lignes > > MFC r237624, r237714, r237716, r237860: Yep, that is the culprit. Unfortunately I didn't quite follow the commit rush before code freeze, and this problem was introduced. I've committed a fix to head (r238071), but it may take some time to MFC to stable/9, since we've just entered code freeze. Meanwhile, you can apply this patch: http://svnweb.freebsd.org/base/head/cddl/contrib/opensolaris/lib/libdtrace/common/dt_consume.c?view=patch&r1=238071&r2=238070&pathrev=238071