Page MenuHomeFreeBSD
Feed Search

Tue, Jan 20

jrtc27 added a comment to D54798: ext2fs: Simplify location of entries in an HTree index.

This probably needs more of an explanation for the issue with this pattern on CHERI than we had downstream

Tue, Jan 20, 4:05 PM
jrtc27 added inline comments to D54793: pkgbase: only provide shlibs from /lib,/usr/lib,/usr/lib32.
Tue, Jan 20, 2:06 PM
jrtc27 added inline comments to D54793: pkgbase: only provide shlibs from /lib,/usr/lib,/usr/lib32.
Tue, Jan 20, 1:44 PM
jrtc27 added a comment to D54793: pkgbase: only provide shlibs from /lib,/usr/lib,/usr/lib32.

Our pkg is old enough to predate that support, but we're also not doing pkgbase yet, so presumably once it's mature enough upstream for us to adopt it downstream we'll first update pkg.

Tue, Jan 20, 1:44 PM
jrtc27 added a comment to D54792: pkgbase: remove incorrect clang shlib requires.

Won’t that break the dependencies list if clang is itself 32-bit? This also introduces a new hard-coding of the set of compat libraries rather than using _ALL_libcompats.

Tue, Jan 20, 11:27 AM

Mon, Jan 19

jrtc27 added inline comments to D54531: riscv cbo: fix cache underflushing.
Mon, Jan 19, 4:14 PM
jrtc27 added a comment to D54771: pmu: avoid NULL ofw_get_bus_type(); handle pmu_send() calls w/ NULL recv buffers.

the "extint-gpio1" check returned NULL

Mon, Jan 19, 3:47 AM · PowerPC
jrtc27 added inline comments to D54762: acpi: Add Darwin OSI support for Apple Mac hardware.
Mon, Jan 19, 3:33 AM

Sat, Jan 17

jrtc27 added inline comments to D54757: depend-cleanup.sh: Move pwd to a safer place.
Sat, Jan 17, 3:05 PM
jrtc27 added a comment to D54757: depend-cleanup.sh: Move pwd to a safer place.

I don’t understand, other than it sounding like bear is broken

Sorry, the commit message is not clear. I try to explain with more detail. Please tell me if you need anymore information.

When

pwd == $OBJTOP

, and after

run rm -rf "$OBJTOP"

getcwd(3) will return with error since the directory is deleted.

Under this condition:

When shell is executing:

mkdir -p "$OBJTOP"

bear intercepts the libc exec(3) function call and call getcwd in here. As a result, it causes an error.

Sat, Jan 17, 3:01 PM
jrtc27 added a comment to D54757: depend-cleanup.sh: Move pwd to a safer place.

I don’t understand, other than it sounding like bear is broken

Sat, Jan 17, 2:28 PM

Thu, Jan 15

jrtc27 added inline comments to D50718: msdosfs: Add _WANT_MSDOSFS_INTERNALS to replace MAKEFS in headers.
Thu, Jan 15, 9:04 PM
jrtc27 added inline comments to D50718: msdosfs: Add _WANT_MSDOSFS_INTERNALS to replace MAKEFS in headers.
Thu, Jan 15, 9:04 PM
jrtc27 added inline comments to D50718: msdosfs: Add _WANT_MSDOSFS_INTERNALS to replace MAKEFS in headers.
Thu, Jan 15, 8:55 PM

Wed, Jan 14

jrtc27 added inline comments to D54507: rtld: Use a helper variable to simplify a few lines.
Wed, Jan 14, 4:33 PM

Mon, Jan 12

jrtc27 added inline comments to D54598: arm64: Provide ifunc HWCAP structure definitions.
Mon, Jan 12, 2:14 PM

Fri, Jan 9

jrtc27 added a comment to D48449: kobj: add DEFINE_CLASSN() for arbitrary # parent, add public/private.

Switching from name ## _baseclasses to basevar ## _baseclasses to avoid the gross #defines you removed seems worthwhile, but I don't see the point of the churn for the rest. Especially since deprecating something that is the only thing being used is a foolish thing to do.

Fri, Jan 9, 11:29 PM
jrtc27 added inline comments to D54622: libutil: take a size_t in trimdomain().
Fri, Jan 9, 6:11 PM

Thu, Jan 8

jrtc27 added a comment to D54605: iflib: remove convoluted custom zeroing code.

Inline them? There are only 5 calls in total.

Thu, Jan 8, 6:13 PM
jrtc27 added inline comments to D54598: arm64: Provide ifunc HWCAP structure definitions.
Thu, Jan 8, 4:35 PM
jrtc27 added inline comments to D54560: libc/aarch64: Use MOPS implementations of memcpy/memmove/memset where availble.
Thu, Jan 8, 4:18 PM
jrtc27 added inline comments to D54558: arm64: Enable MOPS in userspace.
Thu, Jan 8, 4:02 PM
jrtc27 requested changes to D54558: arm64: Enable MOPS in userspace.
Thu, Jan 8, 3:59 PM
jrtc27 added inline comments to D54559: rtld-elf: Pass HWCAP flags to ifunc resolver functions.
Thu, Jan 8, 3:58 PM
jrtc27 added inline comments to D54559: rtld-elf: Pass HWCAP flags to ifunc resolver functions.
Thu, Jan 8, 3:57 PM
jrtc27 added inline comments to D54598: arm64: Provide ifunc HWCAP structure definitions.
Thu, Jan 8, 3:53 PM
jrtc27 added inline comments to D54598: arm64: Provide ifunc HWCAP structure definitions.
Thu, Jan 8, 3:53 PM
jrtc27 added inline comments to D54598: arm64: Provide ifunc HWCAP structure definitions.
Thu, Jan 8, 3:51 PM
jrtc27 added inline comments to D54598: arm64: Provide ifunc HWCAP structure definitions.
Thu, Jan 8, 3:49 PM
jrtc27 added a reviewer for D54560: libc/aarch64: Use MOPS implementations of memcpy/memmove/memset where availble: fuz.
Thu, Jan 8, 3:48 PM

Tue, Jan 6

jrtc27 added a comment to D53910: website: complete refresh of beastie theme.

Another minor issue is visual distinction between elements. The same colour and text styling (when not hovered over) are used for headings and links here:

Tue, Jan 6, 8:25 PM
jrtc27 added a comment to D53910: website: complete refresh of beastie theme.

Just looking at the homepage there is some very strange use of whitespace: specifically, there is a lot of extra vertical whitespace in various places that look unbalanced and make the content too spread out, and there is vertical whitespace lacking in the feed headings. See the attachments for before and after fixing these oddities that make the design feel more cohesive, polished and readable.

@jrtc27 Where did you make these changes? I can see from the PDFs it is a 'nicer' look — I'd like to put your changes into this edit. Feel free to either ping me the changes as a diff, or just tell me and I'll update the files :) Many thanks!

Tue, Jan 6, 8:06 PM
jrtc27 added a comment to D54559: rtld-elf: Pass HWCAP flags to ifunc resolver functions.

Will you also be implementing this for csu for static binaries (often forgotten, including by me in the past)?

Tue, Jan 6, 3:53 PM

Mon, Jan 5

jrtc27 accepted D54539: Makefile.inc1: Fix INSTALLEXTRAKERNELS for one-kernel case.

That's... unhelpful. Also not sure how I managed to miss testing that case :(

Mon, Jan 5, 9:17 PM
jrtc27 added inline comments to D54531: riscv cbo: fix cache underflushing.
Mon, Jan 5, 7:11 PM
jrtc27 added a comment to D54527: fix tinderbox for cross compiling on macOS.

(Also this applies equally to Linux, and I believe also on FreeBSD with CROSS_TOOLCHAIN=, though the latter only gets noticed if the host's tools are old enough)

Mon, Jan 5, 3:12 PM
jrtc27 added inline comments to D54527: fix tinderbox for cross compiling on macOS.
Mon, Jan 5, 3:11 PM

Wed, Dec 31

jrtc27 committed rG2c0e9a76c1ce: Makefile.inc1: Make NO_INSTALLKERNEL less of a hack.
Wed, Dec 31, 5:37 PM
jrtc27 closed D54291: Makefile.inc1: Make NO_INSTALLKERNEL less of a hack.
Wed, Dec 31, 5:37 PM
jrtc27 committed rG39047538cf5d: Merge commit faa5141b9be4 from file git (by Christos Zoulas):.
Wed, Dec 31, 5:18 PM

Tue, Dec 30

jrtc27 added a comment to D54062: Explicitly normalize on Unix line-endings with FreeBSD sources.

.gitattributes is a footgun and can give confusing behaviour. tools/build/checkstyle9.pl should enforce this for GitHub PRs already, and clang-format can (will?) normalise this too. There are significant downsides for this with little benefit that I can see.

Tue, Dec 30, 7:21 PM

Mon, Dec 29

jrtc27 added a comment to D54399: swab: Correctly treat the data as misaligned.
In D54399#1243356, @jhb wrote:

Hmm, looking at the code both before and after this change on armv7, it is just using plain ldrh and strh which will fault on unaligned accesses?

Mon, Dec 29, 8:15 PM
jrtc27 added a comment to D54399: swab: Correctly treat the data as misaligned.

Personally I would avoid confusing GNU C underaligned attributes and just write it in ISO C using memcpy. LLVM will inline the memcpy as load(s) based on the target's unaligned access support anyway. That is:

Mon, Dec 29, 8:10 PM

Dec 22 2025

jrtc27 added a comment to D53910: website: complete refresh of beastie theme.

On this point specifically:

Dec 22 2025, 1:38 PM
jrtc27 added a comment to D53910: website: complete refresh of beastie theme.

Your response reads to me as dismissive, and this annoys me. Yes, it does not need to be perfect. However, it needs to be good enough, and the feedback I gave was for various aspects in which I do not believe it is good enough for the project. Once live, the world will have to see and deal with it. I have no clue how long it will take to fix the issues I see that make the site look unprofessional or be painful to navigate. This is compounded by the fact that there has been no recent attempt to solicit feedback and get buy-in from the developer community. This feels like it's being pushed forward whether we like it or not, and that is not a good way to build goodwill. I hope you rethink this strategy and don't continue to burn bridges with the developer community.

Dec 22 2025, 1:37 PM

Dec 21 2025

jrtc27 added a comment to D53910: website: complete refresh of beastie theme.

Oh and what happened to the sidebar for various pages like https://freebsd.fortasse.cloud/where/? They feel rather lacking without that (pages of text and tables with a lot of empty space around them), and there are various pages on the site I've never known how to find without the sidebar...

Dec 21 2025, 11:23 PM
jrtc27 added a comment to D53910: website: complete refresh of beastie theme.

Other bug reports (all on Safari):

Dec 21 2025, 11:15 PM
jrtc27 added a comment to D53910: website: complete refresh of beastie theme.

Just looking at the homepage there is some very strange use of whitespace: specifically, there is a lot of extra vertical whitespace in various places that look unbalanced and make the content too spread out, and there is vertical whitespace lacking in the feed headings. See the attachments for before and after fixing these oddities that make the design feel more cohesive, polished and readable.

Dec 21 2025, 11:10 PM

Dec 18 2025

jrtc27 added inline comments to D54291: Makefile.inc1: Make NO_INSTALLKERNEL less of a hack.
Dec 18 2025, 9:31 PM
jrtc27 updated the diff for D54291: Makefile.inc1: Make NO_INSTALLKERNEL less of a hack.

Move INSTALLEXTRAKERNELS after NO_INSTALLEXTRAKERNELS is set. Hidden by testing originally on CheriBSD where we set NO_INSTALLEXTRAKERNELS to no early for Morello..

Dec 18 2025, 6:01 PM
jrtc27 added a comment to D54282: packages: Always install kernel as /boot/kernel.NAME.

D54291

Dec 18 2025, 5:55 PM
jrtc27 requested review of D54291: Makefile.inc1: Make NO_INSTALLKERNEL less of a hack.
Dec 18 2025, 5:55 PM
jrtc27 added a comment to D54282: packages: Always install kernel as /boot/kernel.NAME.
In D54282#1240665, @ivy wrote:

To avoid breaking existing users of distributekernel (which is what we
currently use to stage the kernel), reimplement stage-packages-kernel
to run make install itself rather than changing the existing behaviour
of distributekernel; this means release builds and other downstream
users are not affected by this change.

Does the confusingly-named NO_INSTALLKERNEL not do what you want?

possibly, but this is an awful hack that works by adding incorrect entries to ${BUILDKERNELS}, which means the logic for create-dtb-package would probably need to be updated to work around that... the amount of new code for this specific change is very small, so i think i prefer doing it this way.

Dec 18 2025, 5:31 PM
jrtc27 added a comment to D54282: packages: Always install kernel as /boot/kernel.NAME.

To avoid breaking existing users of distributekernel (which is what we
currently use to stage the kernel), reimplement stage-packages-kernel
to run make install itself rather than changing the existing behaviour
of distributekernel; this means release builds and other downstream
users are not affected by this change.

Dec 18 2025, 1:32 PM

Dec 16 2025

jrtc27 added a comment to D54259: armv8rng: Fix an inverted test in random_rndr_read_one().

So the current code tries 10 times to hit a failure, and will use the last value if all 10 reads succeeded, given the condition after the loop is correct? Importantly, there's no security issue here, because we didn't actually report a successful read when it failed?

Dec 16 2025, 8:02 PM

Dec 15 2025

jrtc27 committed rG4aa306667080: cross-build: Workaround system-provided strchrnul on macOS 15.4+ (authored by jhb).
Dec 15 2025, 6:21 PM
jrtc27 committed rG056563a1580f: cross-build: fix after the recent sqlite3 import (authored by kib).
Dec 15 2025, 6:21 PM
jrtc27 committed rG79fc0a5b5036: mips: Include CCLDFLAGS when linking kernel.tramp.bin.
Dec 15 2025, 6:20 PM
jrtc27 committed rGeb955433b1e7: mips: Drop unused TRAMP_LDFLAGS.
Dec 15 2025, 6:20 PM
jrtc27 added a reverting change for rGe9a38ed2fa61: rtld: fix allocate_module_tls() variant I fallback to static allocation: rG749af7d9d89f: Revert "rtld: fix allocate_module_tls() variant I fallback to static allocation".
Dec 15 2025, 6:20 PM
jrtc27 committed rG3e264f4d3586: imgact_elf: Fix off-by-one in note size check.
Dec 15 2025, 6:20 PM
jrtc27 committed rG577b231f3ae6: freebsd-update: Mention upgrading packages, not just ports.
Dec 15 2025, 6:20 PM
jrtc27 committed rG29e74434e4d0: bsd.compat.mk: Honour XSTRIPBIN for lib32.
Dec 15 2025, 6:20 PM
jrtc27 committed rGcb891745397b: sys: Various whitespace style(9) fixes for sys/elf_common.h.
Dec 15 2025, 6:20 PM
jrtc27 committed rGdc6d1c831d74: rtld-elf: Delete unused RELOC_ALIGNED_P copies.
Dec 15 2025, 6:20 PM
jrtc27 committed rG7a41a7442ae4: sys: Sync RISC-V relocations.
Dec 15 2025, 6:20 PM
jrtc27 committed rG275e5537486c: elf: Remove R_RISCV_[GT]PREL_[IS] relocation defines.
Dec 15 2025, 6:20 PM
jrtc27 committed rG749af7d9d89f: Revert "rtld: fix allocate_module_tls() variant I fallback to static allocation".
Dec 15 2025, 6:20 PM
jrtc27 committed rG205f65bcdd91: sys: Delete stale comments in sys/elf_common.h.
Dec 15 2025, 6:20 PM
jrtc27 committed rGec80f8a3ada0: share: Delete bitrotted make_*_driver.sh scripts.
Dec 15 2025, 6:20 PM
jrtc27 committed rGc668cd775b29: libc/riscv: Fix initial exec TLS mode for dynamically loaded shared objects.
Dec 15 2025, 6:20 PM
jrtc27 committed rG7d8ea3c846f0: hexdump.3: Add missing LIBRARY section (authored by dgilbert_eicat.ca).
Dec 15 2025, 6:20 PM
jrtc27 committed rGa85ba2eca4d6: rtld-elf/riscv: Don't allocate static TLS for dynamic TLS relocations.
Dec 15 2025, 6:20 PM
jrtc27 committed rG6216ed808d1b: rtld-elf: Fix executable's TLS module index for direct exec.
Dec 15 2025, 6:20 PM
jrtc27 committed rGc9793e87025e: rtld-elf: Fix dl_iterate_phdr's dlpi_tls_data for PowerPC and RISC-V.
Dec 15 2025, 6:20 PM
jrtc27 committed rGcb48c371f277: rtld-elf: Fix UB for direct exec with no extra rtld arguments.
Dec 15 2025, 6:20 PM
jrtc27 committed rGd5e9943bec69: rtld-elf: Fix dlsym(3) for TLS symbols on PowerPC and RISC-V.
Dec 15 2025, 6:20 PM
jrtc27 committed rG03d5ae50dc7f: libc: Fix dl_iterate_phdr's dlpi_tls_data for PowerPC and RISC-V.
Dec 15 2025, 6:20 PM
jrtc27 committed rG915a65a92a9f: libc: Don't bias DTV entries by TLS_DTV_OFFSET.
Dec 15 2025, 6:20 PM
jrtc27 committed rG017ebaa60a83: ofw: Fix inverted bcmp in ofw_bus_node_status_okay.
Dec 15 2025, 6:20 PM
jrtc27 committed rG7adf09f6307b: riscv: Fix and generalise saving TP (PCPU pointer) whilst in userspace.
Dec 15 2025, 6:20 PM
jrtc27 committed rGae54b3ca7831: sys/cdefs.h: Add comments to make #if/#else/#endif triple more obvious.
Dec 15 2025, 6:20 PM
jrtc27 committed rGd00f1d6858a0: gic_v3: Correctly handle GICC GIGR Base Address case.
Dec 15 2025, 6:20 PM
jrtc27 committed rG3d292b9ee8cf: libc/csu: Unify INIT_RELOCS across architectures.
Dec 15 2025, 6:19 PM
jrtc27 committed rG1b03e7f80e16: tools/build/cross-build: Don't include sys/uio.h from linux limits.h.
Dec 15 2025, 6:19 PM
jrtc27 committed rG271d0a3119d5: depend-cleanup.sh: Clean up after riscv static binary IFUNC addition.
Dec 15 2025, 6:19 PM
jrtc27 committed rGe41762d412d7: Fix off-by-one bug in btpand (authored by dg612_cam.ac.uk).
Dec 15 2025, 6:19 PM
jrtc27 committed rG3abb712c2308: libc/csu: Support IFUNCs on riscv.
Dec 15 2025, 6:19 PM
jrtc27 committed rGfc195afbb4cb: lib/clang: Commit cleaned-up workaround for building on RISC-V.
Dec 15 2025, 6:19 PM
jrtc27 committed rG9c9f4654e4db: kldxref: Don't warn and skip file if no relocations are found.
Dec 15 2025, 6:19 PM
jrtc27 committed rGdb284e1732ef: Merge commit 88433e640ddb from upstream OpenZFS (by Jessica Clarke).
Dec 15 2025, 6:19 PM
jrtc27 committed rG09e84ec73eef: riscv: Add machine/ifunc.h corresponding to rtld-elf's resolver interface.
Dec 15 2025, 6:19 PM
jrtc27 committed rG8ccd9c23e64c: rtld-elf: Support IFUNCs on riscv.
Dec 15 2025, 6:19 PM
jrtc27 committed rG19b23effacaf: gpart: Add u-boot-env alias for U-Boot's environment GPT partition UUID.
Dec 15 2025, 6:19 PM
jrtc27 committed rGaaf455cfdc5f: riscv: Recognise B extension for AT_HWCAP.
Dec 15 2025, 6:19 PM
jrtc27 committed rG91104d97ef24: rtld-elf: Pass parsed aux_info to ifunc_init.
Dec 15 2025, 6:19 PM
jrtc27 committed rGd3fc73b79c6c: mx25l.4: Document the correct disk device path.
Dec 15 2025, 6:19 PM
jrtc27 committed rG8aaae40a354a: ee: Fix use of uninitialised pointer in ispell_op.
Dec 15 2025, 6:19 PM
jrtc27 added a reverting change for rGcd19ecdbdc87: Similar to r296013 for NO_ROOT, force SUBDIR_PARALLEL for buildworld WORLDTMP…: rGede1087a4015: bsd.subdir.mk: Drop broken optimisation for realinstall parallelisation.
Dec 15 2025, 6:19 PM
jrtc27 committed rGc4f666e81c6e: efibootmgr: Simplify make_next_boot_var_name and fix cnt == 0 case.
Dec 15 2025, 6:19 PM