svn commit: r333654 - head/share/mk

2018-05-15 Thread Bryan Drewery
Author: bdrewery Date: Tue May 15 23:46:49 2018 New Revision: 333654 URL: https://svnweb.freebsd.org/changeset/base/333654 Log: Fix stale dependencies on libcasper libraries. Libcasper and its modules have no static libraries so don't define paths to them. This fixes LIBADD automatically

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

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

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

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

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

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-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

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

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 ==

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

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

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: 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: 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: 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: > >

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 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-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: 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: 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

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

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: 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: 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: 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

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: 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

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 ===

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: 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 '

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: 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: 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: 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: 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: 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: 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: 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 =

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: 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

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: 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: 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: 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: 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: 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: head/s

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: 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: head/sh

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 T

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 d

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: 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: head/share/mk/src.

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 t

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 =

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: 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
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 ad

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 la

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: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

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
bprivate${_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

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 head/targets/pseudo/userland/lib/Makefile.de

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.

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

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

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

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 bu

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: head/Makefile.inc1 =

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 set,

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 sort of compilation problem then isn't the problem the compiler? Why keep a "dangerous" function around and not actually fix it? Is there a bug somewhere to fix the compilation load? -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

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 ===

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: 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 head/sys/amd64/linux32/Make

svn commit: r331682 - in head: share/mk sys/conf

2018-03-28 Thread Bryan Drewery
Author: bdrewery Date: Wed Mar 28 16:28:20 2018 New Revision: 331682 URL: https://svnweb.freebsd.org/changeset/base/331682 Log: Avoid upwards directory walk in kernel build for finding known SYSDIR. Sponsored by: Dell EMC Modified: head/share/mk/bsd.dtb.mk head/share/mk/bsd.kmod.mk h

svn commit: r331683 - in head: share/mk sys/conf

2018-03-28 Thread Bryan Drewery
Author: bdrewery Date: Wed Mar 28 16:28:24 2018 New Revision: 331683 URL: https://svnweb.freebsd.org/changeset/base/331683 Log: Avoid looping if SYSDIR already known. Sponsored by: Dell EMC Modified: head/share/mk/bsd.dtb.mk head/share/mk/bsd.kmod.mk head/sys/conf/kmod.mk Modified:

svn commit: r332453 - in head: share/mk sys/conf

2018-04-12 Thread Bryan Drewery
Author: bdrewery Date: Thu Apr 12 20:27:57 2018 New Revision: 332453 URL: https://svnweb.freebsd.org/changeset/base/332453 Log: Fix using wrong SYSDIR after r331683. This was inadvertently overriding the first found SYSDIR with the last of /usr/src which could result in the wrong headers

svn commit: r332455 - in head: share/mk sys/conf

2018-04-12 Thread Bryan Drewery
Author: bdrewery Date: Thu Apr 12 20:48:17 2018 New Revision: 332455 URL: https://svnweb.freebsd.org/changeset/base/332455 Log: Use known SRCTOP if possible to determine SYSDIR. Suggested by: sjg Sponsored by: Dell EMC Modified: head/share/mk/bsd.dtb.mk head/share/mk/bsd.kmod.mk he

svn commit: r333496 - head

2018-05-11 Thread Bryan Drewery
Author: bdrewery Date: Fri May 11 16:46:52 2018 New Revision: 333496 URL: https://svnweb.freebsd.org/changeset/base/333496 Log: Add a bunch of orphaned libraries. MFC after:3 days Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc =

Re: svn commit: r333496 - head

2018-05-11 Thread Bryan Drewery
On 5/11/2018 10:14 AM, Konstantin Belousov wrote: > On Fri, May 11, 2018 at 04:46:52PM +0000, Bryan Drewery wrote: >> Author: bdrewery >> Date: Fri May 11 16:46:52 2018 >> New Revision: 333496 >> URL: https://svnweb.freebsd.org/changeset/base/333496 >> >

svn commit: r333498 - head

2018-05-11 Thread Bryan Drewery
Author: bdrewery Date: Fri May 11 17:24:04 2018 New Revision: 333498 URL: https://svnweb.freebsd.org/changeset/base/333498 Log: Revert r333496. I didn't put the correct paths, nor lib32, and I may have been comparing against the wrong source tree. Modified: head/ObsoleteFiles.inc Modi

Re: svn commit: r333466 - in head: contrib/bmake sys/conf sys/kern sys/modules/epoch_test sys/sys sys/tests/epoch

2018-05-11 Thread Bryan Drewery
nt i, pollToken; > > (void)fflush(stdout); > > + pollToken = 0; > + > /* The first fd in the list is the job token pipe */ > do { > - nready = poll(fds + 1 - wantToken, nfds - 1 + wantToken, POLL_MSEC); > + nready = poll(fds + 1 - pollToken, nfds - 1

Re: svn commit: r318250 - in head: etc etc/newsyslog.conf.d etc/syslog.d tools/build/mk

2017-05-15 Thread Bryan Drewery
anged) > head/etc/syslog.d/ppp.conf (contents, props changed) > Modified: > head/etc/Makefile > head/etc/newsyslog.conf > head/etc/newsyslog.conf.d/Makefile > head/etc/syslog.conf > head/tools/build/mk/OptionalObsoleteFiles.inc +1 -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

Re: svn commit: r318313 - head/libexec/rtld-elf

2017-05-15 Thread Bryan Drewery
) to run an unsigned binary, that could be a problem for them. It is on them to add support to exec(2) to validate the special case of execing rtld with an argument, or to just disable the feature in rtld from this commit. -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

Re: svn commit: r318313 - head/libexec/rtld-elf

2017-05-15 Thread Bryan Drewery
On 5/15/2017 12:29 PM, Konstantin Belousov wrote: > On Mon, May 15, 2017 at 12:25:20PM -0700, Bryan Drewery wrote: >> On 5/15/2017 12:00 PM, Konstantin Belousov wrote: >>> On Mon, May 15, 2017 at 06:52:36PM +, Alexey Dokuchaev wrote: >>>> On Mon, May 15, 2017 a

svn commit: r318334 - head/targets/pseudo/clang

2017-05-15 Thread Bryan Drewery
Author: bdrewery Date: Tue May 16 03:12:51 2017 New Revision: 318334 URL: https://svnweb.freebsd.org/changeset/base/318334 Log: Enable llvm-objdump by default per r310775 Modified: head/targets/pseudo/clang/Makefile.depend Modified: head/targets/pseudo/clang/Makefile.depend =

Re: svn commit: r310230 - head/sys/cam/scsi

2017-05-17 Thread Bryan Drewery
"Error log overflow") }, > /* DTLPWROMAEBKVF */ > - { SST(0x0B, 0x00, SS_RDEF, > + { SST(0x0B, 0x00, SS_NOP | SSQ_PRINT_SENSE, After this change (removing SS_RETRY), will a retry still occur on the changed SENSE exceptions via something else? -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

Re: svn commit: r318757 - head

2017-05-23 Thread Bryan Drewery
> Is there a hazard for others here? > > Or more info needed in /usr/{src,ports}/UPDATING? > > -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

Re: svn commit: r318757 - head

2017-05-23 Thread Bryan Drewery
c. It is using 12.0-CURRENT rather than __FreeBSD_version of 1200031. I'm working on a fix. -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

Re: svn commit: r318757 - head

2017-05-23 Thread Bryan Drewery
On 5/23/2017 4:29 PM, Bryan Drewery wrote: > On 5/23/2017 4:24 PM, Larry Rosenman wrote: >> borg.lerctr.org /home/ler $ sudo poudriere jail -l >> JAILNAME VERSION ARCH METHOD TIMESTAMP >> PATH >> p103amd64 10.3-RELEASE-p18 amd64

Re: svn commit: r318757 - head

2017-05-24 Thread Bryan Drewery
On 5/24/17 1:17 PM, Cy Schubert wrote: > In message <1c1ab22c-60bf-4707-f635-8069aa1e0...@freebsd.org>, Bryan > Drewery wr > ites: >> This is an OpenPGP/MIME signed message (RFC 4880 and 3156) >> --sIw1a8MPU8obGIEqPMSjxuV84b026de6m >> Conten

svn commit: r319457 - head

2017-06-01 Thread Bryan Drewery
Author: bdrewery Date: Thu Jun 1 20:03:20 2017 New Revision: 319457 URL: https://svnweb.freebsd.org/changeset/base/319457 Log: META_MODE users should build with -DNO_META_IGNORE_HOST once after ino64 upgrade. See r301467 for more details. Modified: head/UPDATING Modified: head/UPDATIN

svn commit: r319459 - head

2017-06-01 Thread Bryan Drewery
Author: bdrewery Date: Thu Jun 1 20:29:48 2017 New Revision: 319459 URL: https://svnweb.freebsd.org/changeset/base/319459 Log: Revert r319457. META_MODE users actually do not need to do anything special assuming they have COMPAT_FREEBSD11 enabled. The host tools in WORLDTMP will conti

svn commit: r319481 - head/share/mk

2017-06-01 Thread Bryan Drewery
Author: bdrewery Date: Thu Jun 1 23:04:44 2017 New Revision: 319481 URL: https://svnweb.freebsd.org/changeset/base/319481 Log: META_MODE: Move ignoring of /usr/local/etc/libmap.d to proper place. This was added in r318194 but local.meta.sys.mk is only used for DIRDEPS_BUILD. Modified:

Re: svn commit: r318750 - in head/contrib: binutils/bfd binutils/ld binutils/ld/emulparams gcc gcc/config/s390

2017-06-01 Thread Bryan Drewery
1 root wheel 4374 Oct 13 2016 ldemul.o.meta The object files predate ino64 but the linked binaries do not. I did not dig into these object files more but I suspect somewhere there are mixed-ABI object files hitting this bug or that just linking pre-ino64 objects may cause a problem. I don't think linking would be a problem though. Anyway the fix for this would be to either 'make cleanworld' after upgrading to ino64, use -DNO_META_IGNORE_HOST for the first build after, or wait for my fix. I will commit a fix to force rebuild host tools through known major ABI changes to avoid this problem. For discussion of why META_MODE tries to not rebuild host tools see r301467. The gist is that a simple 'buildworld->installworld->buildworld' causes everything to rebuild due to changed host file timestamps. Really it would be better if filemon/META_MODE used file content hashing like ccache did. Then timestamps wouldn't cause such a problem here. -- Regards, Bryan Drewery signature.asc Description: OpenPGP digital signature

  1   2   3   4   5   6   7   8   9   10   >