svn commit: r329221 - head/bin/sh

2018-02-13 Thread Bryan Drewery
Author: bdrewery Date: Tue Feb 13 16:48:57 2018 New Revision: 329221 URL: https://svnweb.freebsd.org/changeset/base/329221 Log: Allow overriding VTABSIZE at compile-time. Reviewed by: jilles Differential Revision:https://reviews.freebsd.org/D14339 Modified: head/bin/sh/var.c

svn commit: r328807 - stable/11/usr.sbin/makefs

2018-02-02 Thread Bryan Drewery
Author: bdrewery Date: Fri Feb 2 21:00:06 2018 New Revision: 328807 URL: https://svnweb.freebsd.org/changeset/base/328807 Log: MFC r322894: Replace makefs' hand-rolled unescaping with strunvis Sponsored by: Dell EMC Modified: stable/11/usr.sbin/makefs/mtree.c Directory

svn commit: r328560 - in head/sys: amd64/linux amd64/linux32 compat/cloudabi32 compat/cloudabi64 compat/freebsd32 i386/ibcs2 i386/linux kern

2018-01-29 Thread Bryan Drewery
Author: bdrewery Date: Mon Jan 29 19:14:15 2018 New Revision: 328560 URL: https://svnweb.freebsd.org/changeset/base/328560 Log: Don't use an .OBJDIR for 'make sysent'. Reported by: emaste, jhb Sponsored by: Dell EMC Modified: head/sys/amd64/linux/Makefile

svn commit: r328348 - head

2018-01-24 Thread Bryan Drewery
Author: bdrewery Date: Wed Jan 24 18:09:44 2018 New Revision: 328348 URL: https://svnweb.freebsd.org/changeset/base/328348 Log: test-system-compiler: Display X_ variants for compiler/linker. Sponsored by: Dell EMC Modified: head/Makefile.inc1 Modified: head/Makefile.inc1

svn commit: r328347 - head

2018-01-24 Thread Bryan Drewery
Author: bdrewery Date: Wed Jan 24 18:08:37 2018 New Revision: 328347 URL: https://svnweb.freebsd.org/changeset/base/328347 Log: X_COMPILER_* may not be defined. Sponsored by: Dell EMC Modified: head/Makefile.inc1 head/Makefile.libcompat Modified: head/Makefile.inc1

Re: svn commit: r328218 - in head/sys: amd64/amd64 arm/xscale/ixp425 arm64/arm64 cam cam/ctl compat/ndis dev/aacraid dev/advansys dev/ath dev/beri/virtio dev/bnxt dev/bwn dev/ciss dev/cxgbe/crypto dev

2018-01-23 Thread Bryan Drewery
.) > > All in all, the compiler is not provably wrong: it's just using more > swap space, which is rather inconvenient for small platforms but not > necessarily wrong. > > Pedro. > > I haven't dug into this to understand it all, but if mallocarray() is causing this s

svn commit: r327892 - head

2018-01-12 Thread Bryan Drewery
Author: bdrewery Date: Fri Jan 12 20:40:27 2018 New Revision: 327892 URL: https://svnweb.freebsd.org/changeset/base/327892 Log: Ensure MK_LDD for bootstrap-tools matches MK_LLD_BOOTSTRAP. This fixes building libllvmminimal with MK_LLD support when WITHOUT_LLD or WITHOUT_TOOLCHAIN are

svn commit: r327858 - head/share/mk

2018-01-11 Thread Bryan Drewery
Author: bdrewery Date: Fri Jan 12 01:09:41 2018 New Revision: 327858 URL: https://svnweb.freebsd.org/changeset/base/327858 Log: Add a hack to disable AUTO_OBJ for 'old style' kernel builds. Another solution would be to extend the Makefile.sys.inc idea, or a .no_obj file, to more places

svn commit: r327857 - head

2018-01-11 Thread Bryan Drewery
Author: bdrewery Date: Fri Jan 12 01:09:30 2018 New Revision: 327857 URL: https://svnweb.freebsd.org/changeset/base/327857 Log: Cache LINKER_FEATURES to fix the wrong ones being used. Submitted by: Dan McGregor Modified: head/Makefile.inc1 Modified:

svn commit: r327847 - stable/10/usr.bin/kdump

2018-01-11 Thread Bryan Drewery
Author: bdrewery Date: Thu Jan 11 21:31:10 2018 New Revision: 327847 URL: https://svnweb.freebsd.org/changeset/base/327847 Log: MFC r284406: Use cpp -I$includedir Modified: stable/10/usr.bin/kdump/mkioctls Directory Properties: stable/10/ (props changed) Modified:

svn commit: r327797 - stable/9/gnu/usr.bin/binutils/ld

2018-01-10 Thread Bryan Drewery
Author: bdrewery Date: Wed Jan 10 21:59:21 2018 New Revision: 327797 URL: https://svnweb.freebsd.org/changeset/base/327797 Log: MFC r289410: Avoid warning race with creating 'ldscripts' directory during build. Modified: stable/9/gnu/usr.bin/binutils/ld/genscripts.sh Directory

svn commit: r327740 - head/sys/sys

2018-01-09 Thread Bryan Drewery
Author: bdrewery Date: Tue Jan 9 21:12:53 2018 New Revision: 327740 URL: https://svnweb.freebsd.org/changeset/base/327740 Log: Bump version for r327597 adding cpucontrol -e support Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h

Re: svn commit: r327523 - in head/stand/mips/beri: boot2 loader

