From owner-freebsd-stable@FreeBSD.ORG Tue Jul 3 12:23:29 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 D6D5E106566B for ; Tue, 3 Jul 2012 12:23:28 +0000 (UTC) (envelope-from olivier@gid0.org) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5B4118FC15 for ; Tue, 3 Jul 2012 12:23:28 +0000 (UTC) Received: by lbon10 with SMTP id n10so11186461lbo.13 for ; Tue, 03 Jul 2012 05:23:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=6Bmv/VAmRwdSAuXl+8zK0NThc3dY7ap/8DWxOwl9pYM=; b=RXQrfA6nGBqoaEQYyJwFN2OT5jR23iYen2aadrkjLHLTF92OECFJbFX/8Row07UvIA hAtlWc2wmajvgNEOUQSfANAext/r3M9Vlx9cX6KCnw8wx0yY1v+/kpzWsxjl8QDDCCQJ w7ZGG5X5z4SUy/r13W7p5+ibr9WSQLOPfldrrjdODu2H+DQ0bK5HisY3/BnbdTU6iAyw v+N5vBuZEeHnzR71uz30qi1cyx4J/c/P2UK+FWCW4OYZPsxuxnTBBNwxehF+ZqVHnFvT U652+Wg20M0xIzC4ITyeLWi0fW55dcF6YWtcit9IP3SRKu1GG2Ok43GDrvAb5A1VniDW UoZg== MIME-Version: 1.0 Received: by 10.152.132.233 with SMTP id ox9mr17094776lab.25.1341318207035; Tue, 03 Jul 2012 05:23:27 -0700 (PDT) Received: by 10.112.100.68 with HTTP; Tue, 3 Jul 2012 05:23:27 -0700 (PDT) Date: Tue, 3 Jul 2012 14:23:27 +0200 Message-ID: From: Olivier Smedts To: FreeBSD Stable Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQkMVbLHYqCHSpw4sbQ0ZDdQtzJ7Ah9i9862supXjeSbuCx0aStOELiN6G2sGBtaaF//znaf Cc: Subject: 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:23:29 -0000 Hello, 9-STABLE fails to build with clang and *without* "NO_WERROR=" and "WERROR=" in /etc/make.conf. It used to work not long before : FreeBSD zozo.afpicl.lan 9.0-STABLE FreeBSD 9.0-STABLE #0 r237222M: Mon Jun 18 10:18:54 CEST 2012 root@zozo.afpicl.lan:/usr/obj/usr/src/sys/CORE amd64 # svnversion 238067M # make NOCLEAN=yes NO_CLEAN=yes buildworld [...] ===> cddl/lib (obj,depend,all,install) ===> cddl/lib/drti (obj) ===> cddl/lib/libavl (obj) ===> cddl/lib/libctf (obj) ===> cddl/lib/libdtrace (obj) ===> cddl/lib/libnvpair (obj) ===> cddl/lib/libumem (obj) ===> cddl/lib/libuutil (obj) ===> cddl/lib/libzfs (obj) ===> cddl/lib/libzpool (obj) ===> cddl/lib/drti (depend) ===> cddl/lib/libavl (depend) ===> cddl/lib/libctf (depend) ===> cddl/lib/libdtrace (depend) ===> cddl/lib/libnvpair (depend) ===> cddl/lib/libumem (depend) ===> cddl/lib/libuutil (depend) ===> cddl/lib/libzfs (depend) ===> cddl/lib/libzpool (depend) ===> cddl/lib/drti (all) ===> cddl/lib/libavl (all) ===> cddl/lib/libctf (all) ===> cddl/lib/libdtrace (all) clang -O2 -pipe -march=corei7 -fomit-frame-pointer -I/usr/obj/usr/src/cddl/lib/libdtrace -I/usr/src/cddl/lib/libdtrace -I/usr/src/cddl/lib/libdtrace/../../../sys/cddl/dev/dtrace/amd64 -I/usr/src/cddl/lib/libdtrace/../../../sys/cddl/compat/opensolaris -I/usr/src/cddl/lib/libdtrace/../../../cddl/compat/opensolaris/include -I/usr/src/cddl/lib/libdtrace/../../../cddl/contrib/opensolaris/head -I/usr/src/cddl/lib/libdtrace/../../../cddl/contrib/opensolaris/lib/libctf/common -I/usr/src/cddl/lib/libdtrace/../../../cddl/contrib/opensolaris/lib/libdtrace/common -I/usr/src/cddl/lib/libdtrace/../../../sys/cddl/contrib/opensolaris/uts/common -I/usr/src/cddl/lib/libdtrace/../../../sys/cddl/contrib/opensolaris/uts/intel -DDIS_MEM -DNEED_SOLARIS_BOOLEAN -std=gnu89 -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum -Wno-parentheses -Wno-unknown-pragmas -c /usr/src/cddl/lib/libdtrace/../../../cddl/contrib/opensolaris/lib/libdtrace/common/dt_consume.c -o dt_consume.o /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 1 error generated. *** [dt_consume.o] Error code 1 Stop in /usr/src/cddl/lib/libdtrace. *** [all] Error code 1 I used NOCLEAN and NO_CLEAN to see the error because I was compiling with -j8 before, but yes, my /usr/obj/ was clean at the time I attempted to buildworld. 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: Bring llquantize support into Dtrace. Bryan Cantrill implemented the equivalent of semi-log graph paper for Dtrace so llquantize will use one logarithmic and one linear scale. -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier@gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas."