From owner-freebsd-stable@FreeBSD.ORG Sat Mar 22 13:59:29 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7F2A41C2; Sat, 22 Mar 2014 13:59:29 +0000 (UTC) Received: from albert.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 381ACF56; Sat, 22 Mar 2014 13:59:28 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.8/8.14.8) with ESMTP id s2MDxQnE050285; Sat, 22 Mar 2014 06:59:26 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.8/8.14.8/Submit) id s2MDxQfW050284; Sat, 22 Mar 2014 06:59:26 -0700 (PDT) (envelope-from david) Date: Sat, 22 Mar 2014 06:59:26 -0700 From: David Wolfskill To: Dimitry Andric Subject: Re: HEADS UP: merged llvm/clang 3.4 Message-ID: <20140322135926.GJ43653@albert.catwhisker.org> Mail-Followup-To: David Wolfskill , Dimitry Andric , freebsd-stable@freebsd.org References: <0E7E81A1-54E9-4920-A360-005A1C0C4D47@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="bgQAstJ9X1Eg13Dy" Content-Disposition: inline In-Reply-To: <0E7E81A1-54E9-4920-A360-005A1C0C4D47@FreeBSD.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Mar 2014 13:59:29 -0000 --bgQAstJ9X1Eg13Dy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 21, 2014 at 07:17:22PM +0100, Dimitry Andric wrote: > ... > I have just merged llvm and clang 3.4 release to stable/10 (r263508) and > stable/9 (r263509). This already includes a number of post-3.4 fixes, > though there are a few that are still awaiting the MFC timeout (e.g. the > updated Sparc64 backend, and some things that were just fixed the day > before yesterday). >=20 > Since the most obvious problems have already been addressed in head, I > expect this to be a fairly smooth upgrade. If you run into something > strange anyway, please reply to this message (CC'ing the list). > .... I encountered an error during my regular "make buildworld" today that I suspect is related to the above. Running: FreeBSD g1-252.catwhisker.org 9.2-STABLE FreeBSD 9.2-STABLE #696 r263452M/= 263468:902508: Fri Mar 21 04:49:42 PDT 2014 root@g1-252.catwhisker.org:= /usr/obj/usr/src/sys/CANARY i386 and after updating /usr/src to r263617, I see: =2E.. >>> stage 4.4: building everything =2E.. gzip -cn /usr/src/lib/libelf/elf_memory.3 > elf_memory.3.gz clang -O2 -pipe -DGTAGS -DSYSV_CURSES -I/usr/src/usr.bin/vi -I/usr/src/usr= =2Ebin/vi/../../contrib/nvi -I/usr/src/usr.bin/vi/../../contrib/nvi/include= -DRESCUE -std=3Dgnu99 -Qunused-arguments -fstack-protector -Wno-pointer-s= ign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-ta= utological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-= function -Wno-enum-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promote= d-parameter -Wno-parentheses -c /usr/src/usr.bin/vi/../../contrib/nvi/commo= n/delete.c clang -O2 -pipe -std=3Dgnu99 -Qunused-arguments -fstack-protector -Wsyste= m-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-p= rototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-poin= ter-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -W= no-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-un= used-function -Wno-enum-conversion -o ddb ddb.o ddb_capture.o ddb_script.o= -lkvm clang -O2 -pipe -DGTAGS -DSYSV_CURSES -I/usr/src/usr.bin/vi -I/usr/src/usr= =2Ebin/vi/../../contrib/nvi -I/usr/src/usr.bin/vi/../../contrib/nvi/include= -DRESCUE -std=3Dgnu99 -Qunused-arguments -fstack-protector -Wno-pointer-s= ign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-ta= utological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-= function -Wno-enum-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promote= d-parameter -Wno-parentheses -c /usr/src/usr.bin/vi/../../contrib/nvi/commo= n/exf.c gzip -cn /usr/src/lib/libelf/elf_next.3 > elf_next.3.gz =3D=3D=3D> sbin/devd (all) clang++ -O2 -pipe -I. -I/usr/src/sbin/devd -Qunused-arguments -fstack-prote= ctor -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-paramete= r -Wpointer-arith -Wno-uninitialized -Wno-empty-body -Wno-string-plus-int -= Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-= parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-c++11-e= xtensions -c /usr/src/sbin/devd/devd.cc In file included from /usr/src/sbin/devd/devd.cc:91: In file included from /usr/obj/usr/src/tmp/usr/include/c++/4.2/algorithm:65: In file included from /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/stl_alg= obase.h:72: /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/cpp_type_traits.h:134:12: err= or: keyword '__is_void' will be treated as an identifier for the remainder = of the translation unit [-Werror,-Wkeyword-compat] struct __is_void ^ /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/cpp_type_traits.h:289:12: err= or: keyword '__is_pointer' will be treated as an identifier for the remaind= er of the translation unit [-Werror,-Wkeyword-compat] struct __is_pointer ^ /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/cpp_type_traits.h:324:12: err= or: keyword '__is_arithmetic' will be treated as an identifier for the rema= inder of the translation unit [-Werror,-Wkeyword-compat] struct __is_arithmetic ^ /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/cpp_type_traits.h:332:12: err= or: keyword '__is_fundamental' will be treated as an identifier for the rem= ainder of the translation unit [-Werror,-Wkeyword-compat] struct __is_fundamental ^ /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/cpp_type_traits.h:340:12: err= or: keyword '__is_scalar' will be treated as an identifier for the remainde= r of the translation unit [-Werror,-Wkeyword-compat] struct __is_scalar ^ /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/cpp_type_traits.h:346:12: err= or: keyword '__is_pod' will be treated as an identifier for the remainder o= f the translation unit [-Werror,-Wkeyword-compat] struct __is_pod ^ /usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/cpp_type_traits.h:359:12: err= or: keyword '__is_empty' will be treated as an identifier for the remainder= of the translation unit [-Werror,-Wkeyword-compat] struct __is_empty ^ In file included from /usr/src/usr.bin/vi/../../contrib/nvi/common/exf.c:43: In file included from /usr/src/usr.bin/vi/../../contrib/nvi/common/common.h= :82: In file included from /usr/src/usr.bin/vi/../../contrib/nvi/common/options.= h:101: /usr/src/usr.bin/vi/../../contrib/nvi/include/options_def.h:11:9: warning: = 'O_DIRECTORY' macro redefined #define O_DIRECTORY 10 ^ /usr/obj/usr/src/tmp/usr/include/sys/fcntl.h:119:9: note: previous definiti= on is here #define O_DIRECTORY 0x00020000 /* Fail if not directory */ ^ gzip -cn /usr/src/lib/libelf/elf_rawfile.3 > elf_rawfile.3.gz 1 warning generated. gzip -cn /usr/src/lib/libelf/elf_rand.3 > elf_rand.3.gz clang -O2 -pipe -DGCCVER=3D\"4.2\" -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=3D\"= /usr\" -I/common/S1/obj/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools -I/usr/sr= c/gnu/usr.bin/cc/cc_int/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_int/../../= =2E./../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gc= c/config -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/inclu= de -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libcpp/incl= ude -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libdecnumb= er -std=3Dgnu89 -Qunused-arguments -fstack-protector -c /usr/src/gnu/usr.= bin/cc/cc_int/../../../../contrib/gcc/fold-const.c -o fold-const.o 1 warning generated. 7 errors generated. *** [devd.o] Error code 1 1 error *** [all] Error code 2 1 error *** [sbin.all__D] Error code 2 =2E.. and things don't really get better after that. /etc/src/conf: KERNCONF=3DCANARY SENDMAIL_MC=3D/etc/mail/laptop.mc PORTS_MODULES=3Dx11/nvidia-driver CC=3Dclang CXX=3Dclang++ CPP=3Dclang-cpp WITH_LIBCPLUSPLUS=3Dyes (Only change in the above since 07 Mar 2013 -- ovcer a year ago -- was to comment out the PORTS_MODULES line for a while, then uncomment it after x11/nvidia-driver was fixed). I don't *think* there's much in make.conf that's relevant, but: # CFLAGS+=3D -g SENDMAIL_MC=3D/etc/mail/laptop.mc NET_SNMP_SYS_CONTACT=3D"david@catwhisker.org" NET_SNMP_SYS_LOCATION=3D"variable" NET_SNMP_LOGFILE=3D/var/log/snmpd.log NET_SNMP_PERSISTENTDIR=3D/var/net-snmp WITH_BSD_JDK=3DTRUE FORCE_PKG_REGISTER=3D NO # For mplayer WITHOUT_RUNTIME_CPUDETECTION=3D YES OPTIONS_SET=3DOPTIMIZED_CFLAGS WITHOUT_CJK=3D YES NO_SUID_XSERVER=3DYES # For Linux compat OVERRIDE_LINUX_BASE_PORT=3Df10 OVERRIDE_LINUX_NONBASE_PORTS=3Df10 INSTALL_AS_NCFTP=3Dyes WITH_PKGNG=3DYES WITH_NEW_XORG=3D YES And for a list of recent "uname -vp" outputs (after build/install) for this environment on this machine, please see . Ah -- my build machine finally(!) caught up with my laptop; also i386, running: FreeBSD freebeast.catwhisker.org 9.2-STABLE FreeBSD 9.2-STABLE #914 r26345= 2M/263468:902508: Fri Mar 21 05:21:10 PDT 2014 root@freebeast.catwhiske= r.org:/usr/obj/usr/src/sys/GENERIC i386 /usr/src also updated to r263617, and encountered the same issues as above. Its update history may be found in . Peace, david --=20 David H. Wolfskill david@catwhisker.org Taliban: Evil cowards with guns afraid of truth from a 14-year old girl. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --bgQAstJ9X1Eg13Dy Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQJ8BAEBCgBmBQJTLZc9XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RThEMDY4QTIxMjc1MDZFRDIzODYzRTc4 QTY3RjlDOERFRjQxOTNCAAoJEIpn+cje9Bk7/tkP/3TAKcu2TNKcDrSe7GxP7sDd za5yc+6VSzFwYvmbA1YDaUhkjN4GSqx/HVqf9IRVS1aKCA1hnihxNxXSqbGsF80S EENLTMf05m//8iQlav/L4hXcvL6rGoqR3Z9nxBg3VWN4uX972/LuJ/5g/WKDPNXN yJZx9CSalLD3p3E4hKl7l/4d+6S9Ipdhp9/ovGLhE/oCzkogHwSDadSLwKq3ckff Z+3gmv4CGNmkzTvvkUf0zBSzehmqGhVHCR6XypbR6lG8jKYvasveI6EGIVUAR7Vm cUUyiM0dDMiNA/ypADeP93FkfWWprdnnDfRzUGT6/wCHA+CWasSnnQO2q1G8Mg9V KeBg31xZatSSTWZ9SCeEz0h7xXPqTZxnIci/s/rO8BExuogtCL3+K98I5Dd7bQlq 4OJR6kREPUiCzaRC9ySbOjkxnTeEbojbBF/RdiCS/GRgpEyc87NumvzcgAviqP1l CLTkmF2IjA5J1ZNa9rrL0KAy2X4V9qMuUTn2bmpMadL8ZtZmFDDHor2UlRXYf82C TH0y4nFZUpCNL9ndACGFMu7NbJU+WodRLmASe8/hUPTHL5GIVuZY22ZgqqkmhNP4 xIi8tXf7bbWAwieqLNvdTMb0FVixDjD0rTgJvmA6AUQU4mpTJ+4zriUQWpGr770u 1pL9SxagA98IE6aOFhrl =SC9K -----END PGP SIGNATURE----- --bgQAstJ9X1Eg13Dy--