Re: svn commit: r368523 - head/sys/vm

2020-12-15 Thread Bryan Drewery
> per-thread state it may try from the "wrong" domain first. So really a > different solution to the original problem is needed. > >> I'm not sure if x86bios_alloc() needs to be attached a bit later anyway? >> >> --HPS I have reverted the change in r368673 until we come up with a more comprehensive fix. -- Regards, Bryan Drewery OpenPGP_signature Description: OpenPGP digital signature

svn commit: r368673 - head/sys/vm

2020-12-15 Thread Bryan Drewery
Author: bdrewery Date: Tue Dec 15 19:38:16 2020 New Revision: 368673 URL: https://svnweb.freebsd.org/changeset/base/368673 Log: Revert r368523 which fixed contig allocs waiting forever. This needs to account for empty NUMA domains or domains which do not satisfy the requested range.

svn commit: r368524 - head/sys/compat/linuxkpi/common/src

2020-12-10 Thread Bryan Drewery
Author: bdrewery Date: Thu Dec 10 20:45:08 2020 New Revision: 368524 URL: https://svnweb.freebsd.org/changeset/base/368524 Log: linux_dma: Ensure proper flags pass to allocators. Possibly fixes the wrong flags being passed to the kernel allocators in linux_dma_alloc_coherent() and

svn commit: r368523 - head/sys/vm

2020-12-10 Thread Bryan Drewery
Author: bdrewery Date: Thu Dec 10 20:44:29 2020 New Revision: 368523 URL: https://svnweb.freebsd.org/changeset/base/368523 Log: contig allocs: Don't retry forever on M_WAITOK. This restores behavior from before domain iterators were added in r327895 and r327896. The

svn commit: r368467 - in head: bin/chflags bin/chmod bin/cp bin/ls bin/rm bin/setfacl contrib/mtree usr.bin/du usr.bin/grep usr.bin/gzip usr.sbin/chown usr.sbin/ckdist usr.sbin/fmtree usr.sbin/setfmac

2020-12-08 Thread Bryan Drewery
Author: bdrewery Date: Tue Dec 8 23:38:26 2020 New Revision: 368467 URL: https://svnweb.freebsd.org/changeset/base/368467 Log: fts_read: Handle error from a NULL return better. This is addressing cases such as fts_read(3) encountering an [EIO] from fchdir(2) when FTS_NOCHDIR is not set.

svn commit: r367910 - in head: . share/man/man7

2020-11-20 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 20 20:11:59 2020 New Revision: 367910 URL: https://svnweb.freebsd.org/changeset/base/367910 Log: Add lists for customizing legacy and bootstrap-tools. Reviewed by: arichardson Sponsored by: Dell EMC Differential Revision:

svn commit: r367570 - head/share/mk

2020-11-10 Thread Bryan Drewery
Author: bdrewery Date: Tue Nov 10 18:05:17 2020 New Revision: 367570 URL: https://svnweb.freebsd.org/changeset/base/367570 Log: makeman: Don't require filemon with MK_DIRDEPS_BUILD. MFC after:2 weeks Reviewed by: sjg, dim (tested earlier version) Sponsored by: Dell EMC

Re: svn commit: r367459 - head/usr.sbin/syslogd

2020-11-09 Thread Bryan Drewery
continue; > lsent = sendmsg(sl->sl_socket, , 0); > if (lsent == (ssize_t)il->totalsize) > -- Regards, Bryan Drewery OpenPGP_signature Description: OpenPGP digital signature

svn commit: r367455 - head/usr.sbin/syslogd

2020-11-07 Thread Bryan Drewery
Author: bdrewery Date: Sat Nov 7 17:18:44 2020 New Revision: 367455 URL: https://svnweb.freebsd.org/changeset/base/367455 Log: syslogd: Stop trying to send remote messages through special sockets Specifically this was causing the /dev/klog fd and the signal pipe handling fd to get a

svn commit: r366594 - in head/sys: kern sys vm

2020-10-09 Thread Bryan Drewery
Author: bdrewery Date: Fri Oct 9 23:49:42 2020 New Revision: 366594 URL: https://svnweb.freebsd.org/changeset/base/366594 Log: Use unlocked page lookup for inmem() to avoid object lock contention Reviewed By: kib, markj Submitted by: mlaier Sponsored by: Dell EMC Differential

svn commit: r366343 - head/sys/kern

2020-10-01 Thread Bryan Drewery
Author: bdrewery Date: Thu Oct 1 20:08:27 2020 New Revision: 366343 URL: https://svnweb.freebsd.org/changeset/base/366343 Log: Revert r366340. CR wasn't finished and it breaks the build. Modified: head/sys/kern/vfs_bio.c Modified: head/sys/kern/vfs_bio.c

svn commit: r366340 - head/sys/kern

2020-10-01 Thread Bryan Drewery
Author: bdrewery Date: Thu Oct 1 19:17:03 2020 New Revision: 366340 URL: https://svnweb.freebsd.org/changeset/base/366340 Log: Use unlocked page lookup for inmem() to avoid object lock contention Reviewed By: kib, markj Sponsored by: Dell EMC Isilon Submitted by: mlaier

svn commit: r364223 - head/lib/libc/gen