2018-01-03 Thread Bryan Drewery
\ > +LDFLAGS+=-static \ > -T ${.CURDIR}/loader.ldscript \ > -L${.CURDIR}\ > -e __start > -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

svn commit: r326659 - head/share/mk

2017-12-07 Thread Bryan Drewery
Author: bdrewery Date: Thu Dec 7 16:37:19 2017 New Revision: 326659 URL: https://svnweb.freebsd.org/changeset/base/326659 Log: Look for libraries in OBJDIR when building outside of buildworld. This allows build testing more easily without establishing a sysroot or installing the files.

svn commit: r326649 - in head/targets/pseudo/userland: . lib

2017-12-06 Thread Bryan Drewery
Author: bdrewery Date: Thu Dec 7 01:49:35 2017 New Revision: 326649 URL: https://svnweb.freebsd.org/changeset/base/326649 Log: Disconnect OFED after r326169 broke all DIRDEPS support for it. Modified: head/targets/pseudo/userland/Makefile.depend

Re: svn commit: r326169 - in head: . contrib/ofed lib/libc/locale share/mk sys/amd64/amd64 sys/amd64/conf sys/conf sys/contrib/rdma/krping sys/dev/cxgbe sys/dev/cxgbe/common sys/dev/cxgbe/iw_cxgbe sys

2017-12-06 Thread Bryan Drewery
On 12/6/2017 4:53 PM, Hans Petter Selasky wrote: > On 12/07/17 01:38, Bryan Drewery wrote: >> 1. SUBDIR=../../somewhere else is inherently wrong. >> 2. Building a library from a directory named '2' is wrong. >> 3. Not just using proper SUBDIR_DEPEND and making all these sub

Re: svn commit: r326169 - in head: . contrib/ofed lib/libc/locale share/mk sys/amd64/amd64 sys/amd64/conf sys/conf sys/contrib/rdma/krping sys/dev/cxgbe sys/dev/cxgbe/common sys/dev/cxgbe/iw_cxgbe sys

2017-12-06 Thread Bryan Drewery
BDESTDIR}${LIBDIR_BASE}/libprivate${_l}.a > .endfor > > .for _l in ${_LIBRARIES} > -.if ${_INTERNALLIBS:M${_l}} > +.if ${_INTERNALLIBS:M${_l}} || !defined(SYSROOT) > LDADD_${_l}_L+= -L${LIB${_l:tu}DIR} > .endif > DPADD_${_l}?= ${LIB${_l:tu}} -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

Re: svn commit: r326169 - in head: . contrib/ofed lib/libc/locale share/mk sys/amd64/amd64 sys/amd64/conf sys/conf sys/contrib/rdma/krping sys/dev/cxgbe sys/dev/cxgbe/common sys/dev/cxgbe/iw_cxgbe sys

2017-12-06 Thread Bryan Drewery
On 12/6/2017 4:53 PM, Hans Petter Selasky wrote: > On 12/07/17 01:38, Bryan Drewery wrote: >> 1. SUBDIR=../../somewhere else is inherently wrong. >> 2. Building a library from a directory named '2' is wrong. >> 3. Not just using proper SUBDIR_DEPEND and making all these sub

Re: svn commit: r326169 - in head: . contrib/ofed lib/libc/locale share/mk sys/amd64/amd64 sys/amd64/conf sys/conf sys/contrib/rdma/krping sys/dev/cxgbe sys/dev/cxgbe/common sys/dev/cxgbe/iw_cxgbe sys

2017-12-06 Thread Bryan Drewery
On 12/6/2017 4:48 PM, Bryan Drewery wrote: > On 12/6/2017 4:38 PM, Bryan Drewery wrote: >> On 12/6/2017 4:28 PM, Hans Petter Selasky wrote: >>> On 12/07/17 01:10, Bryan Drewery wrote: >>>> I'm a bit speechless.  Why??  The old version was 90% fine and I sent >>

Re: svn commit: r326169 - in head: . contrib/ofed lib/libc/locale share/mk sys/amd64/amd64 sys/amd64/conf sys/conf sys/contrib/rdma/krping sys/dev/cxgbe sys/dev/cxgbe/common sys/dev/cxgbe/iw_cxgbe sys

2017-12-06 Thread Bryan Drewery
On 12/6/2017 4:38 PM, Bryan Drewery wrote: > On 12/6/2017 4:28 PM, Hans Petter Selasky wrote: >> On 12/07/17 01:10, Bryan Drewery wrote: >>> I'm a bit speechless.  Why??  The old version was 90% fine and I sent >>> you advice on how to make it work with the new layo

Re: svn commit: r326169 - in head: . contrib/ofed lib/libc/locale share/mk sys/amd64/amd64 sys/amd64/conf sys/conf sys/contrib/rdma/krping sys/dev/cxgbe sys/dev/cxgbe/common sys/dev/cxgbe/iw_cxgbe sys

2017-12-06 Thread Bryan Drewery
On 12/6/2017 4:28 PM, Hans Petter Selasky wrote: > On 12/07/17 01:10, Bryan Drewery wrote: >> I'm a bit speechless.  Why??  The old version was 90% fine and I sent >> you advice on how to make it work with the new layout. > > Hi, > > I tried to listen to your advice,

svn commit: r326648 - head

