Module Name: src Committed By: mrg Date: Mon Sep 7 00:18:26 UTC 2020
Modified Files: src/external/apache2/llvm/lib/libLLVMAnalysis: Makefile src/external/apache2/llvm/lib/libLLVMInstCombine: Makefile src/external/apache2/llvm/lib/libLLVMInstrumentation: Makefile src/external/apache2/llvm/lib/libLLVMTransformsCFGuard: Makefile src/external/apache2/llvm/librt: Makefile.inc src/external/apache2/llvm/librt/libLLVMAnalysis: Makefile src/external/apache2/llvm/librt/libLLVMRuntimeDyld: Makefile Log Message: apply some GCC 9 -Wno-error* To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 \ src/external/apache2/llvm/lib/libLLVMAnalysis/Makefile cvs rdiff -u -r1.1 -r1.2 \ src/external/apache2/llvm/lib/libLLVMInstCombine/Makefile cvs rdiff -u -r1.1 -r1.2 \ src/external/apache2/llvm/lib/libLLVMInstrumentation/Makefile cvs rdiff -u -r1.1 -r1.2 \ src/external/apache2/llvm/lib/libLLVMTransformsCFGuard/Makefile cvs rdiff -u -r1.1 -r1.2 src/external/apache2/llvm/librt/Makefile.inc cvs rdiff -u -r1.1 -r1.2 \ src/external/apache2/llvm/librt/libLLVMAnalysis/Makefile cvs rdiff -u -r1.1 -r1.2 \ src/external/apache2/llvm/librt/libLLVMRuntimeDyld/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/apache2/llvm/lib/libLLVMAnalysis/Makefile diff -u src/external/apache2/llvm/lib/libLLVMAnalysis/Makefile:1.1 src/external/apache2/llvm/lib/libLLVMAnalysis/Makefile:1.2 --- src/external/apache2/llvm/lib/libLLVMAnalysis/Makefile:1.1 Mon Nov 11 22:45:04 2019 +++ src/external/apache2/llvm/lib/libLLVMAnalysis/Makefile Mon Sep 7 00:18:25 2020 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2019/11/11 22:45:04 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2020/09/07 00:18:25 mrg Exp $ LIB= LLVMAnalysis @@ -111,3 +111,5 @@ SRCS+= AliasAnalysis.cpp \ .else .include <bsd.lib.mk> .endif + +CWARNFLAGS.gcc+= ${GCC_NO_STRINGOP_OVERFLOW} Index: src/external/apache2/llvm/lib/libLLVMInstCombine/Makefile diff -u src/external/apache2/llvm/lib/libLLVMInstCombine/Makefile:1.1 src/external/apache2/llvm/lib/libLLVMInstCombine/Makefile:1.2 --- src/external/apache2/llvm/lib/libLLVMInstCombine/Makefile:1.1 Mon Nov 11 22:45:07 2019 +++ src/external/apache2/llvm/lib/libLLVMInstCombine/Makefile Mon Sep 7 00:18:25 2020 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2019/11/11 22:45:07 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2020/09/07 00:18:25 mrg Exp $ LIB= LLVMInstCombine @@ -32,3 +32,5 @@ SRCS+= InstCombineAddSub.cpp \ .else .include <bsd.lib.mk> .endif + +CWARNFLAGS.gcc+= ${GCC_NO_ADDR_OF_PACKED_MEMBER} Index: src/external/apache2/llvm/lib/libLLVMInstrumentation/Makefile diff -u src/external/apache2/llvm/lib/libLLVMInstrumentation/Makefile:1.1 src/external/apache2/llvm/lib/libLLVMInstrumentation/Makefile:1.2 --- src/external/apache2/llvm/lib/libLLVMInstrumentation/Makefile:1.1 Mon Nov 11 22:45:07 2019 +++ src/external/apache2/llvm/lib/libLLVMInstrumentation/Makefile Mon Sep 7 00:18:25 2020 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2019/11/11 22:45:07 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2020/09/07 00:18:25 mrg Exp $ LIB= LLVMInstrumentation @@ -30,3 +30,5 @@ SRCS+= AddressSanitizer.cpp \ .else .include <bsd.lib.mk> .endif + +CWARNFLAGS.gcc+= ${GCC_NO_ADDR_OF_PACKED_MEMBER} Index: src/external/apache2/llvm/lib/libLLVMTransformsCFGuard/Makefile diff -u src/external/apache2/llvm/lib/libLLVMTransformsCFGuard/Makefile:1.1 src/external/apache2/llvm/lib/libLLVMTransformsCFGuard/Makefile:1.2 --- src/external/apache2/llvm/lib/libLLVMTransformsCFGuard/Makefile:1.1 Mon Nov 11 22:45:13 2019 +++ src/external/apache2/llvm/lib/libLLVMTransformsCFGuard/Makefile Mon Sep 7 00:18:25 2020 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2019/11/11 22:45:13 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2020/09/07 00:18:25 mrg Exp $ LIB= LLVMTransformsCFGuard @@ -13,3 +13,5 @@ SRCS+= CFGuard.cpp .else .include <bsd.lib.mk> .endif + +CWARNFLAGS.gcc+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 9:? -Wno-error=init-list-lifetime :} Index: src/external/apache2/llvm/librt/Makefile.inc diff -u src/external/apache2/llvm/librt/Makefile.inc:1.1 src/external/apache2/llvm/librt/Makefile.inc:1.2 --- src/external/apache2/llvm/librt/Makefile.inc:1.1 Mon Nov 11 22:45:18 2019 +++ src/external/apache2/llvm/librt/Makefile.inc Mon Sep 7 00:18:26 2020 @@ -1,7 +1,9 @@ -# $NetBSD: Makefile.inc,v 1.1 2019/11/11 22:45:18 joerg Exp $ +# $NetBSD: Makefile.inc,v 1.2 2020/09/07 00:18:26 mrg Exp $ LLVM_TOPLEVEL:= ${.PARSEDIR}/.. NOSTATICLIB= yes .include "${LLVM_TOPLEVEL}/lib/Makefile.inc" .include "${LLVM_TOPLEVEL}/lib/${.CURDIR:T}/Makefile" + +CWARNFLAGS.gcc+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 9:? -Wno-error=init-list-lifetime :} Index: src/external/apache2/llvm/librt/libLLVMAnalysis/Makefile diff -u src/external/apache2/llvm/librt/libLLVMAnalysis/Makefile:1.1 src/external/apache2/llvm/librt/libLLVMAnalysis/Makefile:1.2 --- src/external/apache2/llvm/librt/libLLVMAnalysis/Makefile:1.1 Mon Nov 11 22:45:20 2019 +++ src/external/apache2/llvm/librt/libLLVMAnalysis/Makefile Mon Sep 7 00:18:26 2020 @@ -1,3 +1,5 @@ -# $NetBSD: Makefile,v 1.1 2019/11/11 22:45:20 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2020/09/07 00:18:26 mrg Exp $ .include <bsd.init.mk> + +#CWARNFLAGS.gcc+= ${${ACTIVE_CC} == "gcc" && ${HAVE_GCC:U0} >= 9:? -Wno-error=init-list-lifetime :} Index: src/external/apache2/llvm/librt/libLLVMRuntimeDyld/Makefile diff -u src/external/apache2/llvm/librt/libLLVMRuntimeDyld/Makefile:1.1 src/external/apache2/llvm/librt/libLLVMRuntimeDyld/Makefile:1.2 --- src/external/apache2/llvm/librt/libLLVMRuntimeDyld/Makefile:1.1 Mon Nov 11 22:45:23 2019 +++ src/external/apache2/llvm/librt/libLLVMRuntimeDyld/Makefile Mon Sep 7 00:18:26 2020 @@ -1,3 +1,5 @@ -# $NetBSD: Makefile,v 1.1 2019/11/11 22:45:23 joerg Exp $ +# $NetBSD: Makefile,v 1.2 2020/09/07 00:18:26 mrg Exp $ .include <bsd.init.mk> + +CWARNFLAGS.gcc+= ${GCC_NO_STRINGOP_OVERFLOW}