Page MenuHomeFreeBSD
Feed Advanced Search

Jan 17 2020

brooks added a comment to D23197: sysent targets: further cleanup and deduplication.

I see that cheri also has a clean target in ^/sys/compat/cheriabi/Makefile; would it make sense to go ahead and add one to this common Makefile while I'm at it? It doesn't feel generally useful, but it also isn't harmful and the target would effectively just be rm -f ${GENERATED} at this point, and that Makefile could also probably use a similar (edit: cleanup, like these) with GENERATED_PREFIX=cheriabi_. (Even if it doesn't, I note that the sysent target is missing dependency on cheriabi_syscalls.c, not that it matters all that much)

Jan 17 2020, 7:54 AM

Jan 16 2020

brooks committed rP523228: Attempt to fix build on 11 (i386 and amd64) and 12 (i386)..
Attempt to fix build on 11 (i386 and amd64) and 12 (i386).
Jan 16 2020, 1:09 PM
brooks accepted D23204: Use Clang and LLD as the default toolchain for MIPS.

This seems fine. I don't think there's much evidence that anyone currently cares about n32.

Jan 16 2020, 12:44 PM
brooks accepted D23202: Allow bootstrapping mkimg on macOS/Linux.
Jan 16 2020, 11:03 AM
brooks accepted D23201: Allow bootstrapping makefs on older FreeBSD hosts and Linux/mac.
Jan 16 2020, 11:01 AM
brooks accepted D23197: sysent targets: further cleanup and deduplication.

Very nice cleanup.

Jan 16 2020, 9:14 AM

Jan 14 2020

brooks added inline comments to D23164: Introduce kern_mmap_req()..
Jan 14 2020, 5:29 AM
brooks added a comment to D23164: Introduce kern_mmap_req()..

Compiles, but needs testing.

Jan 14 2020, 5:22 AM
brooks updated the summary of D23164: Introduce kern_mmap_req()..
Jan 14 2020, 5:21 AM
brooks created D23164: Introduce kern_mmap_req()..
Jan 14 2020, 5:19 AM
brooks accepted D23059: Preserve the inherited value of the status register in cpu_set_upcall()..

This seems sensible.

Jan 14 2020, 4:28 AM
brooks accepted D23124: 2020-02-29 rm GCC 4.2.1 build infrastructure.
Jan 14 2020, 4:27 AM

Jan 10 2020

brooks added inline comments to D23124: 2020-02-29 rm GCC 4.2.1 build infrastructure.
Jan 10 2020, 10:23 PM
brooks accepted D23123: retire LLVM_LIBUNWIND option.
Jan 10 2020, 10:13 PM
brooks accepted D23122: retire BSD_CRTBEGIN option.

LGTM

Jan 10 2020, 10:08 PM
brooks added inline comments to D23096: [PowerPC] libc backwards compatibility shim for auxv change.
Jan 10 2020, 5:49 PM · PowerPC

Jan 9 2020

brooks added a comment to D23114: Document two new conventions:.

I'd rather see use switch to static_assert since that's in C11 and C++11. It's a bit unfortunate that only C++17 has the single argument version though.

Jan 9 2020, 10:57 PM
brooks accepted D23099: Set .ORDER for makesyscalls generated files.
Jan 9 2020, 6:47 PM
brooks added a comment to D23099: Set .ORDER for makesyscalls generated files.

Looks fine, I agree with the comment on irc/slack that centralizing this in a .mk file likely makes sense. It's no much code, but it's a lot of duplication.

Jan 9 2020, 6:47 PM
brooks accepted D23098: makesyscalls.lua: generate all files in /tmp, write into place at the end.

This seems fine and won't be hard to merge with our local changes.

Jan 9 2020, 6:44 PM
brooks added a comment to D23096: [PowerPC] libc backwards compatibility shim for auxv change.

I'm wondering what happens with libc's use of elf_aux_info...

Jan 9 2020, 6:42 PM · PowerPC

Jan 8 2020

brooks accepted D23083: rtld: clean up Makefile..

Looks good to me other than the minor issue on sparc64.