2017-12-06 Thread Bryan Drewery
Author: bdrewery Date: Thu Dec 7 00:31:28 2017 New Revision: 326648 URL: https://svnweb.freebsd.org/changeset/base/326648 Log: tinderbox/universe: Don't execute KERNCONFS lookup if not needed. Sponsored by: Dell EMC Modified: head/Makefile Modified: head/Makefile

svn commit: r326647 - head

2017-12-06 Thread Bryan Drewery
Author: bdrewery Date: Thu Dec 7 00:31:10 2017 New Revision: 326647 URL: https://svnweb.freebsd.org/changeset/base/326647 Log: Revert r325529: No longer needed after r325699. Sponsored by: Dell EMC Modified: head/Makefile Modified: head/Makefile

Re: svn commit: r326169 - in head: . contrib/ofed lib/libc/locale share/mk sys/amd64/amd64 sys/amd64/conf sys/conf sys/contrib/rdma/krping sys/dev/cxgbe sys/dev/cxgbe/common sys/dev/cxgbe/iw_cxgbe sys

2017-12-06 Thread Bryan Drewery
gt; > .include I'm a bit speechless. Why?? The old version was 90% fine and I sent you advice on how to make it work with the new layout. -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

svn commit: r326634 - head/share/mk

2017-12-06 Thread Bryan Drewery
Author: bdrewery Date: Wed Dec 6 21:00:41 2017 New Revision: 326634 URL: https://svnweb.freebsd.org/changeset/base/326634 Log: AUTO_OBJ: Don't create nested OBJDIRS with print-dir or make -n. Sponsored by: Dell EMC Modified: head/share/mk/bsd.obj.mk Modified: head/share/mk/bsd.obj.mk

svn commit: r326583 - head

2017-12-05 Thread Bryan Drewery
Author: bdrewery Date: Tue Dec 5 21:36:08 2017 New Revision: 326583 URL: https://svnweb.freebsd.org/changeset/base/326583 Log: native-xtools: Ensure GCC files are cleaned up. Because we force enable MK_GCC when building we need to also force enable it for the cleaning phase. Otherwise

svn commit: r326582 - head/share/mk

2017-12-05 Thread Bryan Drewery
Author: bdrewery Date: Tue Dec 5 21:30:22 2017 New Revision: 326582 URL: https://svnweb.freebsd.org/changeset/base/326582 Log: Deal with bmake-20170301 no longer resolving -C like it used to. Several checks assume .CURDIR is resolved, such as for determining RELDIR from SRCTOP/.CURDIR.

svn commit: r326581 - head/share/mk

2017-12-05 Thread Bryan Drewery
Author: bdrewery Date: Tue Dec 5 21:30:17 2017 New Revision: 326581 URL: https://svnweb.freebsd.org/changeset/base/326581 Log: Handle writable-but-not-a-directory cases for writable OBJDIR check. Sponsored by: Dell EMC Modified: head/share/mk/src.sys.obj.mk Modified:

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

2017-12-05 Thread Bryan Drewery
Author: bdrewery Date: Tue Dec 5 21:29:47 2017 New Revision: 326580 URL: https://svnweb.freebsd.org/changeset/base/326580 Log: AUTO_OBJ: For all top-level targets enforce using an OBJDIR. This will cause an error if the wanted OBJDIR is not writable. Previously it would cause the files

svn commit: r326569 - head/sys/modules/vmm

2017-12-05 Thread Bryan Drewery
Author: bdrewery Date: Tue Dec 5 17:23:33 2017 New Revision: 326569 URL: https://svnweb.freebsd.org/changeset/base/326569 Log: Fix cyclic dependency after r326552. The OBJS_DEPEND_GUESS mechanism was making vmx_genassym.o depend on all headers along with vmx_assym.h, though vmx_assym.h

svn commit: r326551 - head/share/mk

2017-12-04 Thread Bryan Drewery
Author: bdrewery Date: Tue Dec 5 02:23:30 2017 New Revision: 326551 URL: https://svnweb.freebsd.org/changeset/base/326551 Log: Allow Makefiles to append to DEPENDSRCS. Sponsored by: Dell EMC Modified: head/share/mk/bsd.dep.mk Modified: head/share/mk/bsd.dep.mk

svn commit: r326553 - head

2017-12-04 Thread Bryan Drewery
Author: bdrewery Date: Tue Dec 5 02:23:36 2017 New Revision: 326553 URL: https://svnweb.freebsd.org/changeset/base/326553 Log: native-xtools: Fix build without META_MODE for GCC archs. The initial kernel-toolchain is built with TARGET=MACHINE but we want GCC to have files generated for

svn commit: r326552 - head/share/mk

2017-12-04 Thread Bryan Drewery
Author: bdrewery Date: Tue Dec 5 02:23:33 2017 New Revision: 326552 URL: https://svnweb.freebsd.org/changeset/base/326552 Log: Fix DPSRCS not getting .depend.* files. Reported by: jhb MFC after:2 weeks Sponsored by: Dell EMC Modified: head/share/mk/bsd.dep.mk Modified:

svn commit: r326550 - head/sys/conf

2017-12-04 Thread Bryan Drewery
Author: bdrewery Date: Tue Dec 5 02:23:27 2017 New Revision: 326550 URL: https://svnweb.freebsd.org/changeset/base/326550 Log: DEPENDSRCS not used here. Sponsored by: Dell EMC Modified: head/sys/conf/kern.post.mk Modified: head/sys/conf/kern.post.mk

svn commit: r326549 - head/sys/conf

