Re: svn commit: r336640 - head/share/mk

2018-08-16 Thread Bryan Drewery
an/man8/ > install -o root -g wheel -m 444 sshd_config.5.gz > /tmp/blah/usr/share/man/man5/ ... > + ${INSTALL} ${${dir}TAG_ARGS} -d -m ${${dir}_MODE} -o ${${dir}_OWN} \ > + -g ${${dir}_GRP} ${${dir}_FLAG} ${DESTDIR}${${dir}} > +.endif > + > +realinstall: installdirs-${dir} > +. endfor > + > +.endif > -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

Re: svn commit: r337791 - in head: crypto/openssl crypto/openssl/apps crypto/openssl/crypto crypto/openssl/crypto/asn1 crypto/openssl/crypto/bio crypto/openssl/crypto/bn crypto/openssl/crypto/bn/asm c

2018-08-16 Thread Bryan Drewery
On 8/16/18 12:31 PM, Bryan Drewery wrote: > On 8/16/18 12:14 PM, Ian Lepore wrote: >> On Thu, 2018-08-16 at 12:10 -0700, Bryan Drewery wrote: >>> On 8/16/18 11:47 AM, Larry Rosenman wrote: >>>> >>>> On Thu, Aug 16, 2018 at 11:34:59AM -0700, Bryan Drew

svn commit: r337928 - head/secure/usr.sbin/sshd

2018-08-16 Thread Bryan Drewery
Author: bdrewery Date: Thu Aug 16 19:48:07 2018 New Revision: 337928 URL: https://svnweb.freebsd.org/changeset/base/337928 Log: Fix build after r337852: Don't rebuild moduli based on unrelated moduli.c Reported by: many, delphij (moduli.c issue) Modified: head/secure/usr.sbin/sshd/Makef

Re: svn commit: r337791 - in head: crypto/openssl crypto/openssl/apps crypto/openssl/crypto crypto/openssl/crypto/asn1 crypto/openssl/crypto/bio crypto/openssl/crypto/bn crypto/openssl/crypto/bn/asm c

2018-08-16 Thread Bryan Drewery
On 8/16/18 12:14 PM, Ian Lepore wrote: > On Thu, 2018-08-16 at 12:10 -0700, Bryan Drewery wrote: >> On 8/16/18 11:47 AM, Larry Rosenman wrote: >>> >>> On Thu, Aug 16, 2018 at 11:34:59AM -0700, Bryan Drewery wrote: >>>> >>>> On 8/16/18 11:21 A

Re: svn commit: r337791 - in head: crypto/openssl crypto/openssl/apps crypto/openssl/crypto crypto/openssl/crypto/asn1 crypto/openssl/crypto/bio crypto/openssl/crypto/bn crypto/openssl/crypto/bn/asm c

2018-08-16 Thread Bryan Drewery
On 8/16/18 11:47 AM, Larry Rosenman wrote: > On Thu, Aug 16, 2018 at 11:34:59AM -0700, Bryan Drewery wrote: >> On 8/16/18 11:21 AM, Larry Rosenman wrote: >>> On Thu, Aug 16, 2018 at 02:02:52PM -0400, Jung-uk Kim wrote: >>>> On 18. 8. 16., Larry Rosenman wrote: >&

Re: svn commit: r337791 - in head: crypto/openssl crypto/openssl/apps crypto/openssl/crypto crypto/openssl/crypto/asn1 crypto/openssl/crypto/bio crypto/openssl/crypto/bn crypto/openssl/crypto/bn/asm c

2018-08-16 Thread Bryan Drewery
he tree and rebuilt from scratch, and got the same error. >>>>> >>>>> I didn't bisect it to this change, but it's the only recent change to >>>>> crypto... >>>> >>>> I built worlds many times and I haven't seen such problem. In fact, >>>> Jenkins didn't break on amd64 after the commit. >>>> >>>> https://ci.freebsd.org/job/FreeBSD-head-amd64-build/9888/ >>> Do you or jenkins run with meta-mode? That seems to be a necessary >>> condition for the failure. >> I don't do meta-mode. I don't know much about Jenkins build but I don't >> think it does. Is it a requirement now? >> Jenkins doesn't use META_MODE and it's not a requirement. > It's not a requirement, but seems to be implicated in this failure. > > Cc'ing bdrewery@ for the meta mode stuff. > > >> Jung-uk Kim >> > > > > -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

svn commit: r337494 - head/share/mk

2018-08-08 Thread Bryan Drewery
Author: bdrewery Date: Wed Aug 8 19:15:45 2018 New Revision: 337494 URL: https://svnweb.freebsd.org/changeset/base/337494 Log: DIRS: Ensure existing directory still has permissions set. Modified: head/share/mk/bsd.dirs.mk Modified: head/share/mk/bsd.dirs.mk =

svn commit: r337495 - head/share/mk

2018-08-08 Thread Bryan Drewery
Author: bdrewery Date: Wed Aug 8 19:15:48 2018 New Revision: 337495 URL: https://svnweb.freebsd.org/changeset/base/337495 Log: DIRS: Fix duplicate target warnings. Modified: head/share/mk/bsd.dirs.mk Modified: head/share/mk/bsd.dirs.mk ===

svn commit: r337272 - head/sys/dev/filemon

2018-08-03 Thread Bryan Drewery
Author: bdrewery Date: Fri Aug 3 19:24:04 2018 New Revision: 337272 URL: https://svnweb.freebsd.org/changeset/base/337272 Log: Fix some filemon path logging issues. - Properly handle snprintf return value for truncation and avoid overflowing the later write with the bogus length. - I

Re: svn commit: r334708 - head/sys/kern

