Date: Thu, 01 Jan 2015 18:27:45 -0600 From: Larry Rosenman <ler@lerctr.org> To: Oliver Pinter <oliver.pinter@hardenedbsd.org> Cc: HardenedBSD Developers <dev@hardenedbsd.org>, FreeBSD-Current <freebsd-current@freebsd.org>, Dimitry Andric <dim@freebsd.org>, owner-freebsd-current@freebsd.org Subject: Re: HEADS UP: Upgraded clang, llvm and lldb to 3.5.0 Message-ID: <88471a8888507a7eda6f3de036e63b27@thebighonker.lerctr.org> In-Reply-To: <CAPQ4ffu=A8D%2BC=0PL09Dumu_mn8EWvAEFB9EhbuqLw5x61GHuA@mail.gmail.com> References: <528C023D-6207-4054-917B-05D4C4E605EC@FreeBSD.org> <20150101125043.6e6e3a52.ohartman@zedat.fu-berlin.de> <CAPQ4fftLbm6XDxk-oJRZyq74pPLA7n_bb7w__MEsV2K-R=P-6Q@mail.gmail.com> <FA9F5B2B-CAAD-48C7-B79F-2EB16F256F02@FreeBSD.org> <CAPQ4ffs5BAjWLsYBtSpnNLsL57m_dTSy5MvZqCGao1mmB7QqpA@mail.gmail.com> <CAPQ4ffu=A8D%2BC=0PL09Dumu_mn8EWvAEFB9EhbuqLw5x61GHuA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <bsd.cpu.mk> > > .endif # ! Posix > + > +.include <bsd.hardenedbsd.mk> > > 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 > <oliver.pinter@hardenedbsd.org> 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 <dim@freebsd.org> >> wrote: >>> On 01 Jan 2015, at 18:35, Oliver Pinter >>> <oliver.pinter@hardenedbsd.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?88471a8888507a7eda6f3de036e63b27>