Page MenuHomeFreeBSD
Feed Advanced Search

Mar 28 2022

brooks added a comment to D34696: amd64: improve -m32 support in machine/*.h.

I'm looking for feedback on this approach.

Mar 28 2022, 6:49 PM
brooks committed rG8601fca7895c: sysent: regen for syscallarg_t (authored by brooks).
sysent: regen for syscallarg_t
Mar 28 2022, 6:45 PM
brooks requested review of D34697: libcompat: Use WORLDTMP sysroot.
Mar 28 2022, 6:45 PM
brooks requested review of D34696: amd64: improve -m32 support in machine/*.h.
Mar 28 2022, 6:45 PM
brooks committed rGb1ad6a9000c3: syscallarg_t: Add a type for system call arguments (authored by brooks).
syscallarg_t: Add a type for system call arguments
Mar 28 2022, 6:45 PM
brooks committed rGcd8796cee0e5: share/mk: Remove obsolete reference to LINTLIBDIR (authored by brooks).
share/mk: Remove obsolete reference to LINTLIBDIR
Mar 28 2022, 6:45 PM
brooks committed R11:f7b0e813f098: devel/llvm14: Fix build on 13.0 (authored by brooks).
devel/llvm14: Fix build on 13.0
Mar 28 2022, 6:00 PM

Mar 25 2022

brooks committed R11:04e074c6fd45: devel/llvm14: Update to 14.0.0 release (authored by brooks).
devel/llvm14: Update to 14.0.0 release
Mar 25 2022, 10:50 PM

Mar 22 2022

brooks closed D34597: test-includes: improve portability.
Mar 22 2022, 8:24 PM
brooks committed rG44b36b80f578: test-includes: improve portability (authored by brooks).
test-includes: improve portability
Mar 22 2022, 8:24 PM

Mar 21 2022

brooks committed R11:809561e76a96: devel/llvm14: Update to RC4 (authored by brooks).
devel/llvm14: Update to RC4
Mar 21 2022, 10:21 PM

Mar 17 2022

brooks requested review of D34597: test-includes: improve portability.
Mar 17 2022, 11:47 PM

Mar 8 2022

brooks committed R11:d7120b446433: devel/llvm-devel: new snapshot (now LLVM 15) (authored by brooks).
devel/llvm-devel: new snapshot (now LLVM 15)
Mar 8 2022, 8:55 PM

Mar 7 2022

brooks committed R11:d224672eceb1: devel/llvm14: update to 13.0.0rc2 (authored by brooks).
devel/llvm14: update to 13.0.0rc2
Mar 7 2022, 10:15 PM

Mar 4 2022

brooks committed R11:c297fd5b8cdf: devel/llvm-morello: Add a port of Morello LLVM (authored by brooks).
devel/llvm-morello: Add a port of Morello LLVM
Mar 4 2022, 9:52 PM

Feb 16 2022

brooks accepted D34125: Mk/Uses: Add elfctl.
Feb 16 2022, 11:23 PM
brooks accepted D34125: Mk/Uses: Add elfctl.
Feb 16 2022, 9:39 PM
brooks added a comment to D34125: Mk/Uses: Add elfctl.
In D34125#776217, @jrm wrote:
In D34125#775977, @jrm wrote:

@brooks The calls to elfctl are happening in post-build, but I don't think it is straightforward to both 1. set the feature flags on the binaries under the build-tree and 2. have these binaries installed to ${STAGEDIR}.

So either you need to change things so paths are relative to ${BUILD_WRKSRC} or revert to the previous case of doing this post-install. Once flags are applied to the build binaries stage should install them, but the result is a bit ugly. Maybe my suggestion wasn't good and we should wait to see if there is a need to run elfctl on things in BUILD_WRKSRC in practice.

I had already tried doing things post-build and pointing elfctl to the binaries under ${BUILD_WRKSRC}. The outcome is often that the binaries in ${BUILD_WRKSRC} are updated, but not those under ${STAGEDIR}. This is because binaries are often staged at the end of the build stage. In other words, post-build and post-install make no difference, so I think we are unfortunately forced to point elfctl to the staged binaries. I'll spend some more time to be certain that it is indeed difficult to modify the binaries under ${BUILD_SRC}, but also have these modified binaries staged.

Feb 16 2022, 9:39 PM

Feb 15 2022

brooks added a comment to D34125: Mk/Uses: Add elfctl.
In D34125#775977, @jrm wrote:

@brooks The calls to elfctl are happening in post-build, but I don't think it is straightforward to both 1. set the feature flags on the binaries under the build-tree and 2. have these binaries installed to ${STAGEDIR}.

Feb 15 2022, 6:33 PM

Feb 14 2022

brooks committed R11:ab8ff741d75a: devel/llvm14: disable OpenMP DeviceRtl (authored by brooks).
devel/llvm14: disable OpenMP DeviceRtl
Feb 14 2022, 7:49 PM

Feb 11 2022

brooks added a comment to D34125: Mk/Uses: Add elfctl.

For general infrastructure, I think you want it to be post-build not post-install because test targets may run on the build tree binary.

Feb 11 2022, 6:58 PM

Feb 10 2022

brooks committed R11:1014f85dc2ad: devel/lvm13: fix build without LLDB (authored by brooks).
devel/lvm13: fix build without LLDB
Feb 10 2022, 6:20 PM
brooks committed R11:f0a48f0f28c2: devel/lvm13: fix build without LLDB (authored by brooks).
devel/lvm13: fix build without LLDB
Feb 10 2022, 6:13 PM
brooks committed R11:49ce081c76e4: devel/llvm14: Welcome 14.0.0rc1 (authored by brooks).
devel/llvm14: Welcome 14.0.0rc1
Feb 10 2022, 6:13 PM
brooks committed R11:6b85c3b08b78: devel/llvm14: bootstrap from llvm13 (authored by brooks).
devel/llvm14: bootstrap from llvm13
Feb 10 2022, 6:13 PM

Feb 8 2022

brooks committed R11:fa7265045779: devel/llvm13: update to 13.0.1 (authored by brooks).
devel/llvm13: update to 13.0.1
Feb 8 2022, 9:37 PM
brooks committed R11:d507e93e2f3e: devel/llvm-cheri: Update to a new snapshot (authored by brooks).
devel/llvm-cheri: Update to a new snapshot
Feb 8 2022, 12:35 AM
brooks committed R11:b00578b9b208: devel/llvm13: update to 13.0.1 (authored by brooks).
devel/llvm13: update to 13.0.1
Feb 8 2022, 12:35 AM

Feb 4 2022

brooks accepted D34152: style(9): Default to omitting $FreeBSD$.
Feb 4 2022, 8:00 PM

Feb 3 2022

brooks accepted D34152: style(9): Default to omitting $FreeBSD$.

This is a step in the right direction.

Feb 3 2022, 6:04 PM

Feb 2 2022

brooks added a comment to D34141: stand: Fix kboot issue on powerpc64 with MK_LIB32=yes.

I wonder if setting MK_BOOT=no in Makefile.libcompat where we set MK_TESTS=no would work and be cleaner?

Feb 2 2022, 8:47 PM

Jan 31 2022

brooks added inline comments to D34097: Solaris doors IPC implementation.
Jan 31 2022, 9:22 PM

Jan 27 2022

brooks accepted D34057: Remove terasic drivers used on the Cambridge BERI tablet..

The de4led driver only works with BERI and special bluespec. MTL supports a rather clunky touch screen.

Jan 27 2022, 1:03 AM

Jan 24 2022

brooks added a comment to D34005: Install llvm-libunwind's unwind headers in /usr/include.

Right now I've got:

Jan 24 2022, 7:03 PM
brooks added a comment to D34005: Install llvm-libunwind's unwind headers in /usr/include.

Seems fine. I think this will (eventually) let me remove some hacks from LLVM ports.

Jan 24 2022, 6:52 PM

Jan 22 2022

brooks accepted D34001: release: Add support for building on non-FreeBSD.
Jan 22 2022, 7:09 PM
brooks accepted D33999: release: Support -DNO_ROOT image building.

Looks good in general.

Jan 22 2022, 7:06 PM
brooks accepted D34000: install-boot.sh: Avoid - in function names for POSIX compatibility.
Jan 22 2022, 6:47 PM
brooks accepted D33998: mkisoimages.sh: Avoid creating temporary files in the current directory.

I wonder if these want a trap or exit handler

Jan 22 2022, 6:47 PM
brooks accepted D33997: Fix hand-rolled METALOG entries for installconfig during distributeworld.
Jan 22 2022, 6:43 PM

Jan 21 2022

brooks committed R11:dba1bdc3d9db: devel/llvm-devel: update to new snapshot (authored by brooks).
devel/llvm-devel: update to new snapshot
Jan 21 2022, 7:57 PM
brooks accepted D33987: user_getpeername: Use 'bool' for the compat argument..
Jan 21 2022, 5:26 PM

Jan 20 2022

brooks accepted D33964: proc: Use more appropriate types for KERN_PROC_VM_LAYOUT.

The k in kvaddr_t is like the k in kinfo.

Jan 20 2022, 6:51 PM

Jan 13 2022

brooks accepted D33886: Move struct freebsd4_ucontext to sys/i386/include/ucontext.h..
In D33886#766268, @jhb wrote:

I think this might break powerpc which has COMPAT_FREEBSD4 in GENERIC (why?).

But it shouldn't have any references to the type. Only the freebsd4_sendsig references this. grep doesn't turn up any references

Jan 13 2022, 11:21 PM
brooks added a comment to D33886: Move struct freebsd4_ucontext to sys/i386/include/ucontext.h..

I think this might break powerpc which has COMPAT_FREEBSD4 in GENERIC (why?).

Jan 13 2022, 10:44 PM
brooks accepted D33882: ia32: Sync signal context type names with i386..
Jan 13 2022, 10:09 PM
brooks added a comment to D33882: ia32: Sync signal context type names with i386..

I think this is right.

Jan 13 2022, 10:09 PM
brooks accepted D33881: Rename struct sigframe4 to struct freebsd4_sigframe..
Jan 13 2022, 10:02 PM
brooks accepted D33880: Rename struct mcontext4 to struct freebsd4_mcontext..
Jan 13 2022, 10:01 PM

Jan 12 2022

brooks added a reverting change for rG1544e0f5d1f1: syscallarg_t: Add a type for system call arguments: rG0910a41ef3b9: Revert "syscallarg_t: Add a type for system call arguments".
Jan 12 2022, 11:31 PM
brooks added a reverting change for rG3889fb8af0b6: sysent: regen for syscallarg_t: rG0910a41ef3b9: Revert "syscallarg_t: Add a type for system call arguments".
Jan 12 2022, 11:31 PM
brooks committed rG0910a41ef3b9: Revert "syscallarg_t: Add a type for system call arguments" (authored by brooks).
Revert "syscallarg_t: Add a type for system call arguments"
Jan 12 2022, 11:31 PM
brooks added a reverting change for D33780: syscallarg_t: Add a type for system call arguments: rG0910a41ef3b9: Revert "syscallarg_t: Add a type for system call arguments".
Jan 12 2022, 11:31 PM
brooks committed rG3889fb8af0b6: sysent: regen for syscallarg_t (authored by brooks).
sysent: regen for syscallarg_t
Jan 12 2022, 10:52 PM
brooks committed rG1544e0f5d1f1: syscallarg_t: Add a type for system call arguments (authored by brooks).
syscallarg_t: Add a type for system call arguments
Jan 12 2022, 10:52 PM
brooks closed D33780: syscallarg_t: Add a type for system call arguments.
Jan 12 2022, 10:52 PM

Jan 11 2022

brooks added inline comments to D33780: syscallarg_t: Add a type for system call arguments.
Jan 11 2022, 5:37 PM
brooks added inline comments to D33780: syscallarg_t: Add a type for system call arguments.
Jan 11 2022, 5:35 PM
brooks updated the diff for D33780: syscallarg_t: Add a type for system call arguments.

Remove needless cast

Jan 11 2022, 5:34 PM
brooks committed R11:bbe2fcc4d671: devel/llvm-devel: fix i386 builds, minor improvements (authored by brooks).
devel/llvm-devel: fix i386 builds, minor improvements
Jan 11 2022, 5:13 PM

Jan 7 2022

brooks committed R11:75ca21c49608: devel/llvm-devel: Update to a new snapshot (authored by brooks).
devel/llvm-devel: Update to a new snapshot
Jan 7 2022, 10:35 PM
brooks committed R11:54b14b73f45b: devel/llvm-cheri: Update to a new snapshot (authored by brooks).
devel/llvm-cheri: Update to a new snapshot
Jan 7 2022, 10:35 PM
brooks added a comment to D33780: syscallarg_t: Add a type for system call arguments.

Do you plan to also update other architectures and ABIs?

Jan 7 2022, 10:28 PM
brooks updated the diff for D33780: syscallarg_t: Add a type for system call arguments.
  • Update amd64 and arm
Jan 7 2022, 10:25 PM
brooks requested review of D33780: syscallarg_t: Add a type for system call arguments.
Jan 7 2022, 4:44 PM
brooks accepted D33754: heir: Document SYSROOT conventions.

It seems like with pkgbase you want some sort of magic packages or re-rooted pkg repo support so you can get them from the specific target's pkg repo, but that's for another day.

Jan 7 2022, 4:37 PM

Jan 6 2022

brooks added a comment to D33761: libsoft: Remove.

Does there need to be a set of ObsoleteFiles entries?

Jan 6 2022, 12:52 AM

Jan 5 2022

brooks added a comment to D33754: heir: Document SYSROOT conventions.

This seems viable, but I wonder where we envision the sysroots coming from and if it impacts the location?

Jan 5 2022, 11:31 PM
brooks accepted D33718: Fix kernel build if neither INET or INET6 is enabled.

I've got a similar patch

Jan 5 2022, 5:46 AM

Jan 4 2022

brooks accepted D33706: mips: remove saf1761.

Go ahead and remove it. We're not using that platform (Terasic DE4) except for MIPS and MIPS is gone (🎉).

Jan 4 2022, 6:16 PM

Dec 17 2021

brooks committed rGea972feea2d2: usb: remove COMPAT_32BIT ifdefs (authored by brooks).
usb: remove COMPAT_32BIT ifdefs
Dec 17 2021, 9:29 PM
brooks committed rG8010f4ad21b6: libusb: remove use of COMPAT_32BIT (authored by brooks).
libusb: remove use of COMPAT_32BIT
Dec 17 2021, 9:29 PM
brooks committed rG0ec590d24e41: usb: add 32-bit compat for FIFOs (authored by brooks).
usb: add 32-bit compat for FIFOs
Dec 17 2021, 9:29 PM
brooks committed rG45b48cbc2b58: usb: real freebsd32 support for most ioctls (authored by brooks).
usb: real freebsd32 support for most ioctls
Dec 17 2021, 9:29 PM

Dec 15 2021

brooks accepted D33452: test-includes: Build a library instead of a binary.
Dec 15 2021, 10:19 PM
brooks added a comment to D32498: Test various header files to ensure they can be included by themselves..
In D32498#756273, @imp wrote:

I had to back out the automatic testing because this is built at a time we have no libraries yet, so test-includes.c can't create a binary.
A number of options are possible, and I'll ponder them over the coming days.
My universe, which wasn't completely clean (since I use meta mode) didn't catch this possible issue.

Dec 15 2021, 4:20 PM

Dec 14 2021

brooks accepted D33450: tinybsd: Remove.
Dec 14 2021, 11:21 PM
brooks added a comment to D33450: tinybsd: Remove.

It's also not adapted to a modern METALOG-based setup which would preserve permissions correctly and allow NO_ROOT builds. There are many other options for additive image constructions including tools/tools/makeroot.

Dec 14 2021, 11:20 PM

Dec 10 2021

brooks added a comment to D33224: config(8): Add support for implications and specifying multiple files per option..

As a downstream consumer with many changes to various config/files* files I'm fine with a break, but would very much like to avoid having more than one round of large-scale changes. @manu's re-sorting of files.amd64 required completely reimplementing our changes as git had not hope of figuring out what to do. I assume the same will be true of other downstreams. If we did go to UCL it might be worth renaming the files (e.g., files-arm64.ucl)

Dec 10 2021, 6:59 PM
brooks accepted D33357: sysent: add sysent-force targets.
Dec 10 2021, 6:50 PM
brooks added a comment to D33357: sysent: add sysent-force targets.

Right now it's never a dependency. In some ways it would be nice if it was and we could stop committing generated files, but it's potential confusing if we don't have syscalls.h and sysproto.h in the tree.

Dec 10 2021, 6:50 PM
brooks accepted D33356: sysent: move away from allowing all compat options by default.

This seems fine as is or could adjust per on the conversion on adding syncalls.conf for the default ABI.

Dec 10 2021, 6:48 PM

Dec 9 2021

brooks accepted D33343: swapoff: add one more variant of the syscall.

Looks good. Thank you!

Dec 9 2021, 12:43 AM

Dec 8 2021

brooks added inline comments to D33343: swapoff: add one more variant of the syscall.
Dec 8 2021, 11:41 PM
brooks added a comment to D33343: swapoff: add one more variant of the syscall.

Thanks for working on a separate syscall.

Dec 8 2021, 9:50 PM
brooks committed rGadb12675055f: syscall_args: remove MAXARGS define (authored by brooks).
syscall_args: remove MAXARGS define
Dec 8 2021, 6:48 PM
brooks closed D33308: Make struct syscall_args machine independent.
Dec 8 2021, 6:48 PM
brooks committed rG547566526f6e: Make struct syscall_args machine independent (authored by brooks).
Make struct syscall_args machine independent
Dec 8 2021, 6:48 PM

Dec 7 2021

brooks added a reviewer for D33308: Make struct syscall_args machine independent: andrew.
Dec 7 2021, 12:33 AM
brooks committed rG022ce9617fe6: libc: get rid of NO_P1003_1B make variable (authored by brooks).
libc: get rid of NO_P1003_1B make variable
Dec 7 2021, 12:23 AM
brooks closed D33310: libc: get rid of NO_P1003_1B make variable.
Dec 7 2021, 12:23 AM

Dec 6 2021

brooks requested review of D33310: libc: get rid of NO_P1003_1B make variable.
Dec 6 2021, 11:08 PM
brooks requested review of D33308: Make struct syscall_args machine independent.
Dec 6 2021, 10:54 PM

Dec 2 2021

brooks added a comment to D33224: config(8): Add support for implications and specifying multiple files per option..
In D33224#751117, @manu wrote:

Also I'm not a fan of the automatic conversion.
I've put some work to sort files.arm64 a while ago and now it's a mess.
For example all coresight files are correctly grouped right now but this change put them in different part because some are standard, some for fdt and some for acpi.

Dec 2 2021, 5:03 PM

Dec 1 2021

brooks committed R11:0222663900dc: devel/llvm11: Add BE_WASM option (authored by brooks).
devel/llvm11: Add BE_WASM option
Dec 1 2021, 4:26 PM

Nov 30 2021

brooks committed R11:95394a8fd25d: devel/llvm1[23]: Add BE_WASM option (authored by brooks).
devel/llvm1[23]: Add BE_WASM option
Nov 30 2021, 11:02 PM

Nov 29 2021

brooks committed rG0e765d9b08dc: syscalls: regen (authored by brooks).
syscalls: regen
Nov 29 2021, 10:06 PM
brooks committed rG6d37a1670b09: syscalls: mprotect does not take a const (authored by brooks).
syscalls: mprotect does not take a const
Nov 29 2021, 10:06 PM
brooks committed rG401eec363585: syscalls: regen (authored by brooks).
syscalls: regen
Nov 29 2021, 10:06 PM
brooks committed rGd7f306c5be6f: makesyscalls: add a new SYSMUX type (authored by brooks).
makesyscalls: add a new SYSMUX type
Nov 29 2021, 10:06 PM