2020-08-13 Thread Bryan Drewery
Author: bdrewery Date: Fri Aug 14 00:18:18 2020 New Revision: 364223 URL: https://svnweb.freebsd.org/changeset/base/364223 Log: syslog(3): Send proper NILVALUE if gethostname(3) fails. RFC5424 defines NILVALUE as '-'. Replace its usage with a macro and separate out the fields to be more

svn commit: r364221 - in head/lib/libbsnmp: . tests

2020-08-13 Thread Bryan Drewery
Author: bdrewery Date: Thu Aug 13 22:42:24 2020 New Revision: 364221 URL: https://svnweb.freebsd.org/changeset/base/364221 Log: Add test to for FreeBSD-SA-19:20.bsnmp Submitted by: Darrick Lew Reviewed by: cem Sponsored by: Dell EMC Differential Revision:

svn commit: r364220 - head/sys/net

2020-08-13 Thread Bryan Drewery
Author: bdrewery Date: Thu Aug 13 22:06:27 2020 New Revision: 364220 URL: https://svnweb.freebsd.org/changeset/base/364220 Log: lagg: Avoid adding a port to a lagg device being destroyed. The lagg_clone_destroy() handles detach and waiting for ifconfig callers to drain already. This

svn commit: r363463 - head/tests/sys/geom/class/mirror

2020-07-23 Thread Bryan Drewery
Author: bdrewery Date: Thu Jul 23 23:29:50 2020 New Revision: 363463 URL: https://svnweb.freebsd.org/changeset/base/363463 Log: Limit gmirror failpoint tests to the test worker This avoids injecting errors into the test system's mirrors. gnop seems like a good solution here but it

svn commit: r360476 - in head/cddl/usr.sbin/dtrace/tests: . tools

2020-04-29 Thread Bryan Drewery
Author: bdrewery Date: Wed Apr 29 21:12:32 2020 New Revision: 360476 URL: https://svnweb.freebsd.org/changeset/base/360476 Log: dtrace tests: Support globbing for excludes Downstream this makes skipping tests like common/ip/tst.*sctp*.ksh simpler. Reviewed by: vangyzen, cem, markj

svn commit: r360453 - head

2020-04-28 Thread Bryan Drewery
Author: bdrewery Date: Wed Apr 29 02:18:39 2020 New Revision: 360453 URL: https://svnweb.freebsd.org/changeset/base/360453 Log: Use universe-toolchain config(8) This is a temporary hack to aid with config(8) changing in r360443. It will not work for all cases. env PATH is used

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

2020-04-28 Thread Bryan Drewery
On 4/28/2020 3:30 PM, John Baldwin wrote: > On 4/28/20 9:09 AM, Bryan Drewery wrote: >> Author: bdrewery >> Date: Tue Apr 28 16:09:25 2020 >> New Revision: 360444 >> URL: https://svnweb.freebsd.org/changeset/base/360444 >> >> Log: >> Do

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

2020-04-28 Thread Bryan Drewery
I did not mean to commit this yet. Likely broke non-x86. Reverting now. On 4/28/2020 9:09 AM, Bryan Drewery wrote: > Author: bdrewery > Date: Tue Apr 28 16:09:28 2020 > New Revision: 360445 > URL: https://svnweb.freebsd.org/changeset/base/360445 > > Log: > ctfmerge: Assert

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

2020-04-28 Thread Bryan Drewery
Author: bdrewery Date: Tue Apr 28 18:53:49 2020 New Revision: 360448 URL: https://svnweb.freebsd.org/changeset/base/360448 Log: Revert r360445 I did not intend to commit this yet as more work is needed for non-amd64 kernels. Modified:

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

2020-04-28 Thread Bryan Drewery
Author: bdrewery Date: Tue Apr 28 16:09:28 2020 New Revision: 360445 URL: https://svnweb.freebsd.org/changeset/base/360445 Log: ctfmerge: Assert that there is enough room for types. Sponsord by: Dell EMC Differential Revision:https://reviews.freebsd.org/D24537 Modified:

svn commit: r360444 - head/sys/conf

2020-04-28 Thread Bryan Drewery
Author: bdrewery Date: Tue Apr 28 16:09:25 2020 New Revision: 360444 URL: https://svnweb.freebsd.org/changeset/base/360444 Log: Don't try ctfconvert on file without debug info. This was currently an ignored error but will change to a hard error eventually. Differential Revision:

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

2020-04-28 Thread Bryan Drewery
Author: bdrewery Date: Tue Apr 28 16:09:22 2020 New Revision: 360443 URL: https://svnweb.freebsd.org/changeset/base/360443 Log: config: Add no-ctfconvert support. Bump CONFIGVERS to 600018 for this support. Some files may purposely have debug info disabled or are *source files* that

svn commit: r360442 - in head/sys/modules: cxgb/cxgb cxgbe/iw_cxgbe rdma/krping sfxge

2020-04-28 Thread Bryan Drewery
Author: bdrewery Date: Tue Apr 28 16:09:18 2020 New Revision: 360442 URL: https://svnweb.freebsd.org/changeset/base/360442 Log: None of these use opt_sched.h Modified: head/sys/modules/cxgb/cxgb/Makefile head/sys/modules/cxgbe/iw_cxgbe/Makefile head/sys/modules/rdma/krping/Makefile

svn commit: r360441 - head/usr.sbin/syslogd

2020-04-28 Thread Bryan Drewery
Author: bdrewery Date: Tue Apr 28 16:07:15 2020 New Revision: 360441 URL: https://svnweb.freebsd.org/changeset/base/360441 Log: Restore local kernel "prog" filtering lost in r332099. This behavior is most relevant for ipfw(4) as documented in syslog.conf(5). The recent addition of

svn commit: r360139 - head/bin/sh

2020-04-20 Thread Bryan Drewery
Author: bdrewery Date: Tue Apr 21 00:37:55 2020 New Revision: 360139 URL: https://svnweb.freebsd.org/changeset/base/360139 Log: Fix build with NO_HISTORY set Reviewed by: jilles Differential Revision:https://reviews.freebsd.org/D24458 Modified: head/bin/sh/histedit.c

Re: svn commit: r359685 - in head: . etc lib/libc/gen share/mk share/termcap usr.bin/login usr.bin/vgrind usr.sbin/services_mkdb

2020-04-10 Thread Bryan Drewery
is foo.o.depend for each foo.o. Or bmake doing realpath(getcwd()) on every invocation. Improving those, or the bmake job queue, or bmake's overuse of /bin/sh, would go a lot further than the hit from this commit. -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

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

2020-04-07 Thread Bryan Drewery
On 4/7/2020 10:13 AM, Kyle Evans wrote: > On Tue, Apr 7, 2020 at 12:07 PM Bryan Drewery wrote: >> >> Author: bdrewery >> Date: Tue Apr 7 17:07:04 2020 >> New Revision: 359705 >> URL: https://svnweb.freebsd.org/changeset/base/359705 >> >> Lo

svn commit: r359705 - head/share/mk

2020-04-07 Thread Bryan Drewery
Author: bdrewery Date: Tue Apr 7 17:07:04 2020 New Revision: 359705 URL: https://svnweb.freebsd.org/changeset/base/359705 Log: NO_OBJ: Always fix .OBJDIR regardless of AUTO_OBJ. Sponsored by: Dell EMC MFC after:2 weeks Modified: head/share/mk/bsd.init.mk

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

2020-04-06 Thread Bryan Drewery
G_BOOTSTRAP} == "no" && ${COMPILER_RESOURCE_DIR} != "unknown" > && \ > +!defined(BOOTSTRAPPING) I just realized MK_CLANG_BOOTSTRAP is not going to be defined here outside of the tree. Adding :Uno will fix it. Keep in mind this current change and the

svn commit: r359475 - head/sys/vm

2020-03-30 Thread Bryan Drewery
Author: bdrewery Date: Tue Mar 31 01:12:53 2020 New Revision: 359475 URL: https://svnweb.freebsd.org/changeset/base/359475 Log: Remove dead code leftover from r331018. Sponsored by: Dell EMC Modified: head/sys/vm/vm_page.c Modified: head/sys/vm/vm_page.c

Re: svn commit: r359260 - in head: contrib/kyua etc/mtree lib lib/kyua lib/kyua/cli lib/kyua/drivers lib/kyua/engine lib/kyua/model lib/kyua/store lib/kyua/utils share/mk tools/build/mk usr.bin usr.bi

2020-03-23 Thread Bryan Drewery
On 3/23/2020 6:54 PM, Conrad Meyer wrote: > On Mon, Mar 23, 2020 at 6:25 PM Bryan Drewery wrote: >> >> On 3/23/2020 12:01 PM, Brooks Davis wrote: >>> Author: brooks >>> Date: Mon Mar 23 19:01:23 2020 >>> New Revision: 359260 >>> URL: https://s

Re: svn commit: r359260 - in head: contrib/kyua etc/mtree lib lib/kyua lib/kyua/cli lib/kyua/drivers lib/kyua/engine lib/kyua/model lib/kyua/store lib/kyua/utils share/mk tools/build/mk usr.bin usr.bi

2020-03-23 Thread Bryan Drewery
sion: https://reviews.freebsd.org/D24103 Dumb question but are we allowed to modify this code without a google contributor agreement? I was under the impression that the license was restrictive in some regard like that. -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

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

2020-03-23 Thread Bryan Drewery
7) > @@ -489,7 +489,10 @@ _libinstall: > .include > .include > .include > +#No need to install header for INTERNALLIB > +.if !defined(INTERNALLIB) > .include > +.endif > .endif > > LINKOWN?=${LIBOWN} > -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

svn commit: r357353 - head/sys/conf

2020-01-31 Thread Bryan Drewery
Author: bdrewery Date: Fri Jan 31 21:08:33 2020 New Revision: 357353 URL: https://svnweb.freebsd.org/changeset/base/357353 Log: make all is needed to generate .depend.* PR: 241746 X-MFC-With: r357043 MFC after:1 week Modified: head/sys/conf/kern.post.mk Modified:

svn commit: r356827 - head/share/mk

2020-01-17 Thread Bryan Drewery
Author: bdrewery Date: Fri Jan 17 14:29:27 2020 New Revision: 356827 URL: https://svnweb.freebsd.org/changeset/base/356827 Log: META_MODE: Allow 'make all install' to work with filemon. Filemon will add the ability to ignore the cookie if the installed file is missing. Without filemon

Re: svn commit: r354606 - in head: contrib/jemalloc contrib/jemalloc/doc contrib/jemalloc/include/jemalloc contrib/jemalloc/include/jemalloc/internal contrib/jemalloc/src lib/libc/stdlib/jemalloc

2020-01-08 Thread Bryan Drewery
lloc to version 5.2.1. > > Compilation fails for non-llvm-based platforms. -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

svn commit: r356352 - head/tests/sys/aio

2020-01-04 Thread Bryan Drewery
Author: bdrewery Date: Sat Jan 4 18:59:46 2020 New Revision: 356352 URL: https://svnweb.freebsd.org/changeset/base/356352 Log: lio_listio_empty_nowait_thread sometimes does *not* hang. The other tests consistently do hang though. Sponsored by: DellEMC Modified:

Re: svn commit: r355609 - head

2019-12-12 Thread Bryan Drewery
What ever happened to POLA? Name 1 good reason this should be an .error?! Or even a .warning for that matter. The argument I keep hearing is "we have to maintain these 3 lines of code", ok, well now it's just an annoyance to maintain with no benefit to the user. -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

svn commit: r355588 - head/share/mk

2019-12-10 Thread Bryan Drewery
Author: bdrewery Date: Tue Dec 10 18:50:50 2019 New Revision: 355588 URL: https://svnweb.freebsd.org/changeset/base/355588 Log: Fix WITHOUT_CLANG build. This decouples MK_LLVM_TARGET_ALL from MK_CLANG. It is fine if LLVM_TARGET_* are set even if MK_CLANG is disabled. It never made

Re: svn commit: r355379 - head/usr.sbin/mergemaster

2019-12-03 Thread Bryan Drewery
On 12/3/2019 7:55 PM, O. Hartmann wrote: > Am Wed, 4 Dec 2019 03:44:50 + (UTC) > Bryan Drewery schrieb: > >> Author: bdrewery >> Date: Wed Dec 4 03:44:50 2019 >> New Revision: 355379 >> URL: https://svnweb.freebsd.org/changeset/base/355379 >

svn commit: r355381 - head/usr.sbin/mergemaster

2019-12-03 Thread Bryan Drewery
Author: bdrewery Date: Wed Dec 4 04:01:53 2019 New Revision: 355381 URL: https://svnweb.freebsd.org/changeset/base/355381 Log: Use full path to sysctl(8) since /sbin is not in PATH. X-MFC-With: r355379 MFC after:2 weeks Modified: head/usr.sbin/mergemaster/mergemaster.sh

svn commit: r355379 - head/usr.sbin/mergemaster

2019-12-03 Thread Bryan Drewery
Author: bdrewery Date: Wed Dec 4 03:44:50 2019 New Revision: 355379 URL: https://svnweb.freebsd.org/changeset/base/355379 Log: Run make in parallel. This is mostly targetting the 'installconfig' phase of 'distribution' which does a full tree walk. MFC after: 2 weeks Modified:

svn commit: r354859 - head

2019-11-19 Thread Bryan Drewery
Author: bdrewery Date: Tue Nov 19 16:40:46 2019 New Revision: 354859 URL: https://svnweb.freebsd.org/changeset/base/354859 Log: WITH_SYSTEM_LINKER: Fix rebuilding lld every time. This is due to LLD_REVISION_STRING being renamed to LLD_REVISION in r351442 and the value being moved to

svn commit: r353771 - head/share/mk

2019-10-19 Thread Bryan Drewery
Author: bdrewery Date: Sat Oct 19 21:44:33 2019 New Revision: 353771 URL: https://svnweb.freebsd.org/changeset/base/353771 Log: Fix spelling of DPSRCS. Submitted by: vangyzen Sponsored by: DellEMC MFC after:2 weeks Modified: head/share/mk/bsd.dep.mk Modified:

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

2019-10-16 Thread Bryan Drewery
defined(SRCTOP) .include .endif Or rename it src.compat.mk and remove from Makefile and do .sinclude -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

svn commit: r352265 - head/contrib/mtree

2019-09-12 Thread Bryan Drewery
Author: bdrewery Date: Thu Sep 12 20:46:46 2019 New Revision: 352265 URL: https://svnweb.freebsd.org/changeset/base/352265 Log: mtree -O: Fix not descending on hash collisions MFC after:2 weeks Obtained from:NetBSD (nakayama) Modified: head/contrib/mtree/only.c Modified:

svn commit: r352262 - head/contrib/mtree

2019-09-12 Thread Bryan Drewery
Author: bdrewery Date: Thu Sep 12 18:51:59 2019 New Revision: 352262 URL: https://svnweb.freebsd.org/changeset/base/352262 Log: mtree -c: Fix username logic when getlogin(3) fails. Obtained from:NetBSD (Credit to Sascha Wildner with DragonFlyBSD) MFC after:2 weeks Modified:

svn commit: r352261 - in head: contrib/mtree contrib/netbsd-tests/usr.sbin/mtree usr.sbin/fmtree

2019-09-12 Thread Bryan Drewery
Author: bdrewery Date: Thu Sep 12 18:44:48 2019 New Revision: 352261 URL: https://svnweb.freebsd.org/changeset/base/352261 Log: mtree: Fix -f -f not considering type changes. This only lists the changed type and not other attributes so that it matches the behavior of -C as done in r66747

svn commit: r351823 - head/share/mk

2019-09-04 Thread Bryan Drewery
Author: bdrewery Date: Wed Sep 4 18:32:11 2019 New Revision: 351823 URL: https://svnweb.freebsd.org/changeset/base/351823 Log: PROGS: Build common sources before recursed PROGS_TARGETS as well when building. MFC after:2 weeks Sponsored by: DellEMC Modified:

svn commit: r346255 - head/usr.bin/jot

2019-09-03 Thread Bryan Drewery
Author: bdrewery Date: Tue Apr 16 00:41:22 2019 New Revision: 346255 URL: https://svnweb.freebsd.org/changeset/base/346255 Log: Fix 'jot -r 0 start end' to work. This allows an endless stream of random data within the given bounds. It already worked if a seed was provided as the 4th

svn commit: r351151 - head/lib/libsysdecode

2019-08-16 Thread Bryan Drewery
Author: bdrewery Date: Fri Aug 16 22:34:10 2019 New Revision: 351151 URL: https://svnweb.freebsd.org/changeset/base/351151 Log: Rework r339635 to fix .depend.tables.h handling. Avoid touching the tables.h file unless it has changed to avoid unneeded rebuilds. Also revert r350301's

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

2019-07-31 Thread Bryan Drewery
On 7/31/19 12:42 PM, Konstantin Belousov wrote: > On Wed, Jul 31, 2019 at 10:08:39AM -0700, Bryan Drewery wrote: >> On 7/30/19 10:14 PM, Konstantin Belousov wrote: >>> No, you should create a situation where the python process ends the endless >>> loop, as report

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

2019-07-31 Thread Bryan Drewery
On 7/30/19 10:14 PM, Konstantin Belousov wrote: > On Tue, Jul 30, 2019 at 08:40:28PM -0700, Bryan Drewery wrote: >> This 2nd change alone (&& count1 == 0) was sufficient to fix the endless >> loop problem. > Good, thank you. > >> >> I am not sure how to

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

2019-07-30 Thread Bryan Drewery
On 7/30/19 4:27 PM, Konstantin Belousov wrote: > On Wed, Jul 31, 2019 at 02:13:02AM +0300, Konstantin Belousov wrote: >> On Tue, Jul 30, 2019 at 03:04:57PM -0700, Bryan Drewery wrote: >>> On 7/15/2019 12:18 PM, Konstantin Belousov wrote: >>>> Author: kib >&

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

2019-07-30 Thread Bryan Drewery
On 7/30/2019 4:27 PM, Konstantin Belousov wrote: > On Wed, Jul 31, 2019 at 02:13:02AM +0300, Konstantin Belousov wrote: >> On Tue, Jul 30, 2019 at 03:04:57PM -0700, Bryan Drewery wrote: >>> On 7/15/2019 12:18 PM, Konstantin Belousov wrote: >>>> Author: kib >&

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

2019-07-30 Thread Bryan Drewery
urn (error); > - > if (timeout != NULL) > abs_timeout_init2(, timeout); > > again: > + error = umtx_key_get(sem, TYPE_SEM, GET_SHARE(flags), >uq_key); > + if (error != 0) > + return (error); > umtxq_lock(>uq_key); > umtxq_busy(>uq_key); > umtxq_insert(uq); > -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

svn commit: r350119 - head/share/mk

2019-07-18 Thread Bryan Drewery
Author: bdrewery Date: Fri Jul 19 00:15:25 2019 New Revision: 350119 URL: https://svnweb.freebsd.org/changeset/base/350119 Log: Rework some multi-output target dependency handling. This reworks my last commit in r301285 to more closely match what was in r241298 (but reverted in r294878).

svn commit: r349729 - head/share/mk

2019-07-04 Thread Bryan Drewery
Author: bdrewery Date: Thu Jul 4 14:51:44 2019 New Revision: 349729 URL: https://svnweb.freebsd.org/changeset/base/349729 Log: Consider *clean targets as non-build targets as well. MFC after:2 weeks Sponsored by: DellEMC Modified: head/share/mk/bsd.init.mk

svn commit: r349202 - head/share/mk

2019-06-19 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 19 19:19:37 2019 New Revision: 349202 URL: https://svnweb.freebsd.org/changeset/base/349202 Log: Follow-up r349065: Fix .TARGET flag ambiguity with PROGS which broke MK_TESTS. X-MFC-With: r349065 Sponsored by: DellEMC Modified: head/share/mk/bsd.sys.mk

svn commit: r349179 - head/share/mk

2019-06-18 Thread Bryan Drewery
Author: bdrewery Date: Tue Jun 18 22:00:38 2019 New Revision: 349179 URL: https://svnweb.freebsd.org/changeset/base/349179 Log: Rework r349061: Don't apply guessed dependencies if there is a custom target. This is still targeting bin/sh cyclic dependency issues. Only apply guessed

svn commit: r349099 - head/share/man/man4

2019-06-15 Thread Bryan Drewery
Author: bdrewery Date: Sun Jun 16 05:12:17 2019 New Revision: 349099 URL: https://svnweb.freebsd.org/changeset/base/349099 Log: symlinkat(2) is not covered. Modified: head/share/man/man4/filemon.4 Modified: head/share/man/man4/filemon.4

Re: svn commit: r349069 - head/gnu/lib/csu

2019-06-15 Thread Bryan Drewery
On 6/15/2019 10:08 AM, Bryan Drewery wrote: > Author: bdrewery > Date: Sat Jun 15 17:08:39 2019 > New Revision: 349069 > URL: https://svnweb.freebsd.org/changeset/base/349069 > > Log: > csu: Add proper .depend tracking for each object. > > This doesn't appear

svn commit: r349068 - head/share/mk

2019-06-15 Thread Bryan Drewery
Author: bdrewery Date: Sat Jun 15 17:08:35 2019 New Revision: 349068 URL: https://svnweb.freebsd.org/changeset/base/349068 Log: Allow DEPENDOBJS/DEPENDSRCS to work with only OBJS set and no SRCS. Default to tracking .depend.* for OBJS rather than SRCS. This helps cover some special

svn commit: r349065 - head/share/mk

2019-06-15 Thread Bryan Drewery
Author: bdrewery Date: Sat Jun 15 17:08:24 2019 New Revision: 349065 URL: https://svnweb.freebsd.org/changeset/base/349065 Log: Add various CFLAGS/LDADD overrides for the output target file. Sponsored by: DellEMC Modified: head/share/mk/bsd.README head/share/mk/bsd.sys.mk Modified:

svn commit: r349069 - head/gnu/lib/csu

2019-06-15 Thread Bryan Drewery
Author: bdrewery Date: Sat Jun 15 17:08:39 2019 New Revision: 349069 URL: https://svnweb.freebsd.org/changeset/base/349069 Log: csu: Add proper .depend tracking for each object. This doesn't appear to have ever worked. After a .depend is generated there will be duplicate .c dependencies

svn commit: r349064 - head/share/mk

2019-06-15 Thread Bryan Drewery
Author: bdrewery Date: Sat Jun 15 17:08:21 2019 New Revision: 349064 URL: https://svnweb.freebsd.org/changeset/base/349064 Log: Avoid generating DEPENDFILES='.depend.' when there's no DEPENDOBJS. MFC after:2 weeks Sponsored by: DellEMC Modified: head/share/mk/bsd.dep.mk Modified:

svn commit: r349062 - in head: bin/csh bin/sh lib/libmagic lib/ncurses/ncurses share/syscons/scrnmaps usr.bin/awk usr.bin/vi/catalog

2019-06-15 Thread Bryan Drewery
Author: bdrewery Date: Sat Jun 15 17:08:13 2019 New Revision: 349062 URL: https://svnweb.freebsd.org/changeset/base/349062 Log: Fix .depend files to work for build tools. This is somewhat of a follow-up to r335746. MFC after:2 weeks Sponsored by: DellEMC Modified:

svn commit: r349066 - head/share/mk

2019-06-15 Thread Bryan Drewery
Author: bdrewery Date: Sat Jun 15 17:08:28 2019 New Revision: 349066 URL: https://svnweb.freebsd.org/changeset/base/349066 Log: META_MODE: Delete build targets that fail. If a meta mode change is triggered but then the build fails then the next build will not retrigger meta mode. This

svn commit: r349067 - in head: gnu/lib/csu gnu/lib/libgcc gnu/lib/libgcov lib/csu

2019-06-15 Thread Bryan Drewery
Author: bdrewery Date: Sat Jun 15 17:08:32 2019 New Revision: 349067 URL: https://svnweb.freebsd.org/changeset/base/349067 Log: Support reading in .depend files. This is for an upcoming change that fixes .depend handling in here. It will cause some duplicate sources which need to be

svn commit: r349061 - head/share/mk

2019-06-15 Thread Bryan Drewery
Author: bdrewery Date: Sat Jun 15 17:08:02 2019 New Revision: 349061 URL: https://svnweb.freebsd.org/changeset/base/349061 Log: Don't force OBJS_DEPEND_GUESS headers onto all objects. This is in the case of not having any .depend.foo.o yet. Don't force add *.h as a dependency for those.

svn commit: r349063 - head/share/mk

2019-06-15 Thread Bryan Drewery
Author: bdrewery Date: Sat Jun 15 17:08:18 2019 New Revision: 349063 URL: https://svnweb.freebsd.org/changeset/base/349063 Log: Similar to r335710 avoid ccache when linking a .cc file directly. Sponsored by: DellEMC Modified: head/share/mk/bsd.suffixes.mk Modified:

svn commit: r349005 - head/sys/modules/ocs_fc

2019-06-12 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 12 23:09:10 2019 New Revision: 349005 URL: https://svnweb.freebsd.org/changeset/base/349005 Log: Don't delete .depend files outside of cleandepend. Sponsored by: DellEMC Modified: head/sys/modules/ocs_fc/Makefile Modified: head/sys/modules/ocs_fc/Makefile

svn commit: r348979 - in head/sys/modules: iwmfw iwnfw mwlfw ralfw rtwnfw usb/rsufw usb/runfw