2017-12-04 Thread Bryan Drewery
Author: bdrewery Date: Tue Dec 5 02:23:23 2017 New Revision: 326549 URL: https://svnweb.freebsd.org/changeset/base/326549 Log: Rename DEPENDFILES_OBJS to DEPENDFILES. This is to be consistent with bsd.dep.mk using DEPENDFILES after r325677. Sponsored by: Dell EMC Modified:

svn commit: r325986 - head/share/mk

2017-11-18 Thread Bryan Drewery
Author: bdrewery Date: Sat Nov 18 21:27:33 2017 New Revision: 325986 URL: https://svnweb.freebsd.org/changeset/base/325986 Log: Remove unneeded special case for .OBJDIR=.CURDIR. The else statement is already handling this by ensuring a safe .OBJDIR is used. Sponsored by: Dell

svn commit: r325975 - head/share/mk

2017-11-18 Thread Bryan Drewery
Author: bdrewery Date: Sat Nov 18 20:10:36 2017 New Revision: 325975 URL: https://svnweb.freebsd.org/changeset/base/325975 Log: Evaluate options after including src-env.conf and before Makefile.sys.inc. Fixes top-level breakage in r325974. Pointyhat to: bdrewery Sponsored by: Dell

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

2017-11-18 Thread Bryan Drewery
On 11/18/17 12:06 PM, O. Hartmann wrote: > Am Sat, 18 Nov 2017 20:01:15 + (UTC) > Bryan Drewery <bdrew...@freebsd.org> schrieb: > >> Author: bdrewery >> Date: Sat Nov 18 20:01:15 2017 >> New Revision: 325974 >> URL: https://svnweb.freebsd.org/change

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

2017-11-18 Thread Bryan Drewery
Author: bdrewery Date: Sat Nov 18 20:01:15 2017 New Revision: 325974 URL: https://svnweb.freebsd.org/changeset/base/325974 Log: Fix top-level targets with read-only OBJDIR. This also makes it so that top-level build targets do not immediately create the OBJDIR. Only sub-make targets

svn commit: r325973 - head

2017-11-18 Thread Bryan Drewery
Author: bdrewery Date: Sat Nov 18 20:01:12 2017 New Revision: 325973 URL: https://svnweb.freebsd.org/changeset/base/325973 Log: Move top-level AUTO_OBJ logic to Makefile.sys.inc. Sponsored by: Dell Added: head/Makefile.sys.inc (contents, props changed) Modified: head/Makefile

svn commit: r325971 - head/sys/conf

2017-11-18 Thread Bryan Drewery
Author: bdrewery Date: Sat Nov 18 20:01:05 2017 New Revision: 325971 URL: https://svnweb.freebsd.org/changeset/base/325971 Log: Fix PORTS_MODULES+'make reinstallkernel' trying to run bogus 'make redeinstall'. Also fix 'make installkernel' running 'make deinstall' twice. PR:

svn commit: r325970 - head

2017-11-18 Thread Bryan Drewery
Author: bdrewery Date: Sat Nov 18 20:01:02 2017 New Revision: 325970 URL: https://svnweb.freebsd.org/changeset/base/325970 Log: Fix 'make -n' for {reinstall,distribute}kernel. PR: 201779 Sponsored by: Dell Modified: head/Makefile.inc1 Modified: head/Makefile.inc1

svn commit: r325972 - head/share/mk

2017-11-18 Thread Bryan Drewery
Author: bdrewery Date: Sat Nov 18 20:01:09 2017 New Revision: 325972 URL: https://svnweb.freebsd.org/changeset/base/325972 Log: Include Makefile.sys.inc if possible for top-level only. This will allow disabling some things like AUTO_OBJ early if not needed for the directory/targets,

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

2017-11-17 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 17 18:34:14 2017 New Revision: 325955 URL: https://svnweb.freebsd.org/changeset/base/325955 Log: Fix 'local' to not look in the source tree for the file. Usually 'local' is used along with other rules such as 'no-implicit-rule' or 'dependency' which avoids

svn commit: r325776 - in head: . sys/conf

2017-11-13 Thread Bryan Drewery
Author: bdrewery Date: Mon Nov 13 20:49:08 2017 New Revision: 325776 URL: https://svnweb.freebsd.org/changeset/base/325776 Log: Rework r325568 so all 'make LINT' targets work. Reported by: ngie Sponsored by: Dell EMC Isilon Modified: head/Makefile head/sys/conf/makeLINT.mk

Re: svn commit: r325705 - head/secure

2017-11-11 Thread Bryan Drewery
cpdump/tcpdump > + usr.sbin/ppp usr.sbin/tcpdump/tcpdump > .if ${MK_SENDMAIL} != "no" > SPROGS+=usr.sbin/sendmail > .endif > This whole list and target seems outdated. IMHO it should all be removed. -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

svn commit: r325700 - head/share/mk

2017-11-10 Thread Bryan Drewery
Author: bdrewery Date: Sat Nov 11 01:11:00 2017 New Revision: 325700 URL: https://svnweb.freebsd.org/changeset/base/325700 Log: DIRDEPS_BUILD: Fix after r325417. DIRDEPS_BUILD works just fine without defining __objdir or dealing with any of this logic. It handles its own TARGET_SPEC in

svn commit: r325699 - head/share/mk

