From owner-freebsd-current@FreeBSD.ORG Fri Jan 2 00:27:49 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 865D0745; Fri, 2 Jan 2015 00:27:49 +0000 (UTC) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [IPv6:2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thebighonker.lerctr.org", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4EE2E6487C; Fri, 2 Jan 2015 00:27:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date:Content-Transfer-Encoding:Content-Type:MIME-Version; bh=CYj8zHKonFGLExqO2Yu7ymJkVV7ao4YDqGABn3CZiZ4=; b=XsYRbqZ6IpUVPpGBb4r6g5ExFVTDRA97SOFZI9Mylvvy+qT/BZGZE81M4477ZN2TmQR6/4IlBbcz+NOapeDVom92RKtKcaqcFBkegJ8zJUql7Qut0f/cUjzhGoPzmSkv4ecYgHmLmDydMbkMc7oMkS6/MkRsogK++o84A9Hvc4o=; Received: from thebighonker.lerctr.org ([2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]:58418 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpsa (TLSv1.2:DHE-RSA-AES128-GCM-SHA256:128) (Exim 4.84 (FreeBSD)) (envelope-from ) id 1Y6q5h-000Dz0-IE; Thu, 01 Jan 2015 18:27:47 -0600 Received: from 104-54-221-134.lightspeed.austtx.sbcglobal.net ([104.54.221.134]) by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Thu, 01 Jan 2015 18:27:45 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 01 Jan 2015 18:27:45 -0600 From: Larry Rosenman To: Oliver Pinter Subject: Re: HEADS UP: Upgraded clang, llvm and lldb to 3.5.0 In-Reply-To: References: <528C023D-6207-4054-917B-05D4C4E605EC@FreeBSD.org> <20150101125043.6e6e3a52.ohartman@zedat.fu-berlin.de> Message-ID: <88471a8888507a7eda6f3de036e63b27@thebighonker.lerctr.org> X-Sender: ler@lerctr.org User-Agent: Roundcube Webmail/1.0.3 X-Spam-Score: -2.9 (--) X-LERCTR-Spam-Score: -2.9 (--) X-Spam-Report: SpamScore (-2.9/5.0) ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-LERCTR-Spam-Report: SpamScore (-2.9/5.0) ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 Cc: HardenedBSD Developers , FreeBSD-Current , Dimitry Andric , owner-freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jan 2015 00:27:49 -0000 On 2015-01-01 12:44, Oliver Pinter wrote: > No difference between FreeBSD's and our dis_tables.c file, and we > added the following modification to "master" Makefile: > > op@robot hardenedBSD.git.opntr> git diff origin/master > origin/hardened/current/master -- sys/cddl/dev/dtrace/x86/dis_tables.c > op@robot hardenedBSD.git.opntr> git diff origin/master > origin/hardened/current/master -- us > usr.bin/ usr.sbin/ > op@robot hardenedBSD.git.opntr> git diff origin/master > origin/hardened/current/master -- share/mk > mk/ mklocale/ > op@robot hardenedBSD.git.opntr> git diff origin/master > origin/hardened/current/master -- share/mk > diff --git a/share/mk/Makefile b/share/mk/Makefile > index cd69ca8..7e1b51f 100644 > --- a/share/mk/Makefile > +++ b/share/mk/Makefile > @@ -13,6 +13,7 @@ FILES= \ > bsd.doc.mk \ > bsd.endian.mk \ > bsd.files.mk \ > + bsd.hardenedbsd.mk \ > bsd.incs.mk \ > bsd.info.mk \ > bsd.init.mk \ > diff --git a/share/mk/bsd.hardenedbsd.mk b/share/mk/bsd.hardenedbsd.mk > new file mode 100644 > index 0000000..9d5bcd3 > --- /dev/null > +++ b/share/mk/bsd.hardenedbsd.mk > @@ -0,0 +1,2 @@ > +CFLAGS+= -DHARDENEDBSD > +CXXFLAGS+= -DHARDENEDBSD > diff --git a/share/mk/sys.mk b/share/mk/sys.mk > index f691820..1edb4d8 100644 > --- a/share/mk/sys.mk > +++ b/share/mk/sys.mk > @@ -368,3 +368,5 @@ SHELL= ${__MAKE_SHELL} > .include > > .endif # ! Posix > + > +.include > > and our origin/master is a vanilla copy of FreeBSD's master: > > op@robot hardenedBSD.git.opntr> git fetch freebsd > remote: Counting objects: 2753, done. > remote: Compressing objects: 100% (1653/1653), done. > remote: Total 2753 (delta 1379), reused 1987 (delta 1088) > Receiving objects: 100% (2753/2753), 6.19 MiB | 556.00 KiB/s, done. > Resolving deltas: 100% (1379/1379), done. > From https://github.com/freebsd/freebsd > 1daffcf..16bfeff master -> freebsd/master > 4ce956b..2786226 projects/arm_intrng -> freebsd/projects/arm_intrng > 8afde97..e891a45 projects/building-blocks -> > freebsd/projects/building-blocks > ae94017..79b9044 projects/clang350-import -> > freebsd/projects/clang350-import > * [new branch] projects/elftoolchain-update-r3130 -> > freebsd/projects/elftoolchain-update-r3130 > 191c3a1..ef329bf projects/ifnet -> freebsd/projects/ifnet > + f39bd7c...33c47ad projects/ino64 -> freebsd/projects/ino64 (forced > update) > * [new branch] projects/paravirt -> freebsd/projects/paravirt > fdb4571..637702c projects/routing -> freebsd/projects/routing > e3732e9..6970b8a projects/sendfile -> freebsd/projects/sendfile > 73a106c..4bbc2e1 releng/10.0 -> freebsd/releng/10.0 > 29f4af5..8bdb2f8 releng/10.1 -> freebsd/releng/10.1 > 93a7c22..6c98ecd releng/8.4 -> freebsd/releng/8.4 > 18b185b..42bd402 releng/9.1 -> freebsd/releng/9.1 > 62fc296..81febb2 releng/9.2 -> freebsd/releng/9.2 > 587e3b5..825bd30 releng/9.3 -> freebsd/releng/9.3 > f3fce3a..f0fc25a stable/10 -> freebsd/stable/10 > 038c20d..2a2bb65 stable/7 -> freebsd/stable/7 > ab2b3fb..4ece3be stable/8 -> freebsd/stable/8 > cd6870d..4c08e33 stable/9 -> freebsd/stable/9 > dab26aa..b4e212b svn_head -> freebsd/svn_head > 947b121..2d9be08 user/cperciva/freebsd-update-build -> > freebsd/user/cperciva/freebsd-update-build > e94160d..f74291e user/marcel/libvdsk -> freebsd/user/marcel/libvdsk > aeef35a..7a5b8d5 user/pho/stress2 -> freebsd/user/pho/stress2 > op@robot hardenedBSD.git.opntr> git diff freebsd/master origin/master > op@robot hardenedBSD.git.opntr> > > > > And I started a new instance of build/ > > On Thu, Jan 1, 2015 at 7:20 PM, Oliver Pinter > wrote: >> No, we don't touch them. Only added -DHARDEBEDBSD into make >> environment. I will schedule a new round of build to recheck them, >> >> On Thu, Jan 1, 2015 at 6:53 PM, Dimitry Andric >> wrote: >>> On 01 Jan 2015, at 18:35, Oliver Pinter >>> wrote: >>>> We at HardenedBSD got this error, with out jenkins instance: >>>> >>>> --- dis_tables.o --- >>>> /jenkins/workspace/HardenedBSD_Master/sys/cddl/dev/dtrace/x86/dis_tables.c:3025:25: >>>> error: '&&' within '||' [-Werror,-Wlogical-op-parentheses] >>>> if (cpu_mode == SIZE64 && dp->it_invalid64 || >>> I can't reproduce this warning here, at least not with pristine head. >>> >>> Did you change any of the -Wno-xxx flags in your customized source >>> tree? >>> >>> -Dimitry >>> I was seeing the same failure. r276496 seems(!) to have moved some of the warning / error suppressions and fixed my issue. -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 108 Turvey Cove, Hutto, TX 78634-5688