2019-06-11 Thread Bryan Drewery
Author: bdrewery Date: Wed Jun 12 00:03:00 2019 New Revision: 348979 URL: https://svnweb.freebsd.org/changeset/base/348979 Log: Stop using .OODATE for extracting firmware. This fixes META_MODE rebuilding since it assumes that it this is a non-consistent build command. These are always

svn commit: r348976 - head/sys/modules/efirt

2019-06-11 Thread Bryan Drewery
Author: bdrewery Date: Tue Jun 11 23:35:49 2019 New Revision: 348976 URL: https://svnweb.freebsd.org/changeset/base/348976 Log: Add missing DPSRCS entry for assym.inc. This brings in various CLEANFILES/DEPENDOBJS handling. MFC after:2 weeks Sponsored by: DellEMC Modified:

svn commit: r348975 - head/sys/conf

2019-06-11 Thread Bryan Drewery
Author: bdrewery Date: Tue Jun 11 23:35:34 2019 New Revision: 348975 URL: https://svnweb.freebsd.org/changeset/base/348975 Log: Restore genassym.o to CLEANFILES. This was lost in r335910 for some reason. This also fixes a META_MODE rebuild issue in some modules [1]. MFC after:

svn commit: r348877 - head/share/mk

2019-06-10 Thread Bryan Drewery
Author: bdrewery Date: Mon Jun 10 19:38:35 2019 New Revision: 348877 URL: https://svnweb.freebsd.org/changeset/base/348877 Log: DPSRCS need to be built before recursing. MFC after:2 weeks Sponsored by: DellEMC Modified: head/share/mk/bsd.progs.mk Modified:

Re: svn commit: r347638 - in head: . etc lib/libc/gen

2019-05-16 Thread Bryan Drewery
usr.sbin/etcupdate/tests/preworld_test.sh: $SRC/etc/master.passwd usr.sbin/mergemaster/mergemaster.sh: cp -p ${SOURCEDIR}/etc/master.passwd ${TEMPROOT}/etc && I suspect there are more places than these 2 that need to be fixed still. This was a very lazy grep. Sadly I think it

svn commit: r347458 - head/sys/conf

2019-05-10 Thread Bryan Drewery
Author: bdrewery Date: Fri May 10 18:09:27 2019 New Revision: 347458 URL: https://svnweb.freebsd.org/changeset/base/347458 Log: Fix build race with machine links and genoffset.o. Generate the ilinks for all dependency objects not just the ones in the CLEAN list. Possibly related to

svn commit: r346255 - head/usr.bin/jot

2019-04-15 Thread Bryan Drewery
Author: bdrewery Date: Tue Apr 16 00:41:22 2019 New Revision: 346255 URL: https://svnweb.freebsd.org/changeset/base/346255 Log: Fix 'jot -r 0 start end' to work. This allows an endless stream of random data within the given bounds. It already worked if a seed was provided as the 4th

svn commit: r345351 - head/sys/conf

2019-03-20 Thread Bryan Drewery
Author: bdrewery Date: Wed Mar 20 22:49:41 2019 New Revision: 345351 URL: https://svnweb.freebsd.org/changeset/base/345351 Log: Build common kernel dependencies before modules. This ensures files like genassym.o and awk/mfiles are generated before descending into the modules build. It

svn commit: r344666 - head/tools/build/mk

2019-02-28 Thread Bryan Drewery
Author: bdrewery Date: Thu Feb 28 20:48:18 2019 New Revision: 344666 URL: https://svnweb.freebsd.org/changeset/base/344666 Log: bsd.nls.mk isn't optional. It is protected by MK_NLS. If it should really be optional then it needs to be documented as such in share/mk/bsd.README and

Re: svn commit: r343881 - head/lib/libutil

2019-02-07 Thread Bryan Drewery
> + if (!ufs) { > errno = 0; > goto error; > - } > - serrno = hasquota(fs, quotatype, qf->qfname, sizeof(qf->qfname)); > - if (serrno == 0) { > + } else if (serrno == 0) { > errno = EOPNOTSUPP; > goto error; > } > /usr/src/lib/libutil/quotafile.c:121: warning: 'serrno' may be used uninitialized in this function -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

svn commit: r343880 - head/sbin/ipfw

2019-02-07 Thread Bryan Drewery
Author: bdrewery Date: Thu Feb 7 21:41:27 2019 New Revision: 343880 URL: https://svnweb.freebsd.org/changeset/base/343880 Log: Fix build of r343877 MFC after:2 weeks X-MFC-with: r343877 Pointyhat to: bdrewery Modified: head/sbin/ipfw/tables.c Modified:

svn commit: r343877 - head/sbin/ipfw

2019-02-07 Thread Bryan Drewery
Author: bdrewery Date: Thu Feb 7 21:05:44 2019 New Revision: 343877 URL: https://svnweb.freebsd.org/changeset/base/343877 Log: ipfw table list: Fix showing header outside of 'all'. Properly pass down is_all to table_show_list(). This restores the behavior before r272840 so that only

Re: svn commit: r343631 - in head: . sbin sbin/pfilctl share/man/man9 sys/contrib/ipfilter/netinet sys/net sys/netinet sys/netinet6 sys/netpfil/ipfw sys/netpfil/pf