2018-07-19 Thread Bryan Drewery
rotocol requires that the interlock be held, and this synchronizes with >> code which performs 0->1 and 1->0 transitions of the hold count. If this >> requirement is relaxed in the future, then fences would indeed be >> needed. > > I do not claim that my concern is a real problem. I stated it as a > thing to look at when deciding whether the fences should be added > (unconditionally ?). > > If you argument is that the only current lock-less protocol for the > struct vnode state is the v_holdcnt transitions for > 1, then I can > agree with it. > -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

svn commit: r336181 - head

2018-07-10 Thread Bryan Drewery
Author: bdrewery Date: Tue Jul 10 21:20:49 2018 New Revision: 336181 URL: https://svnweb.freebsd.org/changeset/base/336181 Log: Fix parsing of create-kernel-packages MFC after:3 days Reported by: rene Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 =

Re: svn commit: r336019 - in head: . usr.sbin/config

2018-07-05 Thread Bryan Drewery
WORLDTMP}/legacy includes; \ So -IWORLDTMP/legacy/sys should find the nv headers. This is already included via: tools/build/mk/Makefile.boot:CFLAGS+= -I${WORLDTMP}/legacy/usr/include Which is brought in for bootstrap-tools though via: MAKEFLAGS="-m ${.CURDIR}/tools/build/mk ${.MAKEFLAGS}" -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

svn commit: r335922 - head/sys/conf

2018-07-03 Thread Bryan Drewery
Author: bdrewery Date: Wed Jul 4 00:18:36 2018 New Revision: 335922 URL: https://svnweb.freebsd.org/changeset/base/335922 Log: Use OBJS_DEPEND_GUESS for forced opt_global.h dependency. MFC after:2 weeks Sponsored by: Dell EMC Modified: head/sys/conf/kern.post.mk head/sys/conf/km

svn commit: r335923 - head/sys/modules/aic7xxx/ahc

2018-07-03 Thread Bryan Drewery
Author: bdrewery Date: Wed Jul 4 00:18:40 2018 New Revision: 335923 URL: https://svnweb.freebsd.org/changeset/base/335923 Log: META_MODE: Fix wanting a meta file in source tree. MFC after:2 weeks Sponsored by: Dell EMC Modified: head/sys/modules/aic7xxx/ahc/Makefile Modified: hea

svn commit: r335912 - head/sys/conf

2018-07-03 Thread Bryan Drewery
Author: bdrewery Date: Tue Jul 3 21:29:04 2018 New Revision: 335912 URL: https://svnweb.freebsd.org/changeset/base/335912 Log: Fix .depend.foo.o tracking for sys/conf/files defined compilations. Some example files: ia32_genassym.o acpi_wakecode.o The old mkdep method also lack

svn commit: r335911 - head/sys/conf

2018-07-03 Thread Bryan Drewery
Author: bdrewery Date: Tue Jul 3 21:15:47 2018 New Revision: 335911 URL: https://svnweb.freebsd.org/changeset/base/335911 Log: Need offset.inc generated early if MODULE_TIED is defined. Modified: head/sys/conf/kmod.mk Modified: head/sys/conf/kmod.mk =

svn commit: r335910 - in head/sys: conf modules/linux modules/linux64 modules/vmm

2018-07-03 Thread Bryan Drewery
Author: bdrewery Date: Tue Jul 3 21:02:25 2018 New Revision: 335910 URL: https://svnweb.freebsd.org/changeset/base/335910 Log: All genassym.sh usage need offset.inc Modified: head/sys/conf/files.amd64 head/sys/conf/files.i386 head/sys/conf/kmod.mk head/sys/modules/linux/Makefile head

svn commit: r335909 - head/sys/conf

2018-07-03 Thread Bryan Drewery
Author: bdrewery Date: Tue Jul 3 21:02:21 2018 New Revision: 335909 URL: https://svnweb.freebsd.org/changeset/base/335909 Log: genoffset.c is not generated Modified: head/sys/conf/kern.pre.mk Modified: head/sys/conf/kern.pre.mk ===

Re: svn commit: r335908 - head/sys/conf

2018-07-03 Thread Bryan Drewery
On 7/3/2018 1:06 PM, Cy Schubert wrote: > In message <201807032003.w63k3jd3071...@repo.freebsd.org>, Bryan > Drewery writes > : >> Author: bdrewery >> Date: Tue Jul 3 20:03:19 2018 >> New Revision: 335908 >> URL: https://svnweb.freebsd.org/changeset/

Re: svn commit: r335906 - head/sys/conf

2018-07-03 Thread Bryan Drewery
On 7/3/2018 12:59 PM, Cy Schubert wrote: > In message <201807031924.w63joi5w051...@repo.freebsd.org>, Bryan > Drewery writes > : >> Author: bdrewery >> Date: Tue Jul 3 19:24:44 2018 >> New Revision: 335906 >> URL: https://svnweb.freebsd.org/changeset/base/3

svn commit: r335908 - head/sys/conf

2018-07-03 Thread Bryan Drewery
Author: bdrewery Date: Tue Jul 3 20:03:19 2018 New Revision: 335908 URL: https://svnweb.freebsd.org/changeset/base/335908 Log: Fix r335906+r335907 to not pass multiple source files to genoffset_test.o target. This is working around a bug with the FAST_DEPEND logic with custom targets th

svn commit: r335906 - head/sys/conf

2018-07-03 Thread Bryan Drewery
Author: bdrewery Date: Tue Jul 3 19:24:44 2018 New Revision: 335906 URL: https://svnweb.freebsd.org/changeset/base/335906 Log: No need to make a copy to build genoffset_test.o Modified: head/sys/conf/kern.post.mk Modified: head/sys/conf/kern.post.mk =

