Date: Tue, 12 May 2020 23:40:46 -0500 From: "Brandon Bergren" <freebsd@bdragon.rtk0.net> To: "Ravi Pokala" <rpokala@freebsd.org>, "Eric van Gyzen" <vangyzen@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: =?UTF-8?Q?Re:_svn_commit:_r360964_-_in_head:_lib/libclang=5Frt_lib/libth?= =?UTF-8?Q?r_lib/msun_libexec/rtld-elf_libexec/tftpd/tests_share/mk_stan?= =?UTF-8?Q?d_stand/arm/uboot_stand/efi_stand/efi/boot1_stand/efi/loader_?= =?UTF-8?Q?stand/i386/boot2_st...?= Message-ID: <f212dfd6-c034-43a1-ba10-951f5bd5121b@www.fastmail.com> In-Reply-To: <B7A8940D-9823-43A7-AC98-85ACD883AC44@panasas.com> References: <202005121522.04CFMfuo007680@repo.freebsd.org> <B7A8940D-9823-43A7-AC98-85ACD883AC44@panasas.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Why is this marked for MFC? FreeBSD 12 uses base GCC 4.2.1 on some platf= orms. On Tue, May 12, 2020, at 1:34 PM, Ravi Pokala wrote: > This feels like it deserves an UPDATING (and possibly a RELNOTES) entr= y. >=20 > -Ravi (rpokala@) >=20 > =EF=BB=BF-----Original Message----- > From: <owner-src-committers@freebsd.org> on behalf of Eric van Gyzen=20= > <vangyzen@FreeBSD.org> > Date: 2020-05-12, Tuesday at 08:22 > To: <src-committers@freebsd.org>, <svn-src-all@freebsd.org>,=20 > <svn-src-head@freebsd.org> > Subject: svn commit: r360964 - in head: lib/libclang_rt lib/libthr=20 > lib/msun libexec/rtld-elf libexec/tftpd/tests share/mk stand=20 > stand/arm/uboot stand/efi stand/efi/boot1 stand/efi/loader=20 > stand/i386/boot2 st... >=20 > Author: vangyzen > Date: Tue May 12 15:22:40 2020 > New Revision: 360964 > URL: https://svnweb.freebsd.org/changeset/base/360964 >=20 > Log: > Remove tests for obsolete compilers in the build system >=20 > Assume gcc is at least 6.4, the oldest xtoolchain in the ports t= ree. > Assume clang is at least 6, which was in 11.2-RELEASE. Drop con= ditions > for older compilers. >=20 > Reviewed by: imp (earlier version), emaste, jhb > MFC after: 2 weeks > Sponsored by: Dell EMC Isilon > Differential Revision: https://reviews.freebsd.org/D24802 >=20 > Modified: > head/lib/libclang_rt/Makefile.inc > head/lib/libthr/Makefile > head/lib/msun/Makefile > head/libexec/rtld-elf/Makefile > head/libexec/tftpd/tests/Makefile > head/share/mk/bsd.compiler.mk > head/share/mk/bsd.sys.mk > head/stand/arm/uboot/Makefile > head/stand/defs.mk > head/stand/efi/Makefile > head/stand/efi/boot1/Makefile > head/stand/efi/loader/Makefile > head/stand/i386/boot2/Makefile > head/stand/i386/isoboot/Makefile > head/stand/libsa/Makefile > head/sys/conf/Makefile.arm > head/sys/conf/Makefile.powerpc > head/sys/conf/kern.mk > head/sys/conf/kern.post.mk > head/sys/conf/kern.pre.mk > head/sys/conf/kmod.mk > head/sys/modules/Makefile > head/usr.sbin/acpi/acpidb/Makefile > head/usr.sbin/trpt/Makefile > head/usr.sbin/zic/zic/Makefile >=20 > Modified: head/lib/libclang_rt/Makefile.inc > =20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > --- head/lib/libclang_rt/Makefile.inc Tue May 12 14:47:38=20 > 2020 (r360963) > +++ head/lib/libclang_rt/Makefile.inc Tue May 12 15:22:40=20 > 2020 (r360964) > @@ -32,7 +32,7 @@ CFLAGS+=3D ${PICFLAG} > CFLAGS+=3D -fno-builtin > CFLAGS+=3D -fno-exceptions > CXXFLAGS+=3D -fno-rtti > -.if ${COMPILER_TYPE} =3D=3D clang && ${COMPILER_VERSION} >=3D 307= 00 > +.if ${COMPILER_TYPE} =3D=3D clang > CFLAGS+=3D -fno-sanitize=3Dsafe-stack > .endif > CFLAGS+=3D -fno-stack-protector >=20 > Modified: head/lib/libthr/Makefile > =20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > --- head/lib/libthr/Makefile Tue May 12 14:47:38 2020 (r360963) > +++ head/lib/libthr/Makefile Tue May 12 15:22:40 2020 (r360964) > @@ -29,10 +29,7 @@ CFLAGS+=3D-Winline >=20 > CFLAGS.thr_stack.c+=3D -Wno-cast-align > CFLAGS.rtld_malloc.c+=3D -Wno-cast-align > -.include <bsd.compiler.mk> > -.if !(${COMPILER_TYPE} =3D=3D "gcc" && ${COMPILER_VERSION} < 4030= 0) > CFLAGS.thr_symbols.c+=3D -Wno-missing-variable-declarations > -.endif >=20 > .ifndef NO_THREAD_UNWIND_STACK > CFLAGS+=3D-fexceptions >=20 > Modified: head/lib/msun/Makefile > =20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > --- head/lib/msun/Makefile Tue May 12 14:47:38 2020 (r360963) > +++ head/lib/msun/Makefile Tue May 12 15:22:40 2020 (r360964) > @@ -108,13 +108,13 @@ COMMON_SRCS+=3D catrigl.c \ > s_nextafterl.c s_nexttoward.c s_remquol.c s_rintl.c s_roundl.c \= > s_scalbnl.c s_sinl.c s_sincosl.c \ > s_tanhl.c s_tanl.c s_truncl.c w_cabsl.c > -# Work around this warning from gcc 6: > +# Work around this warning from gcc: > # lib/msun/ld80/e_powl.c:275:1: error: floating constant=20 > exceeds range of > # 'long double' [-Werror=3Doverflow] > # if( y >=3D LDBL_MAX ) > # See also:=20 > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D130067 > .include <bsd.compiler.mk> > -.if ${COMPILER_TYPE} =3D=3D "gcc" && ${COMPILER_VERSION} >=3D 600= 00 > +.if ${COMPILER_TYPE} =3D=3D "gcc" > CFLAGS.e_powl.c+=3D -Wno-error=3Doverflow > .endif > .endif >=20 > Modified: head/libexec/rtld-elf/Makefile > =20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > --- head/libexec/rtld-elf/Makefile Tue May 12 14:47:38=20 > 2020 (r360963) > +++ head/libexec/rtld-elf/Makefile Tue May 12 15:22:40=20 > 2020 (r360964) > @@ -90,8 +90,4 @@ ${PROG_FULL}: ${VERSION_MAP} > # GCC warns about redeclarations even though they have __exported= > # and are therefore not identical to the ones from the system=20 > headers. > CFLAGS+=3D -Wno-redundant-decls > -.if ${COMPILER_VERSION} < 40300 > -# Silence -Wshadow false positives in ancient GCC > -CFLAGS+=3D -Wno-shadow > -.endif > .endif >=20 > Modified: head/libexec/tftpd/tests/Makefile > =20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > --- head/libexec/tftpd/tests/Makefile Tue May 12 14:47:38=20 > 2020 (r360963) > +++ head/libexec/tftpd/tests/Makefile Tue May 12 15:22:40=20 > 2020 (r360964) > @@ -2,11 +2,8 @@ >=20 > .include <bsd.own.mk> >=20 > -# Skip on GCC 4.2, because it lacks __COUNTER__ > -.if ${COMPILER_TYPE} !=3D "gcc" || ${COMPILER_VERSION} >=3D 40300= > ATF_TESTS_C=3D functional > TEST_METADATA.functional+=3D timeout=3D15 > -.endif >=20 > LIBADD=3D util > WARNS?=3D 6 >=20 > Modified: head/share/mk/bsd.compiler.mk > =20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > --- head/share/mk/bsd.compiler.mk Tue May 12 14:47:38 2020 (r36096= 3) > +++ head/share/mk/bsd.compiler.mk Tue May 12 15:22:40 2020 (r36096= 4) > @@ -205,20 +205,12 @@ ${X_}COMPILER_FREEBSD_VERSION=3D unknown > ${X_}COMPILER_RESOURCE_DIR!=3D ${${cc}:N${CCACHE_BIN}}=20 > -print-resource-dir 2>/dev/null || echo unknown > .endif >=20 > -${X_}COMPILER_FEATURES=3D > -.if (${${X_}COMPILER_TYPE} =3D=3D "clang" && ${${X_}COMPILER_VERS= ION}=20 > >=3D 30300) || \ > - (${${X_}COMPILER_TYPE} =3D=3D "gcc" && ${${X_}COMPILER_VERSION} = >=3D=20 > 40800) > -${X_}COMPILER_FEATURES+=3D c++11 > -.endif > -.if (${${X_}COMPILER_TYPE} =3D=3D "clang" && ${${X_}COMPILER_VERS= ION}=20 > >=3D 30400) || \ > - (${${X_}COMPILER_TYPE} =3D=3D "gcc" && ${${X_}COMPILER_VERSION} = >=3D=20 > 50000) > -${X_}COMPILER_FEATURES+=3D c++14 > -.endif > -.if (${${X_}COMPILER_TYPE} =3D=3D "clang" && ${${X_}COMPILER_VERS= ION}=20 > >=3D 50000) || \ > +${X_}COMPILER_FEATURES=3D c++11 c++14 > +.if ${${X_}COMPILER_TYPE} =3D=3D "clang" || \ > (${${X_}COMPILER_TYPE} =3D=3D "gcc" && ${${X_}COMPILER_VERSION} = >=3D=20 > 70000) > ${X_}COMPILER_FEATURES+=3D c++17 > .endif > -.if ${${X_}COMPILER_TYPE} =3D=3D "clang" && ${${X_}COMPILER_VERSI= ON}=20 > >=3D 60000 > +.if ${${X_}COMPILER_TYPE} =3D=3D "clang" > ${X_}COMPILER_FEATURES+=3D retpoline > .endif >=20 >=20 > Modified: head/share/mk/bsd.sys.mk > =20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > --- head/share/mk/bsd.sys.mk Tue May 12 14:47:38 2020 (r360963) > +++ head/share/mk/bsd.sys.mk Tue May 12 15:22:40 2020 (r360964) > @@ -6,8 +6,7 @@ > # Enable various levels of compiler warning checks. These may be= > # overridden (e.g. if using a non-gcc compiler) by defining=20 > MK_WARNS=3Dno. >=20 > -# for 4.2.1 GCC: =20 > http://gcc.gnu.org/onlinedocs/gcc-4.2.1/gcc/Warning-Options.html > -# for current GCC:=20 > https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html > +# for GCC: =20 > https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html > # for clang: https://clang.llvm.org/docs/DiagnosticsReference.htm= l >=20 > .include <bsd.compiler.mk> > @@ -29,15 +28,6 @@ CFLAGS+=3D -std=3D${CSTD} > CXXFLAGS+=3D -std=3D${CXXSTD} > .endif >=20 > -# > -# Turn off -Werror for gcc 4.2.1. The compiler is on the glide=20= > path out of the > -# system, and any warnings specific to it are no longer relevant=20= > as there are > -# too many false positives. > -# > -.if ${COMPILER_VERSION} < 50000 > -NO_WERROR.gcc=3D yes > -.endif > - > # -pedantic is problematic because it also imposes namespace=20 > restrictions > #CFLAGS+=3D -pedantic > .if defined(WARNS) > @@ -81,19 +71,13 @@ CWARNFLAGS+=3D -Wno-pointer-sign > # is set to low values, these have to be disabled explicitly. > .if ${WARNS} <=3D 6 > CWARNFLAGS.clang+=3D -Wno-empty-body -Wno-string-plus-int > -.if ${COMPILER_TYPE} =3D=3D "clang" && ${COMPILER_VERSION} >=3D 3= 0400 > CWARNFLAGS.clang+=3D -Wno-unused-const-variable > -.endif > .endif # WARNS <=3D 6 > .if ${WARNS} <=3D 3 > CWARNFLAGS.clang+=3D -Wno-tautological-compare -Wno-unused-value\= > -Wno-parentheses-equality -Wno-unused-function=20 > -Wno-enum-conversion > -.if ${COMPILER_TYPE} =3D=3D "clang" && ${COMPILER_VERSION} >=3D 3= 0600 > CWARNFLAGS.clang+=3D -Wno-unused-local-typedef > -.endif > -.if ${COMPILER_TYPE} =3D=3D "clang" && ${COMPILER_VERSION} >=3D 4= 0000 > CWARNFLAGS.clang+=3D -Wno-address-of-packed-member > -.endif > .if ${COMPILER_TYPE} =3D=3D "gcc" && ${COMPILER_VERSION} >=3D 901= 00 > CWARNFLAGS.gcc+=3D -Wno-address-of-packed-member > .endif > @@ -113,7 +97,7 @@ CWARNFLAGS.clang+=3D -Wno-array-bounds > .endif # NO_WARRAY_BOUNDS > .if defined(NO_WMISLEADING_INDENTATION) && \ > ((${COMPILER_TYPE} =3D=3D "clang" && ${COMPILER_VERSION} >=3D= =20 > 100000) || \ > - (${COMPILER_TYPE} =3D=3D "gcc" && ${COMPILER_VERSION} >=3D 6= 0100)) > + ${COMPILER_TYPE} =3D=3D "gcc") > CWARNFLAGS+=3D -Wno-misleading-indentation > .endif # NO_WMISLEADING_INDENTATION > .endif # WARNS > @@ -137,8 +121,10 @@ CWARNFLAGS+=3D -Werror > CWARNFLAGS+=3D -Wno-format > .endif # NO_WFORMAT || NO_WFORMAT.${COMPILER_TYPE} >=20 > -# GCC 5.2.0 > -.if ${COMPILER_TYPE} =3D=3D "gcc" && ${COMPILER_VERSION} >=3D 502= 00 > +# GCC > +# We should clean up warnings produced with these flags. > +# They were originally added as a quick hack to enable gcc5/6. > +.if ${COMPILER_TYPE} =3D=3D "gcc" > CWARNFLAGS+=3D -Wno-error=3Daddress \ > -Wno-error=3Darray-bounds \ > -Wno-error=3Dattributes \ > @@ -150,23 +136,18 @@ CWARNFLAGS+=3D -Wno-error=3Daddress \ > -Wno-error=3Dextra \ > -Wno-error=3Dinline \ > -Wno-error=3Dlogical-not-parentheses \ > + -Wno-error=3Dnonnull-compare \ > + -Wno-error=3Dshift-negative-value \ > -Wno-error=3Dstrict-aliasing \ > + -Wno-error=3Dtautological-compare \ > -Wno-error=3Duninitialized \ > -Wno-error=3Dunused-but-set-variable \ > + -Wno-error=3Dunused-const-variable \ > -Wno-error=3Dunused-function \ > -Wno-error=3Dunused-value > -.endif >=20 > -# GCC 6.1.0 > -.if ${COMPILER_TYPE} =3D=3D "gcc" && ${COMPILER_VERSION} >=3D 601= 00 > -CWARNFLAGS+=3D -Wno-error=3Dnonnull-compare \ > - -Wno-error=3Dshift-negative-value \ > - -Wno-error=3Dtautological-compare \ > - -Wno-error=3Dunused-const-variable > -.endif > - > # GCC 7.1.0 > -.if ${COMPILER_TYPE} =3D=3D "gcc" && ${COMPILER_VERSION} >=3D 701= 00 > +.if ${COMPILER_VERSION} >=3D 70100 > CWARNFLAGS+=3D -Wno-error=3Dbool-operation \ > -Wno-error=3Ddeprecated \ > -Wno-error=3Dexpansion-to-defined \ > @@ -182,7 +163,7 @@ CWARNFLAGS+=3D -Wno-error=3Dbool-operation \ > .endif >=20 > # GCC 8.1.0 > -.if ${COMPILER_TYPE} =3D=3D "gcc" && ${COMPILER_VERSION} >=3D 801= 00 > +.if ${COMPILER_VERSION} >=3D 80100 > CWARNFLAGS+=3D -Wno-error=3Daggressive-loop-optimizations \ > -Wno-error=3Dcast-function-type \ > -Wno-error=3Dcatch-value \ > @@ -191,9 +172,10 @@ CWARNFLAGS+=3D -Wno-error=3Daggressive-loop-o= ptimizations > -Wno-error=3Dsizeof-pointer-memaccess \ > -Wno-error=3Dstringop-truncation > .endif > +.endif # gcc >=20 > # How to handle FreeBSD custom printf format specifiers. > -.if ${COMPILER_TYPE} =3D=3D "clang" && ${COMPILER_VERSION} >=3D 3= 0600 > +.if ${COMPILER_TYPE} =3D=3D "clang" > FORMAT_EXTENSIONS=3D -D__printf__=3D__freebsd_kprintf__ > .else > FORMAT_EXTENSIONS=3D -fformat-extensions > @@ -223,11 +205,7 @@ CFLAGS+=3D-nobuiltininc -idirafter ${COMPILER= _RESOURCE_D >=20 > CLANG_OPT_SMALL=3D -mstack-alignment=3D8 -mllvm -inline-threshold= =3D3\ > -mllvm -simplifycfg-dup-ret > -.if ${COMPILER_VERSION} >=3D 30500 && ${COMPILER_VERSION} < 30700= > -CLANG_OPT_SMALL+=3D -mllvm -enable-gvn=3Dfalse > -.else > CLANG_OPT_SMALL+=3D -mllvm -enable-load-pre=3Dfalse > -.endif > CFLAGS.clang+=3D -Qunused-arguments > # The libc++ headers use c++11 extensions. These are normally=20= > silenced because > # they are treated as system headers, but we explicitly disable=20= > that warning > @@ -238,14 +216,8 @@ CXXFLAGS.clang+=3D -Wno-c++11-extensions >=20 > .if ${MK_SSP} !=3D "no" && \ > ${MACHINE_CPUARCH} !=3D "arm" && ${MACHINE_CPUARCH} !=3D "mip= s" > -.if (${COMPILER_TYPE} =3D=3D "clang" && ${COMPILER_VERSION} >=3D = 30500) || \ > - (${COMPILER_TYPE} =3D=3D "gcc" && \ > - (${COMPILER_VERSION} =3D=3D 40201 || ${COMPILER_VERSION} >=3D= 40900)) > # Don't use -Wstack-protector as it breaks world with -Werror. > SSP_CFLAGS?=3D -fstack-protector-strong > -.else > -SSP_CFLAGS?=3D -fstack-protector > -.endif > CFLAGS+=3D ${SSP_CFLAGS} > .endif # SSP && !ARM && !MIPS >=20 >=20 > Modified: head/stand/arm/uboot/Makefile > =20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > --- head/stand/arm/uboot/Makefile Tue May 12 14:47:38 2020 (r36096= 3) > +++ head/stand/arm/uboot/Makefile Tue May 12 15:22:40 2020 (r36096= 4) > @@ -24,7 +24,7 @@ UBLDR_LOADADDR?=3D 0x1000000 > # Architecture-specific loader code > SRCS=3D start.S conf.c self_reloc.c vers.c >=20 > -.if ${COMPILER_TYPE} =3D=3D "gcc" && ${COMPILER_VERSION} > 40201 > +.if ${COMPILER_TYPE} =3D=3D "gcc" > CWARNFLAGS.self_reloc.c+=3D -Wno-error=3Dmaybe-uninitialized > .endif >=20 >=20 > Modified: head/stand/defs.mk > =20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > --- head/stand/defs.mk Tue May 12 14:47:38 2020 (r360963) > +++ head/stand/defs.mk Tue May 12 15:22:40 2020 (r360964) > @@ -143,11 +143,7 @@ CFLAGS+=3D -fPIC -mno-red-zone > # Do not generate movt/movw, because the relocation fixup for the= m=20 > does not > # translate to the -Bsymbolic -pie format required by self_reloc(= )=20 > in loader(8). > # Also, the fpu is not available in a standalone environment. > -.if ${COMPILER_VERSION} < 30800 > -CFLAGS.clang+=3D -mllvm -arm-use-movt=3D0 > -.else > CFLAGS.clang+=3D -mno-movt > -.endif > CFLAGS.clang+=3D -mfpu=3Dnone > CFLAGS+=3D -fPIC > .endif >=20 > Modified: head/stand/efi/Makefile > =20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > --- head/stand/efi/Makefile Tue May 12 14:47:38 2020 (r360963) > +++ head/stand/efi/Makefile Tue May 12 15:22:40 2020 (r360964) > @@ -4,16 +4,10 @@ NO_OBJ=3Dt >=20 > .include <bsd.init.mk> >=20 > -# In-tree GCC does not support __attribute__((ms_abi)), but gcc n= ewer > -# than 4.5 supports it. > -.if ${COMPILER_TYPE} !=3D "gcc" || ${COMPILER_VERSION} >=3D 40500= > - > SUBDIR.${MK_FDT}+=3D fdt > SUBDIR.yes+=3D libefi boot1 gptboot > SUBDIR.${MK_FORTH}+=3D loader_4th > SUBDIR.${MK_LOADER_LUA}+=3D loader_lua > SUBDIR.yes+=3D loader_simp > - > -.endif # ${COMPILER_TYPE} !=3D "gcc" || ${COMPILER_VERSION} >=3D = 40500 >=20 > .include <bsd.subdir.mk> >=20 > Modified: head/stand/efi/boot1/Makefile > =20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > --- head/stand/efi/boot1/Makefile Tue May 12 14:47:38 2020 (r36096= 3) > +++ head/stand/efi/boot1/Makefile Tue May 12 15:22:40 2020 (r36096= 4) > @@ -42,10 +42,6 @@=20 > CFLAGS.zfs_module.c+=3D -I${SYSDIR}/cddl/contrib/opensol > CFLAGS+=3D -DEFI_ZFS_BOOT > .endif >=20 > -.if ${COMPILER_TYPE} =3D=3D "gcc" && ${COMPILER_VERSION} > 40201 > -CWARNFLAGS.self_reloc.c+=3D -Wno-error=3Dmaybe-uninitialized > -.endif > - > CFLAGS+=3D -I${EFIINC} > CFLAGS+=3D -I${EFIINCMD} > CFLAGS+=3D -I${SYSDIR}/contrib/dev/acpica/include >=20 > Modified: head/stand/efi/loader/Makefile > =20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > --- head/stand/efi/loader/Makefile Tue May 12 14:47:38=20 > 2020 (r360963) > +++ head/stand/efi/loader/Makefile Tue May 12 15:22:40=20 > 2020 (r360964) > @@ -31,10 +31,6 @@ CFLAGS+=3D -DEFI_ZFS_BOOT > HAVE_ZFS=3D yes > .endif >=20 > -.if ${COMPILER_TYPE} =3D=3D "gcc" && ${COMPILER_VERSION} > 40201 > -CWARNFLAGS.self_reloc.c+=3D -Wno-error=3Dmaybe-uninitialized > -.endif > - > # We implement a slightly non-standard %S in that it always takes= a > # CHAR16 that's common in UEFI-land instead of a wchar_t. This on= ly > # seems to matter on arm64 where wchar_t defaults to an int inste= ad >=20 > Modified: head/stand/i386/boot2/Makefile > =20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > --- head/stand/i386/boot2/Makefile Tue May 12 14:47:38=20 > 2020 (r360963) > +++ head/stand/i386/boot2/Makefile Tue May 12 15:22:40=20 > 2020 (r360964) > @@ -37,9 +37,6 @@ CFLAGS+=3D-fomit-frame-pointer \ > CFLAGS.gcc+=3D -Os \ > -fno-asynchronous-unwind-tables \ > --param max-inline-insns-single=3D100 > -.if ${COMPILER_TYPE} =3D=3D "gcc" && ${COMPILER_VERSION} <=3D 402= 01 > -CFLAGS.gcc+=3D -mno-align-long-strings > -.endif >=20 > CFLAGS.clang+=3D -Oz ${CLANG_OPT_SMALL} >=20 >=20 > Modified: head/stand/i386/isoboot/Makefile > =20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > --- head/stand/i386/isoboot/Makefile Tue May 12 14:47:38=20 > 2020 (r360963) > +++ head/stand/i386/isoboot/Makefile Tue May 12 15:22:40=20 > 2020 (r360964) > @@ -32,9 +32,6 @@ CFLAGS+=3D-DBOOTPROG=3D\"isoboot\" \ > -Winline -Wno-pointer-sign >=20 > CFLAGS.gcc+=3D --param max-inline-insns-single=3D100 > -.if ${COMPILER_TYPE} =3D=3D "gcc" && ${COMPILER_VERSION} <=3D 402= 01 > -CFLAGS.gcc+=3D -Wno-uninitialized > -.endif > CFLAGS.clang+=3D -Oz ${CLANG_OPT_SMALL} >=20 > LD_FLAGS+=3D${LD_FLAGS_BIN} >=20 > Modified: head/stand/libsa/Makefile > =20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > --- head/stand/libsa/Makefile Tue May 12 14:47:38 2020 (r360963) > +++ head/stand/libsa/Makefile Tue May 12 15:22:40 2020 (r360964) > @@ -46,11 +46,7 @@ SRCS+=3D subr_boot.c > # Do not generate movt/movw, because the relocation fixup for the= m=20 > does not > # translate to the -Bsymbolic -pie format required by self_reloc(= )=20 > in loader(8). > # Also, the fpu is not available in a standalone environment. > -.if ${COMPILER_VERSION} < 30800 > -CFLAGS.clang+=3D -mllvm -arm-use-movt=3D0 > -.else > CFLAGS.clang+=3D -mno-movt > -.endif > CFLAGS.clang+=3D -mfpu=3Dnone >=20 > .PATH: ${SRCTOP}/contrib/llvm-project/compiler-rt/lib/builtins/ar= m/ >=20 > Modified: head/sys/conf/Makefile.arm > =20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > --- head/sys/conf/Makefile.arm Tue May 12 14:47:38 2020 (r360963) > +++ head/sys/conf/Makefile.arm Tue May 12 15:22:40 2020 (r360964) > @@ -44,10 +44,6 @@ CFLAGS.clang +=3D -mfpu=3Dnone >=20 > .if !empty(DDB_ENABLED) > CFLAGS +=3D -funwind-tables > -.if ${COMPILER_TYPE} =3D=3D "clang" && ${COMPILER_VERSION} < 3050= 0 > -# clang < 3.5.0 requires us to tell it to emit assembly with=20 > unwind information > -CFLAGS +=3D -mllvm -arm-enable-ehabi > -.endif > .endif >=20 > # "makeoptions KERNVIRTADDR=3D" is now optional, supply the defau= lt value. >=20 > Modified: head/sys/conf/Makefile.powerpc > =20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > --- head/sys/conf/Makefile.powerpc Tue May 12 14:47:38=20 > 2020 (r360963) > +++ head/sys/conf/Makefile.powerpc Tue May 12 15:22:40=20 > 2020 (r360964) > @@ -51,7 +51,7 @@ DPAAWARNFLAGS +=3D \ > -Wno-error=3Dincompatible-pointer-types-discards-qualifie= rs \ > -Wno-error=3Dnon-literal-null-conversion \ > -Wno-error=3Denum-conversion > -.elif "${COMPILER_TYPE}" =3D=3D "gcc" && ${COMPILER_VERSION} >=3D= 50200 > +.elif "${COMPILER_TYPE}" =3D=3D "gcc" > DPAAWARNFLAGS +=3D \ > -Wno-error=3Dredundant-decls \ > -Wno-error=3Dint-in-bool-context >=20 > Modified: head/sys/conf/kern.mk > =20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > --- head/sys/conf/kern.mk Tue May 12 14:47:38 2020 (r360963) > +++ head/sys/conf/kern.mk Tue May 12 15:22:40 2020 (r360964) > @@ -31,19 +31,14 @@ NO_WTAUTOLOGICAL_POINTER_COMPARE=3D=20 > -Wno-tautological-po > CWARNEXTRA?=3D -Wno-error-tautological-compare -Wno-error-empty-b= ody=20 > \ > -Wno-error-parentheses-equality -Wno-error-unused-function \ > -Wno-error-pointer-sign > -.if ${COMPILER_VERSION} >=3D 30700 > CWARNEXTRA+=3D -Wno-error-shift-negative-value > -.endif > -.if ${COMPILER_VERSION} >=3D 40000 > CWARNEXTRA+=3D -Wno-address-of-packed-member > -.endif > .if ${COMPILER_VERSION} >=3D 100000 > NO_WMISLEADING_INDENTATION=3D -Wno-misleading-indentation > .endif > -.endif > +.endif # clang >=20 > .if ${COMPILER_TYPE} =3D=3D "gcc" > -.if ${COMPILER_VERSION} >=3D 40800 > # Catch-all for all the things that are in our tree, but for whic= h=20 > we're > # not yet ready for this compiler. > NO_WUNUSED_BUT_SET_VARIABLE =3D -Wno-unused-but-set-variable > @@ -55,15 +50,13 @@ CWARNEXTRA?=3D -Wno-error=3Daddress \ > -Wno-error=3Denum-compare \ > -Wno-error=3Dinline \ > -Wno-error=3Dmaybe-uninitialized \ > + -Wno-error=3Dmisleading-indentation \ > + -Wno-error=3Dnonnull-compare \ > -Wno-error=3Doverflow \ > -Wno-error=3Dsequence-point \ > - -Wno-unused-but-set-variable > -.if ${COMPILER_VERSION} >=3D 60100 > -CWARNEXTRA+=3D -Wno-error=3Dmisleading-indentation \ > - -Wno-error=3Dnonnull-compare \ > -Wno-error=3Dshift-overflow \ > - -Wno-error=3Dtautological-compare > -.endif > + -Wno-error=3Dtautological-compare \ > + -Wno-unused-but-set-variable > .if ${COMPILER_VERSION} >=3D 70100 > CWARNEXTRA+=3D -Wno-error=3Dstringop-overflow > .endif > @@ -76,15 +69,7 @@ CWARNEXTRA+=3D -Wno-error=3Dpacked-not-aligned > .if ${COMPILER_VERSION} >=3D 90100 > CWARNEXTRA+=3D -Wno-address-of-packed-member > .endif > -.else > -# For gcc 4.2, eliminate the too-often-wrong warnings about=20 > uninitialized vars. > -CWARNEXTRA?=3D -Wno-uninitialized > -# GCC 4.2 doesn't have -Wno-error=3Dcast-qual, so just disable th= e=20 > warning for > -# the few files that are already known to generate cast-qual=20 > warnings. > -NO_WCAST_QUAL=3D -Wno-cast-qual > -NO_WNONNULL=3D -Wno-nonnull > -.endif > -.endif > +.endif # gcc >=20 > # This warning is utter nonsense > CWARNFLAGS+=3D -Wno-format-zero-length > @@ -93,7 +78,7 @@ CWARNFLAGS+=3D -Wno-format-zero-length > # to be disabled. WARNING: format checking is disabled in this c= ase. > .if ${MK_FORMAT_EXTENSIONS} =3D=3D "no" > FORMAT_EXTENSIONS=3D -Wno-format > -.elif ${COMPILER_TYPE} =3D=3D "clang" && ${COMPILER_VERSION} >=3D= 30600 > +.elif ${COMPILER_TYPE} =3D=3D "clang" > FORMAT_EXTENSIONS=3D -D__printf__=3D__freebsd_kprintf__ > .else > FORMAT_EXTENSIONS=3D -fformat-extensions > @@ -201,12 +186,7 @@ CFLAGS.gcc+=3D -mno-spe > # DDB happy. ELFv2, if available, has some other efficiency benef= its. > # > .if ${MACHINE_ARCH} =3D=3D "powerpc64" > -.if ${COMPILER_VERSION} >=3D 40900 > -CFLAGS.gcc+=3D -mabi=3Delfv2 > -.else > -CFLAGS.gcc+=3D -mcall-aixdesc > -.endif > -CFLAGS.clang+=3D -mabi=3Delfv2 > +CFLAGS+=3D -mabi=3Delfv2 > .endif >=20 > # >=20 > Modified: head/sys/conf/kern.post.mk > =20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > --- head/sys/conf/kern.post.mk Tue May 12 14:47:38 2020 (r360963) > +++ head/sys/conf/kern.post.mk Tue May 12 15:22:40 2020 (r360964) > @@ -345,10 +345,7 @@ ${__obj}: ${OBJS_DEPEND_GUESS.${__obj}} >=20 > .depend: .PRECIOUS ${SRCS} >=20 > -.if ${COMPILER_TYPE} =3D=3D "clang" || \ > - (${COMPILER_TYPE} =3D=3D "gcc" && ${COMPILER_VERSION} >=3D 60= 000) > _MAP_DEBUG_PREFIX=3D yes > -.endif >=20 > _ILINKS=3D machine > .if ${MACHINE} !=3D ${MACHINE_CPUARCH} && ${MACHINE} !=3D "arm64"= >=20 > Modified: head/sys/conf/kern.pre.mk > =20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > --- head/sys/conf/kern.pre.mk Tue May 12 14:47:38 2020 (r360963) > +++ head/sys/conf/kern.pre.mk Tue May 12 15:22:40 2020 (r360964) > @@ -93,11 +93,7 @@ CFLAGS.gcc+=3D -fms-extensions > .if defined(CFLAGS_ARCH_PARAMS) > CFLAGS.gcc+=3D${CFLAGS_ARCH_PARAMS} > .endif > -.if ${COMPILER_TYPE} =3D=3D "gcc" && ${COMPILER_VERSION} < 50000 > -WERROR?=3D -Wno-error > -.else > WERROR?=3D -Werror > -.endif > # The following should be removed no earlier than LLVM11 being=20= > imported into the > # tree, to ensure we don't regress the build. LLVM11 and GCC10=20= > will switch the > # default over to -fno-common, making this redundant. >=20 > Modified: head/sys/conf/kmod.mk > =20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > --- head/sys/conf/kmod.mk Tue May 12 14:47:38 2020 (r360963) > +++ head/sys/conf/kmod.mk Tue May 12 15:22:40 2020 (r360964) > @@ -88,11 +88,7 @@ __KLD_SHARED=3Dno > .if !empty(CFLAGS:M-O[23s]) && empty(CFLAGS:M-fno-strict-aliasing= ) > CFLAGS+=3D -fno-strict-aliasing > .endif > -.if ${COMPILER_TYPE} =3D=3D "gcc" && ${COMPILER_VERSION} < 50000 > -WERROR?=3D -Wno-error > -.else > WERROR?=3D -Werror > -.endif >=20 > LINUXKPI_GENSRCS+=3D \ > bus_if.h \ > @@ -160,11 +156,7 @@ CFLAGS+=3D -fPIC > # Temporary workaround for PR 196407, which contains the=20 > fascinating details. > # Don't allow clang to use fpu instructions or registers in kerne= l=20 > modules. > .if ${MACHINE_CPUARCH} =3D=3D arm > -.if ${COMPILER_VERSION} < 30800 > -CFLAGS.clang+=3D -mllvm -arm-use-movt=3D0 > -.else > CFLAGS.clang+=3D -mno-movt > -.endif > CFLAGS.clang+=3D -mfpu=3Dnone > CFLAGS+=3D -funwind-tables > .endif > @@ -283,10 +275,7 @@ ${FULLPROG}: ${OBJS} > ${OBJCOPY} --strip-debug ${.TARGET} > .endif >=20 > -.if ${COMPILER_TYPE} =3D=3D "clang" || \ > - (${COMPILER_TYPE} =3D=3D "gcc" && ${COMPILER_VERSION} >=3D 60= 000) > _MAP_DEBUG_PREFIX=3D yes > -.endif >=20 > _ILINKS=3Dmachine > .if ${MACHINE_CPUARCH} =3D=3D "i386" || ${MACHINE_CPUARCH} =3D=3D= "amd64" >=20 > Modified: head/sys/modules/Makefile > =20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > --- head/sys/modules/Makefile Tue May 12 14:47:38 2020 (r360963) > +++ head/sys/modules/Makefile Tue May 12 15:22:40 2020 (r360964) > @@ -620,9 +620,7 @@ _aac=3D aac > _aacraid=3D aacraid > _acpi=3D acpi > .if ${MK_CRYPT} !=3D "no" || defined(ALL_MODULES) > -.if ${COMPILER_TYPE} !=3D "gcc" || ${COMPILER_VERSION} > 40201 > _aesni=3D aesni > -.endif > .endif > _amd_ecc_inject=3Damd_ecc_inject > _amdsbwd=3D amdsbwd >=20 > Modified: head/usr.sbin/acpi/acpidb/Makefile > =20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > --- head/usr.sbin/acpi/acpidb/Makefile Tue May 12 14:47:38=20 > 2020 (r360963) > +++ head/usr.sbin/acpi/acpidb/Makefile Tue May 12 15:22:40=20 > 2020 (r360964) > @@ -87,6 +87,6 @@ LIBADD=3D pthread > # integer to pointer, which is a GNU extension. > # > # Turn off the warning, because this is in contributed code. > -.if ${COMPILER_TYPE} =3D=3D "clang" && ${COMPILER_VERSION} >=3D 6= 0000 > +.if ${COMPILER_TYPE} =3D=3D "clang" > CWARNFLAGS+=3D -Wno-null-pointer-arithmetic > .endif >=20 > Modified: head/usr.sbin/trpt/Makefile > =20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > --- head/usr.sbin/trpt/Makefile Tue May 12 14:47:38 2020 (r360963)= > +++ head/usr.sbin/trpt/Makefile Tue May 12 15:22:40 2020 (r360964)= > @@ -8,18 +8,12 @@ MAN=3D trpt.8 > BINGRP=3D kmem > BINMODE=3D 2555 >=20 > -.if ${COMPILER_TYPE} =3D=3D "gcc" && ${COMPILER_VERSION} < 50000 > -WARNS?=3D 4 > -.endif > - > .if ${MK_INET6_SUPPORT} !=3D "no" > CFLAGS+=3D -DINET6 > .endif >=20 > .include <bsd.prog.mk> >=20 > -.if ${COMPILER_TYPE} !=3D "gcc" || ${COMPILER_VERSION} >=3D 50000= > # Several included system headers tickle this warning in ways tha= t are > # difficult to work around in this program. > CFLAGS+=3D -Wno-missing-variable-declarations > -.endif >=20 > Modified: head/usr.sbin/zic/zic/Makefile > =20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D > --- head/usr.sbin/zic/zic/Makefile Tue May 12 14:47:38=20 > 2020 (r360963) > +++ head/usr.sbin/zic/zic/Makefile Tue May 12 15:22:40=20 > 2020 (r360964) > @@ -15,7 +15,7 @@ CFLAGS+=3D -I${.CURDIR:H}=20 > -I${SRCTOP}/contrib/tzcode/std >=20 > WARNS?=3D 2 >=20 > -.if ${COMPILER_TYPE} =3D=3D "gcc" && ${COMPILER_VERSION} >=3D 503= 00 > +.if ${COMPILER_TYPE} =3D=3D "gcc" > CWARNFLAGS+=3D -Wno-error=3Dstrict-overflow > .endif >=20 >=20 >=20 > --=20 Brandon Bergren Technical Generalist
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f212dfd6-c034-43a1-ba10-951f5bd5121b>