2019-01-31 Thread Bryan Drewery
ested extern > declaration of '__progname' > 23:28:54 --- all_subdir_lib --- > 23:28:54 --- clog.3.gz --- > 23:28:54 gzip -cn /usr/src/lib/msun/man/clog.3 > clog.3.gz > 23:28:54 --- all_subdir_sbin --- > 23:28:54 *** [pfilctl.o] Error code 1 > 23:28:54 > 23:28:54 make[4]: stopped in /usr/src/sbin/pfilctl -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

Re: svn commit: r343633 - head/usr.bin/shar

2019-01-31 Thread Bryan Drewery
On 1/31/19 3:21 PM, Bryan Drewery wrote: > Author: bdrewery > Date: Thu Jan 31 23:21:18 2019 > New Revision: 343633 > URL: https://svnweb.freebsd.org/changeset/base/343633 > > Log: > Shar files may be seen as binary by grep. > > Suggest using -a to egrep to pro

Re: svn commit: r343630 - in head/sys: kern sys

2019-01-31 Thread Bryan Drewery
in. I'll start thinking about and tackling generating these during the build soon. -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

svn commit: r343633 - head/usr.bin/shar

2019-01-31 Thread Bryan Drewery
Author: bdrewery Date: Thu Jan 31 23:21:18 2019 New Revision: 343633 URL: https://svnweb.freebsd.org/changeset/base/343633 Log: Shar files may be seen as binary by grep. Suggest using -a to egrep to properly see executed commands. This is a minor improvement to the manpage. A better

Re: svn commit: r340157 - in head: . tools/build tools/tools/nanobsd/embedded

2018-11-05 Thread Bryan Drewery
at doesn't seem to match its change (to build host tools for cross-os builds). Does $PATH go into the build still or not? SYSTEM_COMPILER relies on $PATH inheriting into the build. -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

Re: svn commit: r338268 - head

2018-11-05 Thread Bryan Drewery
RGET_TRIPLE}, no? It also seems like it should be in the LIBSOFT flags too; via LIBCOMPATCFLAGS. > +.endif > LIB32CPUFLAGS+= -m32 > LIB32WMAKEENV= MACHINE=i386 MACHINE_ARCH=i386 \ > MACHINE_CPU="i686 mmx sse sse2" > -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

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

2018-11-05 Thread Bryan Drewery
no changes to the sources) the `make includes` stage > now takes 28 seconds at -j1 instead of 86 seconds. > > Approved By:brooks (mentor) > Differential Revision: https://reviews.freebsd.org/D17046 -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

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

2018-11-05 Thread Bryan Drewery
might not have a valid compiler in $PATH yet. In this case just set the > +# variables that are expected by the other .mk files and return > +COMPILER_TYPE=none > +X_COMPILER_TYPE=none > +COMPILER_VERSION=0 > +X_COMPILER_VERSION=0 > +COMPILER_FEATURES=none > +.else > # command = /

Re: svn commit: r339326 - head

2018-10-13 Thread Bryan Drewery
his kind of situation also require an __L rule down > below to prevent the race, since they're both in prebuild_libs? > > Thanks, > Yes, this list is not an ordering. It's just a list. The ordering comes from __L targets which define the dependency graph. -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

svn commit: r338950 - head/usr.sbin/chown

2018-09-26 Thread Bryan Drewery
Author: bdrewery Date: Wed Sep 26 18:40:57 2018 New Revision: 338950 URL: https://svnweb.freebsd.org/changeset/base/338950 Log: Handle overflow of uid or gid in arguments for chown chown incorrectly allows a uid or gid greater than UID_MAX/GID_MAX respectively. Using such an argument

svn commit: r338738 - head/share/mk

2018-09-17 Thread Bryan Drewery
Author: bdrewery Date: Mon Sep 17 22:15:12 2018 New Revision: 338738 URL: https://svnweb.freebsd.org/changeset/base/338738 Log: DIRS: Rework how duplicated dirs are installed. - Warn if multiple DIRS have conflicting metadata - This fixes META_MODE writing to a very long .meta file that

svn commit: r338737 - head/share/mk

2018-09-17 Thread Bryan Drewery
Author: bdrewery Date: Mon Sep 17 22:15:09 2018 New Revision: 338737 URL: https://svnweb.freebsd.org/changeset/base/338737 Log: installdirs can be a recursive/standalone target. Sponsored by: Dell EMC Approved by: re (gjb) Modified: head/share/mk/bsd.subdir.mk Modified:

svn commit: r338736 - head/share/mk

2018-09-17 Thread Bryan Drewery
Author: bdrewery Date: Mon Sep 17 22:15:06 2018 New Revision: 338736 URL: https://svnweb.freebsd.org/changeset/base/338736 Log: PROGS: Don't redundantly process DIRS. Sponsored by: Dell EMC Approved by: re (gjb) Modified: head/share/mk/bsd.progs.mk Modified:

svn commit: r338735 - head/share/mk

2018-09-17 Thread Bryan Drewery
Author: bdrewery Date: Mon Sep 17 22:14:53 2018 New Revision: 338735 URL: https://svnweb.freebsd.org/changeset/base/338735 Log: DIRS: installdirs should also be .PHONY Sponsored by: Dell EMC Approved by: re (gjb, kib) Modified: head/share/mk/bsd.sys.mk Modified:

  1   2   3   4   5   6   7   8   9   10   >