svn commit: r335907 - head/sys/conf

2018-07-03 Thread Bryan Drewery
Author: bdrewery Date: Tue Jul 3 19:24:52 2018 New Revision: 335907 URL: https://svnweb.freebsd.org/changeset/base/335907 Log: Handle .depend for genoffset_test.o Modified: head/sys/conf/kern.post.mk Modified: head/sys/conf/kern.post.mk ==

svn commit: r335904 - head/sys/conf

2018-07-03 Thread Bryan Drewery
Author: bdrewery Date: Tue Jul 3 18:45:04 2018 New Revision: 335904 URL: https://svnweb.freebsd.org/changeset/base/335904 Log: Fix module build when MODULE_TIED=1 is set. Modified: head/sys/conf/kmod.mk Modified: head/sys/conf/kmod.mk

Re: svn commit: r335880 - in head/sys: conf kern

2018-07-03 Thread Bryan Drewery
On 7/3/2018 11:21 AM, Matthew Macy wrote: > What is the "correct" way to make sure that offset.inc is visible to modules? > Can you answer my question though? Was it a mistake or are you intending there to be a machine-specific genoffset.c? > On Tue, Jul 3, 2018 at 10:3

Re: svn commit: r335879 - in head/sys: conf kern sys

2018-07-03 Thread Bryan Drewery
cp $S/kern/genoffset.c genoffset_test.c > + > +genoffset_test.o: genoffset_test.c offset.inc > + ${CC} -c ${CFLAGS:N-flto:N-fno-common} -DOFFSET_TEST genoffset_test.c > + > +assym.inc: $S/kern/genassym.sh genassym.o genoffset_test.o > NM='${NM}' NMFLAGS='${NMFLAGS}' sh $S/kern/genassym.sh genassym.o > > ${.TARGET} What's genoffset_test? Nothing seems to use it. -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

Re: svn commit: r335880 - in head/sys: conf kern

2018-07-03 Thread Bryan Drewery
mp;& !defined(KLD_MODULE)" > + echo "#if !defined(GENOFFSET) && (!defined(KLD_MODULE) || > defined(KLD_TIED))" > ${NM:='nm'} ${NMFLAGS} "$1" | ${AWK:='awk'} ' > / C .*_datatype_*/ { > type = substr($3, match($3, "_datatype_") + > length("_datatype_")) > -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

