Page MenuHomeFreeBSD

sjg (Simon Gerraty)
User

Projects

User Details

User Since
Apr 9 2015, 9:27 PM (425 w, 1 d)

Recent Activity

Tue, May 23

sjg committed rG75e02c458a0d: libsecureboot ensure correct BUILD_UTC (authored by sjg).
libsecureboot ensure correct BUILD_UTC
Tue, May 23, 4:03 PM

Mon, May 22

sjg added a comment to D40191: build: Ensure assym.inc and offset.inc are generated in proper order..

The patch as is should work fine.
Though it is obviously a little confusing why we have both beforedepend and beforebuild dependencies.
You *could* put offset.inc and assym.inc into a list (naming the list is the hard bit ;-)

Mon, May 22, 11:37 PM
sjg added a comment to D40191: build: Ensure assym.inc and offset.inc are generated in proper order..

I was hoping you'd know why both were needed, since we have in bsd.dep.mk:

Mon, May 22, 11:30 PM
sjg added a comment to D40191: build: Ensure assym.inc and offset.inc are generated in proper order..

I was going to say don't make beforebuild depend on depend

Mon, May 22, 11:24 PM
sjg accepted D40190: build: Fix for sporadic build failures..

.NOPATH is usually a good idea for CLEANFILES etc

Mon, May 22, 9:25 PM

Mon, May 15

sjg committed rG92a4e8b34814: dirdeps.mk allow for TARGET_SPEC_VARS.host (authored by sjg).
dirdeps.mk allow for TARGET_SPEC_VARS.host
Mon, May 15, 8:25 PM

Sun, May 14

sjg committed rG7d86c8b8eaf5: sys.dirdeps.mk we do want to override OBJTOP (authored by sjg).
sys.dirdeps.mk we do want to override OBJTOP
Sun, May 14, 4:50 PM

Sat, May 13

sjg committed rGd489b2a39d51: local.dirdeps.mk no qual for PSEUDO_MACHINE_LIST (authored by sjg).
local.dirdeps.mk no qual for PSEUDO_MACHINE_LIST
Sat, May 13, 9:08 PM
sjg committed rG41d638f203ca: Update dirdeps.mk (authored by sjg).
Update dirdeps.mk
Sat, May 13, 9:07 PM
sjg committed rG477f6e3c963b: sys.dirdeps.mk use ?= for OBJTOP (authored by sjg).
sys.dirdeps.mk use ?= for OBJTOP
Sat, May 13, 5:49 PM
sjg committed rGe0e24ae5d658: bmake forloop test was removed (authored by sjg).
bmake forloop test was removed
Sat, May 13, 5:12 PM
sjg committed rGc1d01b5fd681: Merge bmake-20230510 (authored by sjg).
Merge bmake-20230510
Sat, May 13, 5:08 PM
sjg committed rG945078deae44: Import bmake-20230510 (authored by sjg).
Import bmake-20230510
Sat, May 13, 5:05 PM
sjg committed rGda1ef2d61930: Move MACHINE/MACHINE_ARCH handling to sys.machine.mk (authored by sjg).
Move MACHINE/MACHINE_ARCH handling to sys.machine.mk
Sat, May 13, 3:17 PM
sjg closed D40083: Move MACHINE/MACHINE_ARCH handling to sys.machine.mk.
Sat, May 13, 3:17 PM
sjg updated the diff for D40083: Move MACHINE/MACHINE_ARCH handling to sys.machine.mk.

Keep ALL_MACHINE_LIST in local.sys.dirdeps.env.mk

Sat, May 13, 5:18 AM
sjg requested review of D40083: Move MACHINE/MACHINE_ARCH handling to sys.machine.mk.
Sat, May 13, 5:13 AM
sjg committed rGd1c8420702b7: Move more DIRDEPS_BUILD settings (authored by sjg).
Move more DIRDEPS_BUILD settings
Sat, May 13, 12:43 AM

Fri, May 12

sjg committed rG722cfce5f494: Fix typo and use .Fx in WITH_DIRDEPS_BUILD (authored by sjg).
Fix typo and use .Fx in WITH_DIRDEPS_BUILD
Fri, May 12, 4:50 PM
sjg committed rG2b519b170709: Update description of WITH_DIRDEPS_BUILD (authored by sjg).
Update description of WITH_DIRDEPS_BUILD
Fri, May 12, 4:44 PM
sjg committed rGdf9974197e46: Add description of WITH_META_ERROR_TARGET (authored by sjg).
Add description of WITH_META_ERROR_TARGET
Fri, May 12, 4:23 PM

Thu, May 11

sjg committed rGbee3d4bf8ed5: Move DIRDEPS_BUILD settings to sys.dirdeps.mk (authored by sjg).
Move DIRDEPS_BUILD settings to sys.dirdeps.mk
Thu, May 11, 11:17 PM
sjg closed D40053: Move DIRDEPS_BUILD settings to sys.dirdeps.mk.
Thu, May 11, 11:16 PM
sjg updated the diff for D40053: Move DIRDEPS_BUILD settings to sys.dirdeps.mk.

Set _PARSEDIR earlier

Thu, May 11, 8:08 PM
sjg updated the diff for D40053: Move DIRDEPS_BUILD settings to sys.dirdeps.mk.

Update sys.dirdeps.mk

Thu, May 11, 5:15 AM
sjg updated the diff for D40053: Move DIRDEPS_BUILD settings to sys.dirdeps.mk.

Didn't have latest sys.dirdeps.mk

Thu, May 11, 12:28 AM

Wed, May 10

sjg requested review of D40053: Move DIRDEPS_BUILD settings to sys.dirdeps.mk.
Wed, May 10, 11:57 PM

Fri, May 5

sjg accepted D39980: mk: fix unnecessary library relinking WITH_META_MODE.

Seems reasonable

Fri, May 5, 10:00 PM
sjg accepted D39972: Makefile.inc1: use make builtin :ts instead of sed.

ok

Fri, May 5, 5:57 AM

Thu, May 4

sjg committed rGb75d7e2cbe94: md5 Makefile.depend.host (authored by sjg).
md5 Makefile.depend.host
Thu, May 4, 7:04 PM
sjg committed rGe5e345a4b0aa: local.dirdeps.mk skip N_host_libs for non-FreeBSD host (authored by sjg).
local.dirdeps.mk skip N_host_libs for non-FreeBSD host
Thu, May 4, 7:00 PM
sjg committed rGba4d333364ea: dirdeps.mk for host* DEP_TARGET_SPEC is just DEP_MACHINE (authored by sjg).
dirdeps.mk for host* DEP_TARGET_SPEC is just DEP_MACHINE
Thu, May 4, 6:30 PM
sjg committed rG42d088299cd4: Update meta.sys.mk ensure DEP_* set at level 1+ (authored by sjg).
Update meta.sys.mk ensure DEP_* set at level 1+
Thu, May 4, 4:47 PM

May 3 2023

sjg committed rG9f27341c336a: local.meta.sys.mk set BOOTSTRAPPING (authored by sjg).
local.meta.sys.mk set BOOTSTRAPPING
May 3 2023, 7:21 PM

Apr 27 2023

sjg committed rG090e9752d729: Additions to targets/pseudo/host-tools (authored by sjg).
Additions to targets/pseudo/host-tools
Apr 27 2023, 9:18 PM
sjg committed rGe020aa37b858: jobs.mk report JOB_ARGS log and JOB_LOG_START (authored by sjg).
jobs.mk report JOB_ARGS log and JOB_LOG_START
Apr 27 2023, 8:42 PM

Apr 25 2023

sjg committed rG4b932c2c9ef7: Set MK_host_egacy=yes earlier (authored by sjg).
Set MK_host_egacy=yes earlier
Apr 25 2023, 7:27 AM

Apr 24 2023