Jan 8 2020, 11:16 PM
brooks added inline comments to D23083: rtld: clean up Makefile..
Jan 8 2020, 6:57 PM

Jan 6 2020

brooks added a comment to D22960: New ports for WebAssembly System Interface (WASI) libc, clang builtins (compiler-rt), libc++, libcxxabi.

The missing std*.h files are due to our inability to build FreeBSD when they are installed. We really need to land D17002 and MFC it so we can eventually start installing them.

Jan 6 2020, 6:51 PM
brooks accepted D13939: Allow building bin/cat on non-FreeBSD systems.

This seems fine.

Jan 6 2020, 5:58 PM

Jan 4 2020

brooks accepted D23029: Use the freebsd-gcc6 toolchains instead of powerpc64-xtoolchain-gcc..
Jan 4 2020, 12:34 AM
brooks accepted D23013: Simplify arguments to signal handlers on mips..
Jan 4 2020, 12:24 AM

Jan 3 2020

brooks committed rP521963: Update to 9.0.1 release..
Update to 9.0.1 release.
Jan 3 2020, 9:46 PM
brooks committed rP521953: Update to a new snapshot..
Update to a new snapshot.
Jan 3 2020, 6:56 PM

Dec 20 2019

brooks committed rP520531: Additional builds with with src r354909 applied..
Additional builds with with src r354909 applied.
Dec 20 2019, 11:24 PM
brooks committed rD53701: Use "^" refer to the base URL of the SVN repository..
Use "^" refer to the base URL of the SVN repository.
Dec 20 2019, 10:22 PM
brooks closed D21949: Use "^" refer to the base URL of the SVN repository..
Dec 20 2019, 10:22 PM
brooks committed rS355965: MFC r355830:.
MFC r355830:
Dec 20 2019, 10:12 PM
brooks committed rS355964: MFC r355830:.
MFC r355830:
Dec 20 2019, 10:07 PM
brooks committed rP520528: Correct plist when OPENMP is disabled..
Correct plist when OPENMP is disabled.
Dec 20 2019, 9:52 PM
brooks added inline comments to D12773: Manage thread signal mask using a shared word, instead of syscall..
Dec 20 2019, 7:59 PM

Dec 19 2019

brooks added a reviewer for D21949: Use "^" refer to the base URL of the SVN repository.: bcr.
Dec 19 2019, 11:01 PM

Dec 18 2019

brooks committed rP520408: Update to a new snapshot..
Update to a new snapshot.
Dec 18 2019, 11:14 PM
brooks closed D22869: devel/llvm-devel: fix llvm-devel.mk vars.
Dec 18 2019, 11:14 PM
brooks accepted D22869: devel/llvm-devel: fix llvm-devel.mk vars.

LGTM. I'll commit along with and update of the snapshot shortly

Dec 18 2019, 9:46 PM

Dec 17 2019

brooks added inline comments to D12773: Manage thread signal mask using a shared word, instead of syscall..
Dec 17 2019, 10:00 PM
brooks closed D22845: Avoid a tautological bitwise compare..
Dec 17 2019, 12:10 AM
brooks committed rS355830: Avoid a tautological bitwise compare..
Avoid a tautological bitwise compare.
Dec 17 2019, 12:10 AM

Dec 16 2019

brooks created D22845: Avoid a tautological bitwise compare..
Dec 16 2019, 11:09 PM
brooks added inline comments to D12773: Manage thread signal mask using a shared word, instead of syscall..
Dec 16 2019, 7:31 PM

Dec 13 2019

brooks accepted D22800: Better copyright advice.
Dec 13 2019, 9:45 PM

Dec 12 2019

brooks committed rP519848: Update to fresh qemu-cheri and llvm-cheri snapshots..
Update to fresh qemu-cheri and llvm-cheri snapshots.
Dec 12 2019, 12:02 AM

Dec 9 2019

brooks accepted D22735: Correctly check for C++17 and higher when declaring timespec_get().
Dec 9 2019, 7:02 PM

Dec 6 2019

brooks closed D22714: sysent: Reduce duplication and improve readability..
Dec 6 2019, 11:59 PM
brooks committed rS355473: sysent: Reduce duplication and improve readability..
sysent: Reduce duplication and improve readability.
Dec 6 2019, 11:59 PM
brooks updated the diff for D22714: sysent: Reduce duplication and improve readability..
  • Improve whitespace consistency.