Re: svn commit: r335879 - in head/sys: conf kern sys [ broke ci.freebsd.org's FreeBSD-head-amd64-build ]

2018-07-03 Thread Bryan Drewery
s ( -r335880 , -r335881 , -r335882 ) get the same. > > FreeBSD-head-i386-LINT also fails for such reasons. > r335884 should fix this. -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

svn commit: r335840 - head

2018-07-01 Thread Bryan Drewery
Author: bdrewery Date: Sun Jul 1 13:50:37 2018 New Revision: 335840 URL: https://svnweb.freebsd.org/changeset/base/335840 Log: Ignore _.universe-toolchain file. MFC after:3 weeks X-MFC-with: r335711 Modified: head/.gitignore Modified: head/.gitignore ===

svn commit: r335839 - head

2018-07-01 Thread Bryan Drewery
Author: bdrewery Date: Sun Jul 1 13:50:06 2018 New Revision: 335839 URL: https://svnweb.freebsd.org/changeset/base/335839 Log: Ignore _.universe-toolchain file. MFC after:3 weeks X-MFC-with: r335711 Modified: Directory Properties: head/ (props changed)

svn commit: r335823 - head

2018-06-30 Thread Bryan Drewery
Author: bdrewery Date: Sat Jun 30 19:36:02 2018 New Revision: 335823 URL: https://svnweb.freebsd.org/changeset/base/335823 Log: META_MODE: Fix clang-tblgen flip-flop building after r335707. The build of this would have MK_LLVM_TARGET_ALL=yes for bootstrap-tools but MK_LLVM_TARGET_ALL=no f

svn commit: r335788 - head

2018-06-28 Thread Bryan Drewery
Author: bdrewery Date: Thu Jun 28 22:24:16 2018 New Revision: 335788 URL: https://svnweb.freebsd.org/changeset/base/335788 Log: Fix unknown target check after r335450. X-MFC-with: r335450 Pointyhat to: bdrewery Sponsored by: Dell EMC Modified: head/Makefile.inc1 Modified: head/Mak

Re: svn commit: r335765 - head/sys/sys

2018-06-28 Thread Bryan Drewery
zed field > overwritten > 18:02:13 /usr/src/bin/pwait/pwait.c:158: warning: (near initialization > for '(anonymous).ext') > 18:02:13 /usr/src/bin/pwait/pwait.c:158: warning: initialized field > overwritten > 18:02:13 /usr/src/bin/pwait/pwait.c:158: warning: (near initialization > for '(anonymous).ext') > > This can be seen in the tinderbox (https://ci.freebsd.org/tinderbox) > > I encountered this as a failure in building usr.sbin/camdd, which > shows the same type of error. I think in this case it may break ports and other external builds too. If possible please try to fix the macro to avoid the issue. I didn't analyze it to see if it is feasible though. -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

svn commit: r335771 - head

2018-06-28 Thread Bryan Drewery
Author: bdrewery Date: Thu Jun 28 19:01:53 2018 New Revision: 335771 URL: https://svnweb.freebsd.org/changeset/base/335771 Log: SYSTEM_COMPILER/LINKER: Fix cross-build support after r335706. X-MFC-With: r335706 MFC after:2 weeks Sponsored by: Dell EMC Modified: head/Makefile.in

svn commit: r335770 - head

2018-06-28 Thread Bryan Drewery
Author: bdrewery Date: Thu Jun 28 18:22:20 2018 New Revision: 335770 URL: https://svnweb.freebsd.org/changeset/base/335770 Log: tinderbox: If the clang lookup fails fallback to the old default behavior. This fixes errors from the MK_CLANG_BOOTSTRAP/MK_LLD_BOOTSTRAP lookups to not force us

Re: svn commit: r335733 - in head: bin/csh gnu/usr.bin/cc/cc1 gnu/usr.bin/cc/cc1plus gnu/usr.bin/cc/cc_tools lib/libmagic lib/libpam/static_libpam lib/ncurses/ncurses share/syscons/scrnmaps stand/mips

2018-06-27 Thread Bryan Drewery
On 6/27/2018 4:05 PM, Dimitry Andric wrote: > On 27 Jun 2018, at 22:53, John Baldwin wrote: >> >> On 6/27/18 12:45 PM, Bryan Drewery wrote: >>> On 6/27/2018 12:35 PM, Dimitry Andric wrote: >>>> On 27 Jun 2018, at 21:29, Bryan Drewery wrote: >>>>&g

svn commit: r335747 - head/share/mk

2018-06-27 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 27 21:36:57 2018 New Revision: 335747 URL: https://svnweb.freebsd.org/changeset/base/335747 Log: LLVM_TARGET_ALL: Default LLVM_TARGET_ARM on for aarch64. This is needed for -m32 support which is used in the kernel cloudabi32 module. Tweak the style to mak

svn commit: r335746 - head/bin/sh

2018-06-27 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 27 21:36:49 2018 New Revision: 335746 URL: https://svnweb.freebsd.org/changeset/base/335746 Log: Stop building intermediate .o files. These are not used to link the final tool anymore. At some point in the past the suffix rules changed to not link these in.

Re: svn commit: r335733 - in head: bin/csh gnu/usr.bin/cc/cc1 gnu/usr.bin/cc/cc1plus gnu/usr.bin/cc/cc_tools lib/libmagic lib/libpam/static_libpam lib/ncurses/ncurses share/syscons/scrnmaps stand/mips

2018-06-27 Thread Bryan Drewery
On 6/27/2018 12:35 PM, Dimitry Andric wrote: > On 27 Jun 2018, at 21:29, Bryan Drewery wrote: >> >> Author: bdrewery >> Date: Wed Jun 27 19:29:15 2018 >> New Revision: 335733 >> URL: https://svnweb.freebsd.org/changeset/base/335733 >> >> Log: >>

svn commit: r335733 - in head: bin/csh gnu/usr.bin/cc/cc1 gnu/usr.bin/cc/cc1plus gnu/usr.bin/cc/cc_tools lib/libmagic lib/libpam/static_libpam lib/ncurses/ncurses share/syscons/scrnmaps stand/mips/...

2018-06-27 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 27 19:29:15 2018 New Revision: 335733 URL: https://svnweb.freebsd.org/changeset/base/335733 Log: Don't use CCACHE for linking. MFC after:2 weeks Sponsored by: Dell EMC Modified: head/bin/csh/Makefile head/gnu/usr.bin/cc/cc1/Makefile head/gnu/usr.b

Re: svn commit: r335718 - head/share/mk

2018-06-27 Thread Bryan Drewery
On 6/27/2018 11:43 AM, Bryan Drewery wrote: > Author: bdrewery > Date: Wed Jun 27 18:43:34 2018 > New Revision: 335718 > URL: https://svnweb.freebsd.org/changeset/base/335718 > > Log: > Follow-up r335706: Fix LLVM_TARGET_ALL handling to use TARGET_ARCH. Oops, I meant

svn commit: r335718 - head/share/mk

2018-06-27 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 27 18:43:34 2018 New Revision: 335718 URL: https://svnweb.freebsd.org/changeset/base/335718 Log: Follow-up r335706: Fix LLVM_TARGET_ALL handling to use TARGET_ARCH. Pointyhat to: bdrewery MFC after:2 weeks X-MFC-with: r335706 Reported by: Mark Mil

svn commit: r335713 - head/share/man/man5

2018-06-27 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 27 17:18:12 2018 New Revision: 335713 URL: https://svnweb.freebsd.org/changeset/base/335713 Log: Regenerate Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 ===

svn commit: r335712 - head/tools/build/options

2018-06-27 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 27 17:13:36 2018 New Revision: 335712 URL: https://svnweb.freebsd.org/changeset/base/335712 Log: Push users towards LLVM_TARGET_ALL. MFC after:1 week Modified: head/tools/build/options/WITHOUT_LLVM_TARGET_AARCH64 head/tools/build/options/WITHOUT_LLVM_

svn commit: r335705 - head/share/mk

2018-06-27 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 27 16:57:47 2018 New Revision: 335705 URL: https://svnweb.freebsd.org/changeset/base/335705 Log: Use dependent options to auto enable _SUPPORT and CLANG_FULL options. MFC after:1 week Reviewed by: sbruno, dim Sponsored by: Dell EMC Differential Revi

Re: svn commit: r335711 - in head: . share/mk

2018-06-27 Thread Bryan Drewery
On 6/27/2018 9:58 AM, Bryan Drewery wrote: > Author: bdrewery > Date: Wed Jun 27 16:58:10 2018 > New Revision: 335711 > URL: https://svnweb.freebsd.org/changeset/base/335711 > > Log: > tinderbox: Only build clang/lld once if needed. > > Need to handle LLD_BOOT

svn commit: r335711 - in head: . share/mk

2018-06-27 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 27 16:58:10 2018 New Revision: 335711 URL: https://svnweb.freebsd.org/changeset/base/335711 Log: tinderbox: Only build clang/lld once if needed. Need to handle LLD_BOOTSTRAP separately (for archs like i386). This would be much better off with an off-by-defau

svn commit: r335709 - head/share/mk

2018-06-27 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 27 16:58:03 2018 New Revision: 335709 URL: https://svnweb.freebsd.org/changeset/base/335709 Log: CCACHE_BUILD: Avoid ccache when looking up compiler metadata. MFC after:2 weeks Sponsored by: Dell EMC Modified: head/share/mk/bsd.compiler.mk Modified:

svn commit: r335708 - head

2018-06-27 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 27 16:57:59 2018 New Revision: 335708 URL: https://svnweb.freebsd.org/changeset/base/335708 Log: tinderbox: Give details about kernel builds. This is a bit noisy now but it was silent before leading to wondering if it was doing anything. MFC after:1

svn commit: r335710 - head/share/mk

2018-06-27 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 27 16:58:07 2018 New Revision: 335710 URL: https://svnweb.freebsd.org/changeset/base/335710 Log: CCACHE_BUILD: Don't try using ccache for compile-linking .c files. Without -c ccache just executes the real compiler. MFC after:2 weeks Sponsored by: De

svn commit: r335706 - in head: . share/mk tools/build/options

2018-06-27 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 27 16:57:51 2018 New Revision: 335706 URL: https://svnweb.freebsd.org/changeset/base/335706 Log: Add LLVM_TARGET_ALL option. LLVM_TARGET_* will auto be set based on LLVM_TARGET_ALL and MK_CLANG. If LLVM_TARGET_ALL is disabled, during a cross-build, then S

svn commit: r335707 - in head: . tools/build/options

2018-06-27 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 27 16:57:56 2018 New Revision: 335707 URL: https://svnweb.freebsd.org/changeset/base/335707 Log: Clang: Only build needed target for bootstrap compiler. This will disable the new LLVM_TARGET_ALL option which will only enable the required target. This on

svn commit: r335704 - head/lib/libc/tests/ssp

2018-06-27 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 27 16:56:46 2018 New Revision: 335704 URL: https://svnweb.freebsd.org/changeset/base/335704 Log: Rework check for libclang_rt to see if the needed library exists. Currently libclang_rt is not provided for cross-building and as such is not connected to cross-

svn commit: r335560 - head/lib/clang/libllvm

2018-06-22 Thread Bryan Drewery
Author: bdrewery Date: Fri Jun 22 17:58:56 2018 New Revision: 335560 URL: https://svnweb.freebsd.org/changeset/base/335560 Log: Revert r335449 and add needed MK_LLD_BOOTSTRAP check for SRCS_MIW. This effectively reverts r335449 and changes the previous MK_LLD_IS_LD to a MK_LLD_BOOTSTRAP c

svn commit: r335526 - head/usr.sbin/config

2018-06-21 Thread Bryan Drewery
Author: bdrewery Date: Fri Jun 22 01:10:05 2018 New Revision: 335526 URL: https://svnweb.freebsd.org/changeset/base/335526 Log: Let -s actually work. MFC after:2 weeks Sponsored by: Dell EMC Modified: head/usr.sbin/config/main.c Modified: head/usr.sbin/config/main.c ==

svn commit: r335493 - head/share/man/man5

2018-06-21 Thread Bryan Drewery
Author: bdrewery Date: Thu Jun 21 16:39:38 2018 New Revision: 335493 URL: https://svnweb.freebsd.org/changeset/base/335493 Log: ino64 uses 8 byte padding now. Modified: head/share/man/man5/dir.5 Modified: head/share/man/man5/dir.5 =

svn commit: r335494 - head/sys/sys

2018-06-21 Thread Bryan Drewery
Author: bdrewery Date: Thu Jun 21 16:40:07 2018 New Revision: 335494 URL: https://svnweb.freebsd.org/changeset/base/335494 Log: Minor comment fix d_namelen -> d_namlen Modified: head/sys/sys/dirent.h Modified: head/sys/sys/dirent.h

svn commit: r335460 - head

2018-06-20 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 20 19:45:04 2018 New Revision: 335460 URL: https://svnweb.freebsd.org/changeset/base/335460 Log: Only look for NOTES as needed. Sponsored by: Dell EMC Modified: head/Makefile Modified: head/Makefile =

svn commit: r335452 - in head: . share/mk

2018-06-20 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 20 17:20:39 2018 New Revision: 335452 URL: https://svnweb.freebsd.org/changeset/base/335452 Log: Reduce exec and fstat overhead for non-build targets. This is mostly targetting 'make showconfig' and 'make test-system-*' for the benefit of makeman and univers

Re: svn commit: r335394 - head

2018-06-20 Thread Bryan Drewery
On 6/20/2018 10:00 AM, John Baldwin wrote: > On 6/19/18 4:40 PM, Bryan Drewery wrote: >> Author: bdrewery >> Date: Tue Jun 19 23:40:42 2018 >> New Revision: 335394 >> URL: https://svnweb.freebsd.org/changeset/base/335394 >> >> Log: >> Fix detection f

svn commit: r335451 - head/share/man/man5

2018-06-20 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 20 16:15:03 2018 New Revision: 335451 URL: https://svnweb.freebsd.org/changeset/base/335451 Log: Regenerate for SYSTEM_LINKER Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 =

svn commit: r335450 - in head: . share/mk tools/build/options

2018-06-20 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 20 16:10:14 2018 New Revision: 335450 URL: https://svnweb.freebsd.org/changeset/base/335450 Log: Add WITH_SYSTEM_LINKER, on by default, that avoids building lld when possible. This works similar to WITH_SYSTEM_COMPILER added in r300354. It only supports lld

svn commit: r335449 - head/lib/clang/libllvm

2018-06-20 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 20 16:10:10 2018 New Revision: 335449 URL: https://svnweb.freebsd.org/changeset/base/335449 Log: Fix sources needed for lld. lld always needs these DWARF sources, as well as other default and extra tools. XDL seems to be the best fit list. Remove MK_LLD

svn commit: r335448 - in head: . lib/clang/libllvm

2018-06-20 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 20 16:10:07 2018 New Revision: 335448 URL: https://svnweb.freebsd.org/changeset/base/335448 Log: Rework WITHOUT_LLD/TOOLCHAIN fix from r327892 for cross-tools. MK_LLD is for the installed lld while MK_LLD_BOOTSTRAP is for the build tool. For WITH_SYSTEM_LIN

svn commit: r335447 - in head: . gnu/usr.bin/binutils/ld usr.bin/clang/lld

2018-06-20 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 20 16:10:02 2018 New Revision: 335447 URL: https://svnweb.freebsd.org/changeset/base/335447 Log: Rework how the ld link is handled in WORLDTMP from r322811. LLD_BOOTSTRAP (build) is independent of LLD_IS_LD (installed) so they should not be based on each oth

svn commit: r335396 - head

2018-06-19 Thread Bryan Drewery
Author: bdrewery Date: Tue Jun 19 23:57:12 2018 New Revision: 335396 URL: https://svnweb.freebsd.org/changeset/base/335396 Log: TARGET_TRIPLE is needed much earlier now for CROSS_BINUTILS_PREFIX check. This was missed in r335394 since the check became exists(/usr/local) in my testing.

svn commit: r335394 - head

2018-06-19 Thread Bryan Drewery
Author: bdrewery Date: Tue Jun 19 23:40:42 2018 New Revision: 335394 URL: https://svnweb.freebsd.org/changeset/base/335394 Log: Fix detection for binutils bootstrap package. The path was changed recently in the port to be the full target triple. MFC after:2 weeks Sponsored by: De

svn commit: r335392 - head

2018-06-19 Thread Bryan Drewery
Author: bdrewery Date: Tue Jun 19 23:40:36 2018 New Revision: 335392 URL: https://svnweb.freebsd.org/changeset/base/335392 Log: SYSTEM_COMPILER: Should use X_ vars for comparing wanted version. It is XCC used during the build of target binaries that replaces the bootstrap compiler. A

svn commit: r335393 - head

2018-06-19 Thread Bryan Drewery
Author: bdrewery Date: Tue Jun 19 23:40:39 2018 New Revision: 335393 URL: https://svnweb.freebsd.org/changeset/base/335393 Log: Let CROSS_BINUTILS_PREFIX work without a trailing slash. Reported by: jhb MFC after:2 weeks Sponsored by: Dell EMC Modified: head/Makefile.inc1 Modifi

svn commit: r335391 - head

2018-06-19 Thread Bryan Drewery
Author: bdrewery Date: Tue Jun 19 23:39:55 2018 New Revision: 335391 URL: https://svnweb.freebsd.org/changeset/base/335391 Log: Fix X_COMPILER_* and X_LINKER_* not being passed to installworld environment. This could lead to 'sh: head: not found' warnings which were a symptom of running '

Re: svn commit: r335244 - head

2018-06-19 Thread Bryan Drewery
On 6/15/2018 10:02 PM, Cy Schubert wrote: > In message <201806160436.w5g4axks039...@slippy.cwsent.com>, Cy Schubert > writes: >> In message <201806160035.w5g0zjfd066...@repo.freebsd.org>, Bryan >> Drewery writes >> : >>> Author: bdrewery >&g

svn commit: r335353 - head

2018-06-18 Thread Bryan Drewery
Author: bdrewery Date: Tue Jun 19 01:00:27 2018 New Revision: 335353 URL: https://svnweb.freebsd.org/changeset/base/335353 Log: Don't bootstrap lld if an external linker is used. Sponsored by: Dell EMC Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 ===

svn commit: r335244 - head

2018-06-15 Thread Bryan Drewery
Author: bdrewery Date: Sat Jun 16 00:35:19 2018 New Revision: 335244 URL: https://svnweb.freebsd.org/changeset/base/335244 Log: Assert that a build is done before an install. This should also catch cases where the wrong MAKEOBJDIRPREFIX is used for install. MFC after:2 weeks Sp

Re: svn commit: r335233 - head/lib/libpmc

2018-06-15 Thread Bryan Drewery
On 6/15/2018 12:19 PM, Bryan Drewery wrote: > Author: bdrewery > Date: Fri Jun 15 19:19:36 2018 > New Revision: 335233 > URL: https://svnweb.freebsd.org/changeset/base/335233 > > Log: > Put in temporary hacks for jevents. > > - Handle 'make clean' >

svn commit: r335233 - head/lib/libpmc

2018-06-15 Thread Bryan Drewery
Author: bdrewery Date: Fri Jun 15 19:19:36 2018 New Revision: 335233 URL: https://svnweb.freebsd.org/changeset/base/335233 Log: Put in temporary hacks for jevents. - Handle 'make clean' - Don't try building it locally, just fail instead. jevents should really be merged into lib/libpm

svn commit: r335225 - head

2018-06-15 Thread Bryan Drewery
Author: bdrewery Date: Fri Jun 15 18:50:24 2018 New Revision: 335225 URL: https://svnweb.freebsd.org/changeset/base/335225 Log: lib32: Fix lib/libpmc/pmu-events files ending up in source directory. This could happen with either WITHOUT_AUTO_OBJ=yes or MAKELEVEL>0 for the initial 'make bui

svn commit: r335218 - head

2018-06-15 Thread Bryan Drewery
Author: bdrewery Date: Fri Jun 15 17:03:57 2018 New Revision: 335218 URL: https://svnweb.freebsd.org/changeset/base/335218 Log: libcompat: Only build libmagic build tool if MK_FILE is yes. Sponsored by: Dell EMC Modified: head/Makefile.libcompat Modified: head/Makefile.libcompat ===

svn commit: r335216 - head

2018-06-15 Thread Bryan Drewery
Author: bdrewery Date: Fri Jun 15 16:48:09 2018 New Revision: 335216 URL: https://svnweb.freebsd.org/changeset/base/335216 Log: Only build jevents if MK_PMC is yes and only for amd64 in libcompat. Sponsored by: Dell EMC Modified: head/Makefile.inc1 head/Makefile.libcompat Modified: he

svn commit: r335183 - head/sys/kern

2018-06-14 Thread Bryan Drewery
Author: bdrewery Date: Fri Jun 15 00:36:41 2018 New Revision: 335183 URL: https://svnweb.freebsd.org/changeset/base/335183 Log: proc0_post: Fix some locking issues - Filter out PRS_NEW procs as rufetch() tries taking the thread lock which may not yet be initialized. - Hold PROC_LOCK t

Re: svn commit: r335042 - head/usr.bin/top

2018-06-13 Thread Bryan Drewery
2018(r335041) > +++ head/usr.bin/top/utils.c Wed Jun 13 08:52:19 2018(r335042) > @@ -2,6 +2,7 @@ > * This program may be freely redistributed, > * but this entire comment MUST remain intact. > * > + * Copyright (c) 2018, Eitan Adler > * Copyright

Re: svn commit: r334883 - head/cddl/contrib/opensolaris/tools/ctf/cvt

2018-06-09 Thread Bryan Drewery
n/ctfconvert (obj,all,install) >> Building >> /usr/obj/usr/src/amd64.amd64/tmp/obj-tools/cddl/usr.bin/ctfconvert/dwarf.o obj-tools means it is trying to build a HOST NATIVE version of this. Where are these defined? In this case they need to be defined in /usr/include already unless the build has -I.CU

Re: svn commit: r334617 - in head: . etc

2018-06-08 Thread Bryan Drewery
> On Jun 7, 2018, at 03:29, Alexey Dokuchaev wrote: > >> On Wed, Jun 06, 2018 at 01:02:25PM -0600, Brad Davis wrote: >>> On Wed, Jun 6, 2018, at 12:33 PM, Rodney W. Grimes wrote: >>> ... >>> So each installworld would wipe over the top of any localmod /etc/rc.d/ >>> and other stuff that mght ex

Re: svn commit: r334617 - in head: . etc

2018-06-07 Thread Bryan Drewery
> On Jun 4, 2018, at 11:17, Brad Davis wrote: > > Author: brd > Date: Mon Jun 4 15:17:24 2018 > New Revision: 334617 > URL: https://svnweb.freebsd.org/changeset/base/334617 > > Log: > Move /sys symlink creating out of etc/Makefile. > > This is prep for etc/Makefile going away. > > Approve

Re: svn commit: r334617 - in head: . etc

2018-06-07 Thread Bryan Drewery
> On Jun 6, 2018, at 16:35, Rodney W. Grimes > wrote: > > >> On Wed, Jun 6, 2018, at 12:33 PM, Rodney W. Grimes wrote: On Tue, Jun 5, 2018, at 1:28 PM, Konstantin Belousov wrote: >> On Wed, Jun 06, 2018 at 01:39:00AM +0700, Eugene Grosbein wrote: >> 06.06.2018 1:26, Konsta

Re: svn commit: r334617 - in head: . etc

2018-06-07 Thread Bryan Drewery
> On Jun 5, 2018, at 16:43, Brad Davis wrote: > > > On Tue, Jun 5, 2018, at 1:07 PM, Renato Botelho wrote: > > On 05/06/18 15:26, Konstantin Belousov wrote: > > > On Tue, Jun 05, 2018 at 12:13:05PM -0600, Brad Davis wrote: > > >> On Tue, Jun 5, 2018, at 10:46 AM, Konstantin Belousov wrote: > >

svn commit: r334811 - head/share/mk

2018-06-07 Thread Bryan Drewery
Author: bdrewery Date: Thu Jun 7 19:39:11 2018 New Revision: 334811 URL: https://svnweb.freebsd.org/changeset/base/334811 Log: Use simpler sed invocation. X-MFC-With: r334791 MFC after:1 week Submitted by: danfe Modified: head/share/mk/bsd.linker.mk Modified: head/share/mk/bs

Re: svn commit: r334791 - head/share/mk

2018-06-07 Thread Bryan Drewery
On 6/7/18 1:05 PM, Alexey Dokuchaev wrote: > On Thu, Jun 07, 2018 at 04:44:20PM +, Alexey Dokuchaev wrote: >> On Thu, Jun 07, 2018 at 04:16:22PM +0000, Bryan Drewery wrote: >>> New Revision: 334791 >>> URL: https://svnweb.freebsd.org/changeset/base/334791 >>&

svn commit: r334791 - head/share/mk

2018-06-07 Thread Bryan Drewery
Author: bdrewery Date: Thu Jun 7 16:16:22 2018 New Revision: 334791 URL: https://svnweb.freebsd.org/changeset/base/334791 Log: Stop using head(1) which is not available in installworld. installworld should not be executing this anyhow but there is some obscure case doing it still. The h

Re: svn commit: r334226 - head/lib/libpmcstat/pmu-events

2018-06-06 Thread Bryan Drewery
On 6/5/18 12:32 AM, Kyle Evans wrote: > On Mon, Jun 4, 2018 at 10:11 PM, Kyle Evans wrote: >> On Fri, May 25, 2018 at 4:46 PM, Bryan Drewery wrote: >>> Author: bdrewery >>> Date: Fri May 25 21:46:07 2018 >>> New Revision: 334226 >>> URL: htt

Re: svn commit: r334226 - head/lib/libpmcstat/pmu-events

2018-06-06 Thread Bryan Drewery
Will look today or tomorrow. Pretty sure just a small thing is missing from Makefile.libcompat. Regards, Bryan Drewery > On Jun 5, 2018, at 00:32, Kyle Evans wrote: > >> On Mon, Jun 4, 2018 at 10:11 PM, Kyle Evans wrote: >>> On Fri, May 25, 2018 at 4:46 PM, Bryan Drewe

svn commit: r334227 - head/lib/libpmcstat

2018-05-25 Thread Bryan Drewery
Author: bdrewery Date: Fri May 25 21:46:49 2018 New Revision: 334227 URL: https://svnweb.freebsd.org/changeset/base/334227 Log: Use proper BTOOLSPATH for build-tools path. Modified: head/lib/libpmcstat/Makefile Modified: head/lib/libpmcstat/Makefile ==

svn commit: r334226 - head/lib/libpmcstat/pmu-events

2018-05-25 Thread Bryan Drewery
Author: bdrewery Date: Fri May 25 21:46:07 2018 New Revision: 334226 URL: https://svnweb.freebsd.org/changeset/base/334226 Log: Cleanup style Modified: head/lib/libpmcstat/pmu-events/Makefile Modified: head/lib/libpmcstat/pmu-events/Makefile ==

svn commit: r334228 - head/lib/libpmcstat

2018-05-25 Thread Bryan Drewery
Author: bdrewery Date: Fri May 25 21:46:53 2018 New Revision: 334228 URL: https://svnweb.freebsd.org/changeset/base/334228 Log: META_MODE: Fix trying to rebuild jevents due to missing .meta file. The tool is built separately in buildworld in a subdirectory rather than how other build-tool

Re: svn commit: r333407 - head/share/mk

2018-05-25 Thread Bryan Drewery
] > +# > +# DIRGRP Directory group. [wheel] > +# > +# DIRMODEDirectory mode. [755] > +# > +# > # DOCDIR Base path for system documentation (e.g. PSD, USD, > #handbook, FAQ etc.). [${SHAREDIR}/doc] > # > @@ -185,6 +192,10 @@ MANDIR?= ${SHAREDIR}/man/ma

Re: svn commit: r334128 - in head: . lib/libpmcstat lib/libpmcstat/pmu-events lib/libpmcstat/pmu-events/arch lib/libpmcstat/pmu-events/arch/arm64 lib/libpmcstat/pmu-events/arch/arm64/arm lib/libpmcsta

2018-05-25 Thread Bryan Drewery
is is really just the META_MODE pattern being wrong. I'm fixing all of this. -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

Re: svn commit: r333407 - head/share/mk

2018-05-24 Thread Bryan Drewery
-m ${${group}MODE_${.ALLSRC:T}} \ >> @@ -77,10 +77,24 @@ _${group}INS_${file:T}: ${file} >> _${group}FILES+= ${file} >> .endif >> .endfor >> + >> + >> +installdirs-${group}: >> +@echo installing dirs ${group}DIR ${${group}DIR} > > I'm seeing this message while running `make -s installworld`. > Needs to use ${ECHO} rather than echo. -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

svn commit: r334190 - head/usr.bin/grep

2018-05-24 Thread Bryan Drewery
Author: bdrewery Date: Thu May 24 22:15:47 2018 New Revision: 334190 URL: https://svnweb.freebsd.org/changeset/base/334190 Log: Fix exit code for mismatches after r333013. The -c flag still does the wrong thing versus the older version due to lack of pipefail support. Reported by: a

svn commit: r334177 - head/share/mk

2018-05-24 Thread Bryan Drewery
Author: bdrewery Date: Thu May 24 18:49:19 2018 New Revision: 334177 URL: https://svnweb.freebsd.org/changeset/base/334177 Log: rescue: Restore 'make depend' call to fix WITH_META_MODE after r334008. The rescue/crunchgen build avoids linking binaries for the objects it is building by doin

Re: svn commit: r334008 - head/bin/sh

2018-05-23 Thread Bryan Drewery
On 5/22/2018 5:30 PM, Bryan Drewery wrote: > On 5/22/2018 1:22 PM, Jilles Tjoelker wrote: >> On Tue, May 22, 2018 at 10:17:41AM +0200, O. Hartmann wrote: >>> On Mon, 21 May 2018 21:45:53 -0700 >>> Cy Schubert wrote: >>>> In message <20180522061339.21

Re: svn commit: r334008 - head/bin/sh

2018-05-22 Thread Bryan Drewery
onceptually simpler is accepting what make would like: one command > generates one file only. This is not really new with meta mode since a Yeah bmake (both with and without meta mode) is lacking in properly handling 1 target generating multiple files. It's a big frustration of mine as every pattern I've seen does not do the right thing. I'll look into this case more. For now just remove the syntax.h file from the objdir or remove the bin/sh dir. > somewhat ugly .ORDER declaration had been necessary before. The .c > content can go inside a #ifdef in the .h file so the .c file need not be > autogenerated, or the tools can be run twice, once to generate the .c > file and once to generate the .h file. In both cases, the tools will be > somewhat uglier in order to simplify the build system. > -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

<    1   2   3   4   5   6   7   8   9   10   >