- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Oct 15 2019
Oct 14 2019
In D22023#481075, @jhb wrote:So one thought I had had when looking at this as well (in the context of trying to update libcheri to use Makefile.libcompat which we won't bother with, but meant reading much of this stuff) is that I really feel like we should install /usr/lib<foo> into the normal sysroot instead of a separate sysroot. This means builds of programs can always use the same --sysroot (and it also makes it possible to use the same --sysroot from the obj tree for different ABIs when building out-of-tree programs).
- Re-number stages as part of reordering.
- Use realloc() rather than calloc()+memcpy().
- Limit argmax to prevent overflow (no possible on FreeBSD due to ARG_MAX).
To provide a little more background: We have this feature in CheriBSD to complement a set of (build|install|...)cheri targets forked from the old build32, etc targets before Makefile.libcompat was created. We're in the process of killing that off, but find this functionality useful. Among other things, it lets us build tests for compatibility libraries. It can also aid in bringing up a new compat layer (or base system ABI if you coerce all the programs to build for a compat layer).
Oct 11 2019
Oct 10 2019
In D21971#480075, @arichardson wrote:I wish the C standard library had some kind of dynamic array so that this is not reimplement in every program...
I wonder if we could use something like the utarray.h macros from uthash?
Could we import the five headers that https://github.com/troydhanson/uthash into contrib and use utarray instead? I know the library is not that efficient since it uses strdup() for all strings that you insert but at least it means not reinventing the wheel.
We already have two copies of uthash.h in the source tree and elftoolchain also includes with utarray.h.
Oct 9 2019
Oct 8 2019
I've merged the tcsh changes in via an update to tcsh 6.21.00 in rS353325.
LGTM.
Oct 3 2019
Oct 1 2019
Sep 30 2019
In D21821#476563, @kevans wrote:In D21821#476482, @emaste wrote:Ouch, command substitution in syscalls.conf
Yeah, that will be a little more interesting for non-sh parsers :)
Yeah... Luckily this isn't too bad and I've got it working locally in the lua world, but we really should document what's ok and not ok in these .conf files based on how they're currently done to the best of our knowledge.
One of my new pet peeves after lualoader is giving something a fairly innocuous looking extension that's actually fully flavored and not well-documented as such.
OTOH, I don't know where documentation for this in particular would live unless we started an informational syscall manpage with content like the AddingSyscalls wiki page.
Sep 27 2019
Sep 25 2019
Sep 21 2019
This is rather clever, but I don't like this direction. I'd like to remove the embedding of awk in sh that currently exists and this makes it much harder.
Sep 19 2019
Sorry about this. Fixed in rP512326
See also D21366 which includes an identical review diff. I didn't commit it at the time as my initial deprecation target didn't immediately make sense.
Sep 13 2019
Sep 12 2019
LGTM.
Sep 11 2019
Sep 9 2019
Sep 6 2019
Sep 3 2019
Sep 2 2019
I suspect I know what's going on. If vectp % 16 == 8 then when long argc is stuck in front of it per the ABI requirements, the stack is aligned to 16 bytes. I suspect a change was made to require 16-byte alignment as recommend by Intel. A possibly relevant thread (I've only skimmed it) https://lore.kernel.org/patchwork/patch/749568/
sys/compat/freebsd32/syscalls.master seems to be missing now...
LGTM
Aug 30 2019
- Remove dead check.
- Return immediatly from the loop if bucket gets to big.
Aug 29 2019
I've now booted on amd64 in addition to CheriBSD.
Aug 28 2019
Aug 27 2019
Aug 23 2019
Aug 22 2019
Aug 21 2019
It would be helpful to generate this diff against HEAD. That would exclude the generated files and the freebsd32 capabilities.conf entry.
Aug 20 2019
Aug 19 2019
- Always follow the allocated path, don't free prematurely.
Aug 17 2019
Aug 16 2019
Aug 15 2019
Aug 9 2019
I've fixed the expression to exclude gcc < 8 and tested on amd64 and riscv.
- Use the correct expression to add -Wno-class-memaccess.
I completely misunderstood what was going on. The in .. excludes gcc 4.2.1 and this is a gcc 8.0+ warning. The incorrect copy and paste meant it worked by accident for 6.4. I'm testing a new version now...
Aug 8 2019
This is breaking the xtoolchain CI jobs https://ci.freebsd.org/job/FreeBSD-head-amd64-gcc/10997/