Dec 6 2019, 10:53 PM
brooks updated the diff for D22714: sysent: Reduce duplication and improve readability..
  • Add missing dependency
Dec 6 2019, 10:49 PM
brooks accepted D22698: makesyscalls.lua: improve config processing.

This seems like a reasonable approach.

Dec 6 2019, 10:41 PM
brooks created D22714: sysent: Reduce duplication and improve readability..
Dec 6 2019, 10:17 PM
brooks committed rS355454: MFC r355139:.
MFC r355139:
Dec 6 2019, 6:15 PM
brooks committed rS355453: MFC r355139:.
MFC r355139:
Dec 6 2019, 5:58 PM

Nov 27 2019

brooks committed rS355139: Fix a logic bug when "mask" contains a ?: operator..
Fix a logic bug when "mask" contains a ?: operator.
Nov 27 2019, 8:01 PM
brooks closed D22573: Fix a logic bug when "mask: contains a ?: operator..
Nov 27 2019, 8:01 PM
brooks created D22573: Fix a logic bug when "mask: contains a ?: operator..
Nov 27 2019, 5:38 PM

Nov 25 2019

brooks committed rP518434: Fix build with src r354909 applied..
Fix build with src r354909 applied.
Nov 25 2019, 11:26 PM
brooks committed rP518431: Restore RUN_DEPENDS on devel/git accidentally removed in r518154.
Restore RUN_DEPENDS on devel/git accidentally removed in r518154
Nov 25 2019, 10:14 PM
brooks committed rP518412: Correct the PYCLANG pattern..
Correct the PYCLANG pattern.
Nov 25 2019, 6:09 PM

Nov 22 2019

brooks committed rP518160: Fix build with src r354909 applied..
Fix build with src r354909 applied.
Nov 22 2019, 7:45 PM
brooks committed rS355011: Revert r354909: Make the warning for deprecated NO_ variables an error..
Revert r354909: Make the warning for deprecated NO_ variables an error.
Nov 22 2019, 6:41 PM
brooks closed D22496: Enable subversion support by default to remove git-subversion..

Committed in rP518154 and rP518155

Nov 22 2019, 5:44 PM
brooks committed rP518155: Actually remove devel/git-subversion as advertised in r518154..
Actually remove devel/git-subversion as advertised in r518154.
Nov 22 2019, 5:26 PM
brooks committed rP518154: Enable subversion support by default and remove git-subversion..
Enable subversion support by default and remove git-subversion.
Nov 22 2019, 5:25 PM
brooks added a reviewer for D22496: Enable subversion support by default to remove git-subversion.: emaste.

This review is born out of frustration with having to manually build git on our systems where we need git-subversion and prefer to use pkg in general.

Nov 22 2019, 12:56 AM
brooks created D22496: Enable subversion support by default to remove git-subversion..
Nov 22 2019, 12:44 AM

Nov 21 2019

brooks committed rP518112: Fix build on HEAD..
Fix build on HEAD.
Nov 21 2019, 8:52 PM
brooks committed rS354928: MFC r354694, r354699.
MFC r354694, r354699
Nov 21 2019, 12:40 AM

Nov 20 2019

brooks committed rS354921: MFC r354688:.
MFC r354688:
Nov 20 2019, 11:09 PM
brooks accepted D22468: Add csprng to approvers for PRNG code.
Nov 20 2019, 9:41 PM
brooks accepted D22466: add deprecation warning to amd.

LGTM

Nov 20 2019, 7:47 PM
brooks accepted D22464: Makefile.inc1: push /usr/libexec into the BPATH/TMPPATH .

LTGM. Adding Alex in case he has concerns about bootstrapping on MacOS/Linux.

Nov 20 2019, 7:39 PM
brooks closed D22448: Make the warning for deprecated NO_ variables an error..
Nov 20 2019, 6:37 PM
brooks committed rS354909: Make the warning for deprecated NO_ variables an error..
Make the warning for deprecated NO_ variables an error.
Nov 20 2019, 6:37 PM
brooks added a comment to D22448: Make the warning for deprecated NO_ variables an error..