sjg committed rGcb3c414f2ff3: bmake does not need libegacy (authored by sjg).
bmake does not need libegacy
Apr 24 2023, 11:56 PM
sjg committed rG8c973ee23d64: Merge bmake-20230414 (authored by sjg).
Merge bmake-20230414
Apr 24 2023, 11:51 PM
sjg committed rG51d8a8b4ac1d: Import bmake-20230414 (authored by sjg).
Import bmake-20230414
Apr 24 2023, 11:46 PM
sjg committed rG644d346d998e: We do not need readpassphrase from openssh (authored by sjg).
We do not need readpassphrase from openssh
Apr 24 2023, 8:51 PM
sjg closed D39766: Enable building tar for non-FreeBSD host.
Apr 24 2023, 5:21 PM
sjg committed rG976ba7f02a21: Enable building tar for non-FreeBSD host (authored by sjg).
Enable building tar for non-FreeBSD host
Apr 24 2023, 5:21 PM
sjg updated the diff for D39766: Enable building tar for non-FreeBSD host.

Use BROKEN_OPTIONS for TESTS

Apr 24 2023, 5:12 PM
sjg abandoned D39541: Simplify building host tools for non-FreeBSD hosts.
Apr 24 2023, 4:29 PM
sjg updated the diff for D39766: Enable building tar for non-FreeBSD host.

Disable MK_TESTS in src.opts.mk when appropriate

Apr 24 2023, 3:55 PM

Apr 23 2023

sjg committed rGa1bf1a1a7513: showconfig - ignore options that do not start with A-Z (authored by sjg).
showconfig - ignore options that do not start with A-Z
Apr 23 2023, 11:53 PM
sjg updated the diff for D39766: Enable building tar for non-FreeBSD host.

Do not block target tests of tar when building on non-FreeBSD

Apr 23 2023, 8:58 PM
sjg committed rGbaf2dc6476a9: Set UPDATE_DEPDFILE=NO for showconfig (authored by sjg).
Set UPDATE_DEPDFILE=NO for showconfig
Apr 23 2023, 8:45 PM
sjg committed rGd7e3299f607f: Ensure good exit status from type (authored by sjg).
Ensure good exit status from type
Apr 23 2023, 6:18 AM
sjg added inline comments to D39766: Enable building tar for non-FreeBSD host.
Apr 23 2023, 3:52 AM
sjg updated the diff for D39766: Enable building tar for non-FreeBSD host.

Add includes.h to include/linux

Apr 23 2023, 3:49 AM
sjg added inline comments to D39766: Enable building tar for non-FreeBSD host.
Apr 23 2023, 3:31 AM
sjg updated the diff for D39766: Enable building tar for non-FreeBSD host.

Get _PATH_TTY from paths.h

Apr 23 2023, 3:28 AM
sjg updated the diff for D39766: Enable building tar for non-FreeBSD host.

Add readpassphrase to libegacy to avoid libbsd

Apr 23 2023, 2:11 AM
sjg added inline comments to D39766: Enable building tar for non-FreeBSD host.
Apr 23 2023, 1:21 AM
sjg committed rG04989ef426f9: bmake 20230123 gives us .SYSPATH (authored by sjg).
bmake 20230123 gives us .SYSPATH
Apr 23 2023, 1:17 AM
sjg committed rGfb30bb0d4d0e: dirdeps.mk ensure M_dep_qual_fixes is applied (authored by sjg).
dirdeps.mk ensure M_dep_qual_fixes is applied
Apr 23 2023, 1:02 AM
sjg committed rG3483454556d0: local.meta.sys.mk skip OBJTOP for host (authored by sjg).
local.meta.sys.mk skip OBJTOP for host
Apr 23 2023, 1:01 AM

Apr 22 2023

sjg added inline comments to D39766: Enable building tar for non-FreeBSD host.
Apr 22 2023, 11:53 PM
sjg requested review of D39766: Enable building tar for non-FreeBSD host.
Apr 22 2023, 10:31 PM
sjg committed rGcf20b1f81c10: Extract some of local.meta.sys.mk to local.meta.sys.env.mk (authored by sjg).
Extract some of local.meta.sys.mk to local.meta.sys.env.mk
Apr 22 2023, 10:09 PM
sjg committed rG16161b4839ff: makeman export UPDATE_DEPENFILE=no (authored by sjg).
makeman export UPDATE_DEPENFILE=no
Apr 22 2023, 9:58 PM
sjg committed rG188bf8876fdc: Build host tools on non-FreeBSD host with DIRDEPS_BUILD (authored by sjg).
Build host tools on non-FreeBSD host with DIRDEPS_BUILD
Apr 22 2023, 8:15 PM
sjg closed D39757: Build host tools on non-FreeBSD host with DIRDEPS_BUILD.
Apr 22 2023, 8:14 PM
sjg updated the diff for D39757: Build host tools on non-FreeBSD host with DIRDEPS_BUILD.

Excise tar makefile

Apr 22 2023, 8:12 PM
sjg updated the diff for D39757: Build host tools on non-FreeBSD host with DIRDEPS_BUILD.

Drop libarchive and tar for now

Apr 22 2023, 8:06 PM
sjg closed D39751: Allow tools/build to work for DIRDEPS_BUILD.
Apr 22 2023, 7:27 PM
sjg committed rGdb98bc2c0d3a: Allow tools/build to work for DIRDEPS_BUILD (authored by sjg).
Allow tools/build to work for DIRDEPS_BUILD
Apr 22 2023, 7:27 PM
sjg updated the diff for D39751: Allow tools/build to work for DIRDEPS_BUILD.

Lose tar bits for now

Apr 22 2023, 7:17 PM
sjg closed D39744: Simplify building host tools during DIRDEPS_BUILD.
Apr 22 2023, 7:03 PM
sjg committed rG8561d0b2ec50: Simplify building host tools during DIRDEPS_BUILD (authored by sjg).
Simplify building host tools during DIRDEPS_BUILD
Apr 22 2023, 7:03 PM
sjg updated the diff for D39744: Simplify building host tools during DIRDEPS_BUILD.

Move some common bits of non-FreeBSD handling out of src.init.linux.mk

Apr 22 2023, 5:30 PM
sjg added inline comments to D39744: Simplify building host tools during DIRDEPS_BUILD.
Apr 22 2023, 6:28 AM
sjg updated the diff for D39744: Simplify building host tools during DIRDEPS_BUILD.

Remove -D__unused no longer needed.

Apr 22 2023, 6:27 AM
sjg requested review of D39757: Build host tools on non-FreeBSD host with DIRDEPS_BUILD.
Apr 22 2023, 12:20 AM
sjg updated the diff for D39744: Simplify building host tools during DIRDEPS_BUILD.

We only need -D_GNU_SOURCE

Apr 22 2023, 12:01 AM

Apr 21 2023

sjg updated the diff for D39751: Allow tools/build to work for DIRDEPS_BUILD.

Fix grammar in comment

Apr 21 2023, 11:53 PM
sjg updated the diff for D39744: Simplify building host tools during DIRDEPS_BUILD.

Make src.init.linux.mk mimic what buildworld does wrt -Is

Apr 21 2023, 11:48 PM
sjg updated the diff for D39751: Allow tools/build to work for DIRDEPS_BUILD.

Reduce to minimal change

Apr 21 2023, 11:33 PM
sjg added a comment to D39751: Allow tools/build to work for DIRDEPS_BUILD.

Again, the non-dirdeps build depend on side effects of multiple targets - it doesn't even *have* a standalone target to build any of this.

But you should make sure to use the same set of headers, compatibility files and compiler flags, then you won't need any changes to source files, just dirdeps build system bits to arrange things to match. The fact that you have to make changes to them points at the dirdeps environment being fundamentally different in ways that it shouldn't be.

Apr 21 2023, 8:43 PM
sjg added a comment to D39751: Allow tools/build to work for DIRDEPS_BUILD.

Why are any of these tools/build/cross-build changes needed? Non-dirdeps does not need these. Fix your dirdeps build to match that case.

Apr 21 2023, 7:29 PM
sjg updated the diff for D39751: Allow tools/build to work for DIRDEPS_BUILD.

Add comments to linux sys/_types.h

Apr 21 2023, 7:27 PM
sjg updated the diff for D39751: Allow tools/build to work for DIRDEPS_BUILD.

mkimg needs Makefile.depend.options to get libegacy

Apr 21 2023, 7:25 PM
sjg updated the diff for D39744: Simplify building host tools during DIRDEPS_BUILD.

Ensure sys/types.h included before err.h and we don't have issue with va_list

Apr 21 2023, 7:20 PM
sjg updated the diff for D39751: Allow tools/build to work for DIRDEPS_BUILD.

Stage common sys/_types.h too

Apr 21 2023, 7:17 PM
sjg added a comment to D39744: Simplify building host tools during DIRDEPS_BUILD.

The changes in makefs have been discarded, there are only 2 changes outside of tools/build/ contrib/mtree uses HAVE_STRUCT_STAT_ST_FLAGS in a manner inconsistent with elsewhere (where the value matters) the changes are harmless

Ok, but you really should be getting things like __va_list from tools/build/cross-build/include/common/sys/_types.h. We don't want two ways of doing the same thing in-tree (and it's in your own best interest, too, longer term, since it means whenever someone works on the non-dirdeps build to add or fix something you'll also get the fix, rather than having to rediscover it yourself).

Apr 21 2023, 6:58 PM
sjg added a comment to D39744: Simplify building host tools during DIRDEPS_BUILD.
In D39744#904676, @sjg wrote:
In D39744#904672, @sjg wrote:

I don’t understand why you need these hacks for makefs and mkimg when they already build just fine in the non-dirdeps case.

I don't either, but the non-dirdeps build is impossible to decompose in any sensible manner, it depends on side effects of tree walks etc.

Ok, but I would much prefer the two builds use the same approach. Having divergence in the compatibility headers / source files / etc will lead to madness.

I don't disagree, but I don't see that being possible. None of these changes are harmful to the non-dirdeps build.

These ones don't touch it, but you had various diffs to the C sources for base programs that are harmful to anything but the dirdeps-on-non-freebsd build; we've tried hard to limit the diffs to base sources and contain it in build system changes and tools/build/cross-build compatibility bits.

Apr 21 2023, 6:32 PM
sjg added a comment to D39744: Simplify building host tools during DIRDEPS_BUILD.
In D39744#904672, @sjg wrote:

I don’t understand why you need these hacks for makefs and mkimg when they already build just fine in the non-dirdeps case.

I don't either, but the non-dirdeps build is impossible to decompose in any sensible manner, it depends on side effects of tree walks etc.

Ok, but I would much prefer the two builds use the same approach. Having divergence in the compatibility headers / source files / etc will lead to madness.

Apr 21 2023, 6:10 PM
sjg added a comment to D39744: Simplify building host tools during DIRDEPS_BUILD.

I don’t understand why you need these hacks for makefs and mkimg when they already build just fine in the non-dirdeps case.

Apr 21 2023, 6:04 PM
sjg updated the diff for D39751: Allow tools/build to work for DIRDEPS_BUILD.

We are unlikely to be using host32 on FreeBSD

Apr 21 2023, 5:24 PM
sjg updated the diff for D39744: Simplify building host tools during DIRDEPS_BUILD.

Address some feedback

Apr 21 2023, 5:13 PM
sjg added inline comments to D39744: Simplify building host tools during DIRDEPS_BUILD.
Apr 21 2023, 4:39 PM
sjg added inline comments to D39744: Simplify building host tools during DIRDEPS_BUILD.
Apr 21 2023, 4:19 PM
sjg added inline comments to D39744: Simplify building host tools during DIRDEPS_BUILD.
Apr 21 2023, 4:07 PM
sjg updated the diff for D39744: Simplify building host tools during DIRDEPS_BUILD.

We no longer need HAVE_STRUCT_DINODE_DI_SHORTLINK

Apr 21 2023, 3:57 PM
sjg requested review of D39751: Allow tools/build to work for DIRDEPS_BUILD.
Apr 21 2023, 3:54 PM
sjg added a comment to D39744: Simplify building host tools during DIRDEPS_BUILD.

FWIW None of these changes affect targets like buildworld,

Apr 21 2023, 6:49 AM
sjg requested review of D39744: Simplify building host tools during DIRDEPS_BUILD.
Apr 21 2023, 6:46 AM
sjg updated the diff for D39541: Simplify building host tools for non-FreeBSD hosts.

Need pseudo option for building on older or non-FreeBSD hosts
so we build libegacy (tools/build)

Apr 21 2023, 5:49 AM