2017-11-10 Thread Bryan Drewery
Author: bdrewery Date: Sat Nov 11 01:10:55 2017 New Revision: 325699 URL: https://svnweb.freebsd.org/changeset/base/325699 Log: Don't work out of a TARGET. directory if TARGET_ARCH is not defined. This fixes 'TARGET= make universe_kernels' creating an empty TARGET. directory and showing

svn commit: r325698 - head

2017-11-10 Thread Bryan Drewery
Author: bdrewery Date: Sat Nov 11 01:10:50 2017 New Revision: 325698 URL: https://svnweb.freebsd.org/changeset/base/325698 Log: META_MODE: Avoid some logic if disabled and allow enabling with make argument. Sponsored by: Dell EMC Isilon Modified: head/Makefile Modified: head/Makefile

svn commit: r325697 - head

2017-11-10 Thread Bryan Drewery
Author: bdrewery Date: Sat Nov 11 01:10:46 2017 New Revision: 325697 URL: https://svnweb.freebsd.org/changeset/base/325697 Log: AUTO_OBJ: Disable in non-build targets. There's no reason to create object directories for targets like 'installworld' or 'distributeworld', and the others in

svn commit: r325696 - head/share/mk

2017-11-10 Thread Bryan Drewery
Author: bdrewery Date: Sat Nov 11 01:10:41 2017 New Revision: 325696 URL: https://svnweb.freebsd.org/changeset/base/325696 Log: Handle MAKEOBJDIRPREFIX when already inside of .OBJDIR. This can happen in obscure cases with things like the kernel build. Sponsored by: Dell EMC Isilon

svn commit: r325695 - head

2017-11-10 Thread Bryan Drewery
Author: bdrewery Date: Sat Nov 11 01:10:08 2017 New Revision: 325695 URL: https://svnweb.freebsd.org/changeset/base/325695 Log: cleanworld only needs a tree walk if the expected .OBJDIR is .CURDIR. Sponsored by: Dell EMC Isilon Modified: head/Makefile.inc1 Modified: head/Makefile.inc1

Re: svn commit: r325594 - head/sys/ddb

2017-11-10 Thread Bryan Drewery
ble to run 'man'. The same could be said for opening a browser but it's more likely they're going to have another system that can load a website but not as assured it will be FreeBSD with the ddb manpage. >> db_printf("Use \"bt\" for backtrace, \"dump\&q

svn commit: r325682 - head

2017-11-10 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 10 21:52:33 2017 New Revision: 325682 URL: https://svnweb.freebsd.org/changeset/base/325682 Log: Remove rerelease target that was added in r38978. I'm not sure what this target is but it doesn't exist now and doesn't seem to have existed before.

Re: svn commit: r325568 - head

2017-11-10 Thread Bryan Drewery
\ >> +${SUB_MAKE} -DNO_OBJ LINT \ >> +> ${.CURDIR}/_.${target}.makeLINT 2>&1 || \ >> (echo "${target} 'make LINT' failed," \ >> "check _.${target}.makeLINT for details"| ${MAKEFAIL})) >> .endif >> >> > -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

svn commit: r325679 - head/share/mk

2017-11-10 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 10 20:10:05 2017 New Revision: 325679 URL: https://svnweb.freebsd.org/changeset/base/325679 Log: AUTO_OBJ: Don't create .OBJDIR with 'make -n'. Sponsored by: Dell EMC Isilon Modified: head/share/mk/sys.mk Modified: head/share/mk/sys.mk

svn commit: r325677 - head/share/mk

2017-11-10 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 10 20:09:11 2017 New Revision: 325677 URL: https://svnweb.freebsd.org/changeset/base/325677 Log: Allow consuming Makefiles to add to DEPENDFILES. Sponsored by: Dell EMC Isilon Modified: head/share/mk/bsd.dep.mk Modified: head/share/mk/bsd.dep.mk

svn commit: r325678 - in head/lib/clang: libclang libllvm

2017-11-10 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 10 20:09:15 2017 New Revision: 325678 URL: https://svnweb.freebsd.org/changeset/base/325678 Log: Tell bsd.dep.mk which depend files to dinclude. This allows the _SKIP_DEPEND optimization to work, avoiding reading the files when not needed. It also fixes

svn commit: r325675 - head/share/mk

2017-11-10 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 10 19:53:14 2017 New Revision: 325675 URL: https://svnweb.freebsd.org/changeset/base/325675 Log: AUTO_OBJ: No need to tree-walk with 'make obj' here. Sponsored by: Dell EMC Isilon Modified: head/share/mk/bsd.crunchgen.mk Modified:

svn commit: r325676 - head/share/mk

2017-11-10 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 10 19:53:17 2017 New Revision: 325676 URL: https://svnweb.freebsd.org/changeset/base/325676 Log: No need to run 'make depend' with FAST_DEPEND logic in-tree. Sponsored by: Dell EMC Isilon Modified: head/share/mk/bsd.crunchgen.mk Modified:

svn commit: r325673 - head

2017-11-10 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 10 19:53:07 2017 New Revision: 325673 URL: https://svnweb.freebsd.org/changeset/base/325673 Log: native-xtools: Fix for GCC archs. - This also adds in a _cleanobj step as needed. - This redirects TARGET/TARGET_ARCH to NXB_TARGET/NXB_TARGET_ARCH in

svn commit: r325674 - head/share/mk

2017-11-10 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 10 19:53:11 2017 New Revision: 325674 URL: https://svnweb.freebsd.org/changeset/base/325674 Log: Pass down any PROG-specific buildopts for forwarded targets. This currently has no impact. Sponsored by: Dell EMC Isilon Modified:

svn commit: r325672 - head/share/mk

2017-11-10 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 10 19:52:31 2017 New Revision: 325672 URL: https://svnweb.freebsd.org/changeset/base/325672 Log: Don't append TARGET.TARGET_ARCH if OBJTOP is already set. This avoids flipping the expected TARGET.TARGET_ARCH suffix / OBJTOP when it is already set by a

svn commit: r325634 - head/share/mk

2017-11-10 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 10 08:00:09 2017 New Revision: 325634 URL: https://svnweb.freebsd.org/changeset/base/325634 Log: Add some missed OBJS_SRCS_FILTER from r323637. Sponsored by: Dell EMC Isilon Modified: head/share/mk/bsd.clang-analyze.mk head/share/mk/bsd.progs.mk

svn commit: r325632 - in head: . rescue/rescue sbin/ipf/ipf

2017-11-09 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 10 07:52:58 2017 New Revision: 325632 URL: https://svnweb.freebsd.org/changeset/base/325632 Log: rescue ipf: Remove hacks and link in libipf directly. Sponsored by: Dell EMC Isilon Modified: head/Makefile.inc1 head/rescue/rescue/Makefile

svn commit: r325633 - in head: rescue/rescue tools/bsdbox

2017-11-09 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 10 07:53:02 2017 New Revision: 325633 URL: https://svnweb.freebsd.org/changeset/base/325633 Log: Avoid referencing private lib names directly. Sponsored by: Dell EMC Isilon Modified: head/rescue/rescue/Makefile head/tools/bsdbox/Makefile Modified:

svn commit: r325631 - head/share/mk

2017-11-09 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 10 07:52:46 2017 New Revision: 325631 URL: https://svnweb.freebsd.org/changeset/base/325631 Log: Add support for CRUNCH_LIBS_ for specifying a lib only for 1 prog. Sponsored by: Dell EMC Isilon Modified: head/share/mk/bsd.crunchgen.mk Modified:

svn commit: r325627 - head

2017-11-09 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 10 02:09:37 2017 New Revision: 325627 URL: https://svnweb.freebsd.org/changeset/base/325627 Log: Deal with src.conf for top-level MAKEOBJDIRPREFIX guard. - Don't discard SRCCONF value since it may incorrectly have MAKEOBJDIRPREFIX in it. - Add note

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

2017-11-09 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 10 02:09:33 2017 New Revision: 325626 URL: https://svnweb.freebsd.org/changeset/base/325626 Log: Handle some .OBJDIR == .CURDIR cases. - If OBJROOT is SRCTOP then don't add on TARGET.TARGET_ARCH. This only happens at the top-level, and for

svn commit: r325619 - head/share/mk

2017-11-09 Thread Bryan Drewery
Author: bdrewery Date: Thu Nov 9 22:08:07 2017 New Revision: 325619 URL: https://svnweb.freebsd.org/changeset/base/325619 Log: Mark targets .PHONY. This avoids the obvious of not running the target when expected, but also avoids META_MODE from showing 'Building'. This is mostly only

svn commit: r325570 - head/sys/conf

2017-11-08 Thread Bryan Drewery
Author: bdrewery Date: Thu Nov 9 02:37:49 2017 New Revision: 325570 URL: https://svnweb.freebsd.org/changeset/base/325570 Log: AUTO_OBJ: Fix 'old style' kernel builds using wrong .OBJDIR. There's no way currently to automatically prevent the bad .OBJDIR from being created but it can at

svn commit: r325568 - head

2017-11-08 Thread Bryan Drewery
Author: bdrewery Date: Wed Nov 8 23:41:27 2017 New Revision: 325568 URL: https://svnweb.freebsd.org/changeset/base/325568 Log: universe: Fix creating LINT files with AUTO_OBJ. These are expected to be created in .CURDIR. Reported by: kib Sponsored by: Dell EMC Isilon Modified:

svn commit: r325560 - head/share/mk

2017-11-08 Thread Bryan Drewery
Author: bdrewery Date: Wed Nov 8 18:02:01 2017 New Revision: 325560 URL: https://svnweb.freebsd.org/changeset/base/325560 Log: META_MODE: Bmake 20171028 in r325340 simplifies the meta filename. Now if the meta file is in the objdir, the objdir is stripped away from the meta filename.

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

2017-11-08 Thread Bryan Drewery
On 11/8/2017 7:25 AM, Renato Botelho wrote: > On 07/11/17 16:20, Bryan Drewery wrote: >> Author: bdrewery >> Date: Tue Nov 7 18:20:08 2017 >> New Revision: 325520 >> URL: https://svnweb.freebsd.org/changeset/base/325520 >> >> Log: >> Reenabl

svn commit: r325557 - head/share/mk

2017-11-08 Thread Bryan Drewery
Author: bdrewery Date: Wed Nov 8 16:03:58 2017 New Revision: 325557 URL: https://svnweb.freebsd.org/changeset/base/325557 Log: AUTO_OBJ: Hide 'creating dirs' output with 'make -s'. Reported by: garga Sponsored by: Dell EMC Isilon Modified: head/share/mk/local.sys.env.mk Modified:

svn commit: r325529 - head

