HEADS UP: merged llvm/clang 3.4
David Wolfskill
david at catwhisker.org
Sat Mar 22 13:59:29 UTC 2014
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).
>
> 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 at g1-252.catwhisker.org:/usr/obj/usr/src/sys/CANARY i386
and after updating /usr/src to r263617, I see:
...
>>> stage 4.4: building everything
...
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.bin/vi/../../contrib/nvi -I/usr/src/usr.bin/vi/../../contrib/nvi/include -DRESCUE -std=gnu99 -Qunused-arguments -fstack-protector -Wno-pointer-sign -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-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -c /usr/src/usr.bin/vi/../../contrib/nvi/common/delete.c
clang -O2 -pipe -std=gnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -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 -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.bin/vi/../../contrib/nvi -I/usr/src/usr.bin/vi/../../contrib/nvi/include -DRESCUE -std=gnu99 -Qunused-arguments -fstack-protector -Wno-pointer-sign -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-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -c /usr/src/usr.bin/vi/../../contrib/nvi/common/exf.c
gzip -cn /usr/src/lib/libelf/elf_next.3 > elf_next.3.gz
===> sbin/devd (all)
clang++ -O2 -pipe -I. -I/usr/src/sbin/devd -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -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-extensions -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_algobase.h:72:
/usr/obj/usr/src/tmp/usr/include/c++/4.2/bits/cpp_type_traits.h:134:12: error: 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: error: keyword '__is_pointer' will be treated as an identifier for the remainder 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: error: keyword '__is_arithmetic' will be treated as an identifier for the remainder 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: error: keyword '__is_fundamental' will be treated as an identifier for the remainder 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: error: keyword '__is_scalar' will be treated as an identifier for the remainder 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: error: keyword '__is_pod' will be treated as an identifier for the remainder of 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: error: 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 definition 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=\"4.2\" -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -I/common/S1/obj/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/include -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libcpp/include -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcclibs/libdecnumber -std=gnu89 -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
...
and things don't really get better after that.
/etc/src/conf:
KERNCONF=CANARY
SENDMAIL_MC=/etc/mail/laptop.mc
PORTS_MODULES=x11/nvidia-driver
CC=clang
CXX=clang++
CPP=clang-cpp
WITH_LIBCPLUSPLUS=yes
(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+= -g
SENDMAIL_MC=/etc/mail/laptop.mc
NET_SNMP_SYS_CONTACT="david at catwhisker.org"
NET_SNMP_SYS_LOCATION="variable"
NET_SNMP_LOGFILE=/var/log/snmpd.log
NET_SNMP_PERSISTENTDIR=/var/net-snmp
WITH_BSD_JDK=TRUE
FORCE_PKG_REGISTER= NO
# For mplayer
WITHOUT_RUNTIME_CPUDETECTION= YES
OPTIONS_SET=OPTIMIZED_CFLAGS
WITHOUT_CJK= YES
NO_SUID_XSERVER=YES
# For Linux compat
OVERRIDE_LINUX_BASE_PORT=f10
OVERRIDE_LINUX_NONBASE_PORTS=f10
INSTALL_AS_NCFTP=yes
WITH_PKGNG=YES
WITH_NEW_XORG= YES
And for a list of recent "uname -vp" outputs (after build/install)
for this environment on this machine, please see
<http://www.catwhisker.org/~david/FreeBSD/histpory/laptop_i386_9.txt>.
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 r263452M/263468:902508: Fri Mar 21 05:21:10 PDT 2014 root at freebeast.catwhisker.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
<http://www.catwhisker.org/~david/FreeBSD/histpory/freebeast_i386_9.txt>.
Peace,
david
--
David H. Wolfskill david at 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 964 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20140322/75182030/attachment.sig>
More information about the freebsd-stable
mailing list