Passed tinderbox (sans mips and sparc64) overnight.

Nov 20 2019, 6:34 PM

Nov 19 2019

brooks updated the diff for D22448: Make the warning for deprecated NO_ variables an error..

Fix typo.

Nov 19 2019, 11:21 PM
brooks created D22448: Make the warning for deprecated NO_ variables an error..
Nov 19 2019, 11:20 PM

Nov 16 2019

brooks accepted D22401: Check for errors from copyout() and suword*() in sv_copyout_args/strings..

LGTM

Nov 16 2019, 1:02 AM

Nov 15 2019

brooks committed rP517707: Update to a new snapshot and migrate to the llvm monorepo..
Update to a new snapshot and migrate to the llvm monorepo.
Nov 15 2019, 11:14 PM
brooks added a comment to D17002: Fix compilation with upstream clang builtin headers.

This change is required to build with an unmodified upstream LLVM since the default upstream clang builtin headers are incompatible with the ones in /usr/bin/include (see my earlier comments in this review).

--sysroot only affects the normal include paths, but does not change the search path for compiler-provided headers.
SYSTEM_COMPILER compiler should not make any difference here and will work as expected with /usr/bin/cc:

/usr/bin/cc -print-resource-dir
/usr/lib/clang/6.0.1

/usr/lib/clang/6.0.1/include contains all the necessary compiler-builtin headers (but we don't install the stddef.h/etc. headers that are incompatible)

Nov 15 2019, 9:09 PM
brooks accepted D22357: Combine ELF sysvecs for MIPS to reduce code duplication..

It's probably worth making elf_freebsd_sysvec static, but this is fine.

Nov 15 2019, 6:14 PM
brooks accepted D22382: Fix build race in bsd.files.mk.

LGTM

Nov 15 2019, 6:08 PM
brooks accepted D22380: Document required size of buffer for elf_aux_info(3)..

It's probably too late, but it would have been nice to pick one of long or int for the integer arguments...

Nov 15 2019, 5:06 PM

Nov 14 2019

brooks accepted D22371: Add sync_file_range(2) to linux(4)..

The syscalls.master bits look correct now.

Nov 14 2019, 10:05 PM
brooks accepted D22147: Add freebsd-gcc6 port..

I think this is ready to go as is. PLIST cleanups can wait IMO.

Nov 14 2019, 9:59 PM
brooks abandoned D2549: Add missing pieces for mips32 gcc-4.9 kernel build!.
Nov 14 2019, 7:45 PM
brooks commandeered D2549: Add missing pieces for mips32 gcc-4.9 kernel build!.

This revision is long OBE. Commandeer so I can abandon it.

Nov 14 2019, 7:45 PM
brooks accepted D21894: Convert in-tree sysent targets to use new makesyscalls.lua.
Nov 14 2019, 7:17 PM
brooks accepted D21893: Add flua to the base system, install to /usr/libexec.

Works for me.

Nov 14 2019, 7:16 PM
brooks accepted D21775: (WIP) Rewrite makesyscalls.sh in Lua.

Over all this is a massive improvement. I was able to port a number of local changes quickly.

Nov 14 2019, 7:13 PM
brooks committed rS354711: Tidy syscall declerations..
Tidy syscall declerations.
Nov 14 2019, 5:12 PM
brooks closed D22373: Tidy syscall declerations..
Nov 14 2019, 5:11 PM
brooks added inline comments to D22371: Add sync_file_range(2) to linux(4)..
Nov 14 2019, 5:00 PM
brooks created D22373: Tidy syscall declerations..
Nov 14 2019, 4:55 PM
brooks accepted D18613: Add driver for the VMware Paravirtual SCSI (pvscsi) controller.
Nov 14 2019, 4:35 PM

Nov 13 2019

brooks committed rS354699: Improve the description of AT_EXECPATH availability..
Improve the description of AT_EXECPATH availability.
Nov 13 2019, 11:31 PM
brooks committed rS354698: MFC r353871.
MFC r353871
Nov 13 2019, 11:26 PM