2017-11-07 Thread Bryan Drewery
Author: bdrewery Date: Wed Nov 8 02:28:24 2017 New Revision: 325529 URL: https://svnweb.freebsd.org/changeset/base/325529 Log: AUTO_OBJ: Don't create TARGET. directories during 'make universe'. Reported by: rpokala Sponsored by: Dell EMC Isilon Modified: head/Makefile Modified:

Re: svn commit: r325504 - head/lib/libclang_rt

2017-11-07 Thread Bryan Drewery
07/2017 to 11/2017 sources (DESTDIR isn't being used in > WORLDTMP; > MK_SYSTEM_COMPILER might be causing issues right now). > In buildworld DESTDIR usually is set to WORLDTMP. But how does the comment relate to CPUTYPE? What "no longer works" about cross-builds? -- R

svn commit: r325520 - head/share/mk

2017-11-07 Thread Bryan Drewery
Author: bdrewery Date: Tue Nov 7 18:20:08 2017 New Revision: 325520 URL: https://svnweb.freebsd.org/changeset/base/325520 Log: Reenable AUTO_OBJ by default. The problem with it was a bogus .OBJDIR in some cases where creation of object directories were purposely not attempted, such as

svn commit: r325493 - head/share/mk

2017-11-06 Thread Bryan Drewery
Author: bdrewery Date: Mon Nov 6 19:33:50 2017 New Revision: 325493 URL: https://svnweb.freebsd.org/changeset/base/325493 Log: Reapply r295227: Stop hiding link install commands. This was lost in the release-pkg merge in r298107. Sponsored by: Dell EMC Isilon Modified:

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

2017-11-05 Thread Bryan Drewery
On 11/5/2017 10:56 AM, Ian Lepore wrote: > On Fri, 2017-11-03 at 17:22 -0400, Ed Maste wrote: >> "On 3 November 2017 at 16:42, Bryan Drewery <bdrew...@freebsd.org> >> wrote: >>> >>> >>>> >>>>   Differential Revision:  D12929 &

svn commit: r325457 - head/release/scripts

2017-11-05 Thread Bryan Drewery
Author: bdrewery Date: Sun Nov 5 22:29:34 2017 New Revision: 325457 URL: https://svnweb.freebsd.org/changeset/base/325457 Log: Rework r325076: Just use the pre-existing OBJDIR. Like was done in usr.sbin/mergemaster in r249906, we can just use the already-built OBJDIR for install(1).

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

2017-11-05 Thread Bryan Drewery
On 11/5/2017 8:26 AM, Simon J. Gerraty wrote: > Bryan Drewery <bdrew...@freebsd.org> wrote: >>> ${.OBJDIR} == /${RELDIR})) make[6]: Fatal errors encountered -- cannot >>> continue make[6]: >>> stopped >>> in >>> /usr/obj/usr/src/amd64.amd64

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

2017-11-05 Thread Bryan Drewery
On 11/5/2017 8:00 AM, Bryan Drewery wrote: > On 11/5/2017 2:16 AM, O. Hartmann wrote: >> Am Sat, 4 Nov 2017 22:31:33 +0100 >> "O. Hartmann" <ohartm...@walstatt.org> schrieb: >> >>> Am Sat, 4 Nov 2017 21:02:27 + (UTC) >>> "Simon

svn commit: r325437 - head/share/mk

2017-11-05 Thread Bryan Drewery
Author: bdrewery Date: Sun Nov 5 16:28:05 2017 New Revision: 325437 URL: https://svnweb.freebsd.org/changeset/base/325437 Log: Follow-up r325405: Fix assertion still for kernel module builds. Apparently they have SRCTOP set, but won't have RELDIR set since they are not in-tree.

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

2017-11-05 Thread Bryan Drewery
gt; ${.OBJDIR} == /${RELDIR})) make[6]: Fatal errors encountered -- cannot > continue make[6]: > stopped > in > /usr/obj/usr/src/amd64.amd64/sys/THOR/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-5.2.0/out/freebsd.amd64/release/bin/src/vboxdrv > *** Error code 1 > > Stop. > make[5]: stopped > in > /usr/obj/usr/src/amd64.amd64/sys/THOR/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-5.2.0/out/freebsd.amd64/release/bin/src > ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and > rebuild before > reporting the failure to the maintainer. > *** Error code 1 > [...] > > > By the way: both kernel modules are build with > > [...] > PORTS_MODULES+=x11/nvidia-driver > PORTS_MODULES+= emulators/virtualbox-ose-kmod > [...] > > in /etc/src.conf > > > Do I miss something or is this a bug? > Weird, can you try this please? http://dpaste.com/3HR1EQH.txt > > Kind regards, > > Oliver > -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

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

2017-11-04 Thread Bryan Drewery
> On Nov 4, 2017, at 18:27, Bryan Drewery <bdrew...@freebsd.org> wrote: > > Pretty sure this fixes /etc host files being used in ‘make distribution’ > (without AUTO_OBJ) as the source files to install to DESTDIR since many of > the etc dirs use NO_OBJ. > I am away from

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

2017-11-04 Thread Bryan Drewery
has run into such a case. I’ll look more when I get home and mail current@ if it did fix it. It would have regressed since the src.sys.obj.mk commit the other day. Regards, Bryan Drewery > On Nov 4, 2017, at 17:12, Bryan Drewery <bdrew...@freebsd.org> wrote: > > Author: bdrewery

svn commit: r325419 - head/share/mk

