aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-03-02 20:49:40 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-03-02 20:49:40 +0000
commited085b68ab8119b58123fd0b221d3e1f05ed0622 (patch)
treebcec35dce7c207eb9f4cc774387f40578330f086 /sys
parentbc4536df9db757133707003f212184d7f7ac62c4 (diff)
parente1bb2a8264d7b996f48751eeed383c7bef1d8b91 (diff)
downloadsrc-ed085b68ab8119b58123fd0b221d3e1f05ed0622.tar.gz
src-ed085b68ab8119b58123fd0b221d3e1f05ed0622.zip
Upgrade our copies of clang, llvm, lld, lldb, compiler-rt and libc++ to
4.0.0 (branches/release_40 296509). The release will follow soon. Please note that from 3.5.0 onwards, clang, llvm and lldb require C++11 support to build; see UPDATING for more information. Also note that as of 4.0.0, lld should be able to link the base system on amd64 and aarch64. See the WITH_LLD_IS_LLD setting in src.conf(5). Though please be aware that this is work in progress. Release notes for llvm, clang and lld will be available here: <http://releases.llvm.org/4.0.0/docs/ReleaseNotes.html> <http://releases.llvm.org/4.0.0/tools/clang/docs/ReleaseNotes.html> <http://releases.llvm.org/4.0.0/tools/lld/docs/ReleaseNotes.html> Thanks to Ed Maste, Jan Beich, Antoine Brodin and Eric Fiselier for their help. Relnotes: yes Exp-run: antoine PR: 215969, 216008 MFC after: 1 month
Notes
Notes: svn path=/head/; revision=314564
Diffstat (limited to 'sys')
-rw-r--r--sys/conf/kern.mk3
-rw-r--r--sys/sys/param.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk
index f5b7801c83f1..786e03b1c7b4 100644
--- a/sys/conf/kern.mk
+++ b/sys/conf/kern.mk
@@ -33,6 +33,9 @@ CWARNEXTRA?= -Wno-error-tautological-compare -Wno-error-empty-body \
.if ${COMPILER_VERSION} >= 30700
CWARNEXTRA+= -Wno-error-shift-negative-value
.endif
+.if ${COMPILER_VERSION} >= 40000
+CWARNEXTRA+= -Wno-error-address-of-packed-member
+.endif
CLANG_NO_IAS= -no-integrated-as
.if ${COMPILER_VERSION} < 30500
diff --git a/sys/sys/param.h b/sys/sys/param.h
index 031c006b27c5..00eda63d9457 100644
--- a/sys/sys/param.h
+++ b/sys/sys/param.h
@@ -58,7 +58,7 @@
* in the range 5 to 9.
*/
#undef __FreeBSD_version
-#define __FreeBSD_version 1200022 /* Master, propagated to newvers */
+#define __FreeBSD_version 1200023 /* Master, propagated to newvers */
/*
* __FreeBSD_kernel__ indicates that this system uses the kernel of FreeBSD,