Re: crunchgen and llvm 15

2022-12-29 Thread Miod Vallat
> I'm not sure which way to go: either sprinkle some -fno-common between > crunchgen and distrib/special/Makefile.inc, or drop -dc on lld archs > only. What would you folks prefer? I'd rather have the same behaviour for all platforms, but I need to test a few more gcc platforms first.

Re: crunchgen and llvm 15

2022-12-29 Thread Jeremie Courreges-Anglas
On Fri, Dec 30 2022, Miod Vallat wrote: > You need this extra chunk for your diff to work. With that, the built > instbin binary appears to behave as expected on hppa. Heh, nice, thank you. I'm not sure which way to go: either sprinkle some -fno-common between crunchgen and

Re: clang 15 and zlib

2022-12-29 Thread Jeremie Courreges-Anglas
On Wed, Dec 28 2022, Jeremie Courreges-Anglas wrote: > To build src cleanly with clang-15 you'd need the diff below. The > alternative would be to patch our three zlib copies and wait for > upstream to fix it. A more comfortable alternative is to just neuter > the warning.

Re: crunchgen and llvm 15

2022-12-29 Thread Miod Vallat
You need this extra chunk for your diff to work. With that, the built instbin binary appears to behave as expected on hppa. Index: distrib/special/Makefile.inc === RCS file: /OpenBSD/src/distrib/special/Makefile.inc,v retrieving

Re: libcbor v0.10.0

2022-12-29 Thread Theo Buehler
On Fri, Dec 30, 2022 at 12:41:59PM +1100, Damien Miller wrote: > On Fri, 30 Dec 2022, Theo Buehler wrote: > > > On Fri, Dec 30, 2022 at 10:09:16AM +1100, Damien Miller wrote: > > > This updates libcbor to upstream version v.0.10.0. This version includes > > > clang15 header fixes and fixes a few

Re: libcbor v0.10.0

2022-12-29 Thread Damien Miller
On Fri, 30 Dec 2022, Theo Buehler wrote: > On Fri, Dec 30, 2022 at 10:09:16AM +1100, Damien Miller wrote: > > This updates libcbor to upstream version v.0.10.0. This version includes > > clang15 header fixes and fixes a few memory leaks. Full release notes > > are at

Re: libcbor v0.10.0

2022-12-29 Thread Theo Buehler
On Fri, Dec 30, 2022 at 10:09:16AM +1100, Damien Miller wrote: > This updates libcbor to upstream version v.0.10.0. This version includes > clang15 header fixes and fixes a few memory leaks. Full release notes > are at https://github.com/PJK/libcbor/releases/tag/v0.10.0 I understand that it is a

Re: units(1): support personal library

2022-12-29 Thread Omar Polo
On 2022/12/24 11:56:37 +0100, Florian Obser wrote: > This is at least supported by FreeBSD's units(1) as well as by > systemd/Linux. > > [...] > > OK? it's really handy, ok for me! (with s/options/option as mentioned by Crystal Kolipe.) the -f '' seems a bit weird to be fair, but it's also

Re: crunchgen and llvm 15

2022-12-29 Thread Miod Vallat
> IIUC this ld(1) behavior is somewhat similar to -fno-common for cc(1). > base-clang already does -fno-common by default, base-gcc does not. The > diff below replaces ld -dc by cc -fno-common, but TBF I'm not sure what > we're trying to achieve (avoid?) here. A test (make build + release) on >

Re: define arm system register names

2022-12-29 Thread Peter J. Philipp
On Thu, Dec 29, 2022 at 02:38:18PM +0100, Janne Johansson wrote: > > +#defineSCTLR_EOE 0x0100 /* endianness of > > explcit data */ > > Misspelled "explicit" there. > > -- > May the most significant bit of your life be positive. Some had to be cut short in order

Re: define arm system register names

2022-12-29 Thread Janne Johansson
> +#defineSCTLR_EOE 0x0100 /* endianness of > explcit data */ Misspelled "explicit" there. -- May the most significant bit of your life be positive.

define arm system register names

2022-12-29 Thread Peter J. Philipp
from: https://developer.arm.com/documentation/den0024/a/ARMv8-Registers/System-registers/The-system-control-register?lang=en The following patch tries to describe the system register in the source code to the best of my ability. Source comment change only, no binary change. Excuse that this is

Re: Supprt FTDI FT232R

2022-12-29 Thread David Gwynne
On Thu, Dec 29, 2022 at 03:05:35PM +0800, Kevin Lo wrote: > The diff below makes the serial interface of the Genio 1200 demo board > (FT232R) > work. The upper 2 bits encode the fractional component of the FT232R is > either > 0 or 0.125. > > uftdi0 at uhub0 port 3 configuration 1 interface 0

Re: [patch] arp.c spaces nested between tabs

2022-12-29 Thread Omar Polo
On 2022/12/28 12:21:07 -0500, Paul Tagliamonte wrote: > [2]: {openbsd monks avert your eyes: gnu grep and bash w/ 'shopt -s extglob'}: > $ grep -P '\t +\t' !(gnu|sys) -ril ksh actually supports that style of globbing :) % ls -d !(gnu|sys) Makefiledistrib/include/