2017-11-04 Thread Bryan Drewery
Author: bdrewery Date: Sun Nov 5 00:26:28 2017 New Revision: 325419 URL: https://svnweb.freebsd.org/changeset/base/325419 Log: Avoid trying to remove a fullpath directory in CLEANDIRS. Let CLEANDIRS work relative since make is already in .OBJDIR. MFC after:2 weeks X-MFC-With:

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

2017-11-04 Thread Bryan Drewery
On 11/4/2017 5:11 PM, Don Lewis wrote: > On 4 Nov, Bryan Drewery wrote: >> On 11/4/2017 3:30 PM, Cy Schubert wrote: >>> In message <0fc7e918-dcf8-0197-6b50-5936dee23...@freebsd.org>, Bryan >>> Drewery wr >>> ites: >>>> Thi

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

2017-11-04 Thread Bryan Drewery
On 11/4/2017 4:57 PM, Bryan Drewery wrote: > On 11/4/2017 3:30 PM, Cy Schubert wrote: >> In message <0fc7e918-dcf8-0197-6b50-5936dee23...@freebsd.org>, Bryan >> Drewery wr >> ites: >>> This is an OpenPGP/MIME signed message (RFC 4880 and 3156) >>> --

svn commit: r325413 - head

2017-11-04 Thread Bryan Drewery
Author: bdrewery Date: Sun Nov 5 00:11:55 2017 New Revision: 325413 URL: https://svnweb.freebsd.org/changeset/base/325413 Log: Simplify location of bootstrap make. Sponsored by: Dell EMC Isilon Modified: head/Makefile Modified: head/Makefile

svn commit: r325414 - head/share/mk

2017-11-04 Thread Bryan Drewery
Author: bdrewery Date: Sun Nov 5 00:11:58 2017 New Revision: 325414 URL: https://svnweb.freebsd.org/changeset/base/325414 Log: AUTO_OBJ: Set .OBJDIR=.CURDIR earlier for NO_OBJ Makefiles. auto.obj.mk is loaded before the Makefile which may have NO_OBJ set inside of it. In that case we

svn commit: r325411 - head

2017-11-04 Thread Bryan Drewery
Author: bdrewery Date: Sun Nov 5 00:11:47 2017 New Revision: 325411 URL: https://svnweb.freebsd.org/changeset/base/325411 Log: Set OBJROOT/OBJTOP as make arguments. Missed in r325329. Sponsored by: Dell EMC Isilon Modified: head/Makefile.libcompat Modified: head/Makefile.libcompat

svn commit: r325418 - head/share/mk

2017-11-04 Thread Bryan Drewery
Author: bdrewery Date: Sun Nov 5 00:12:12 2017 New Revision: 325418 URL: https://svnweb.freebsd.org/changeset/base/325418 Log: AUTO_OBJ: Allow 'make cleandir obj all' combinations. The cleanobj target will not really remove the OBJDIR in this case, it will only remove the OBJDIR if only

svn commit: r325417 - head/share/mk

2017-11-04 Thread Bryan Drewery
Author: bdrewery Date: Sun Nov 5 00:12:09 2017 New Revision: 325417 URL: https://svnweb.freebsd.org/changeset/base/325417 Log: Set the expected __objdir for auto.obj.mk to try. This avoids some future discrepency that might cause auto.obj.mk to use the wrong OBJDIR. Sponsored by:

svn commit: r325412 - in head: . targets/pseudo/bootstrap-tools

2017-11-04 Thread Bryan Drewery
Author: bdrewery Date: Sun Nov 5 00:11:51 2017 New Revision: 325412 URL: https://svnweb.freebsd.org/changeset/base/325412 Log: Fix nested MAKEOBJDIRPREFIX breaking various release/buildworld/toolchain targets. This problem was caused by r325329 and r325350. For the release(7)

svn commit: r325416 - head/share/mk

2017-11-04 Thread Bryan Drewery
Author: bdrewery Date: Sun Nov 5 00:12:05 2017 New Revision: 325416 URL: https://svnweb.freebsd.org/changeset/base/325416 Log: Always try to set .OBJDIR, even if AUTO_OBJ is enabled, and fallback to .CURDIR. When AUTO_OBJ is enabled this change becomes redundant with the auto.obj.mk

svn commit: r325415 - head/share/mk

2017-11-04 Thread Bryan Drewery
Author: bdrewery Date: Sun Nov 5 00:12:02 2017 New Revision: 325415 URL: https://svnweb.freebsd.org/changeset/base/325415 Log: Validate MAKEOBJDIR after the MAKEOBJDIRPREFIX override. Sponsored by: Dell EMC Isilon Modified: head/share/mk/src.sys.obj.mk Modified:

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

2017-11-04 Thread Bryan Drewery
On 11/4/2017 3:30 PM, Cy Schubert wrote: > In message <0fc7e918-dcf8-0197-6b50-5936dee23...@freebsd.org>, Bryan > Drewery wr > ites: >> This is an OpenPGP/MIME signed message (RFC 4880 and 3156) >> --dokLDw6wDnv1gUfKm3uwMSMnWeibN2RaD >> Conten

svn commit: r325409 - stable/11/libexec/rtld-elf

2017-11-04 Thread Bryan Drewery
Author: bdrewery Date: Sat Nov 4 22:23:41 2017 New Revision: 325409 URL: https://svnweb.freebsd.org/changeset/base/325409 Log: MFC r318432: Fix some nroff syntax in rtld.1. PR: 223420 Modified: stable/11/libexec/rtld-elf/rtld.1 Directory Properties: stable/11/ (props

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