CVS commit: src/share/mk

2024-03-23 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Mar 23 21:56:47 UTC 2024 Modified Files: src/share/mk: bsd.README bsd.lib.mk Log Message: bsd.lib.mk: Tidy up expected symbols check a little. Add some documentation in bsd.README. To generate a diff of this commit: cvs

CVS commit: src/share/mk

2024-03-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Mar 20 13:50:37 UTC 2024 Modified Files: src/share/mk: bsd.lib.mk Log Message: bsd.lib.mk: Check expected vs actual symbols at build-time. If, for LIB=foo, you create a file foo.expsym, bsd.lib.mk will list the dynamic sym

CVS commit: src/share/mk

2024-03-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Mar 20 13:50:37 UTC 2024 Modified Files: src/share/mk: bsd.lib.mk Log Message: bsd.lib.mk: Check expected vs actual symbols at build-time. If, for LIB=foo, you create a file foo.expsym, bsd.lib.mk will list the dynamic sym

CVS commit: src/share/mk

2024-02-19 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Feb 19 20:39:38 UTC 2024 Modified Files: src/share/mk: bsd.prog.mk Log Message: Add a hook that adds more libraries after PROGDPLIBS To generate a diff of this commit: cvs rdiff -u -r1.347 -r1.348 src/share/mk/bsd.prog.mk

CVS commit: src/share/mk

2024-02-19 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Feb 19 20:39:38 UTC 2024 Modified Files: src/share/mk: bsd.prog.mk Log Message: Add a hook that adds more libraries after PROGDPLIBS To generate a diff of this commit: cvs rdiff -u -r1.347 -r1.348 src/share/mk/bsd.prog.mk

CVS commit: src/share/mk

2024-02-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Feb 13 16:15:59 UTC 2024 Modified Files: src/share/mk: bsd.sys.mk Log Message: Allow overriding the language standard to something newer. To generate a diff of this commit: cvs rdiff -u -r1.315 -r1.316 src/share/mk/bsd.sys

CVS commit: src/share/mk

2024-02-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Feb 13 16:15:59 UTC 2024 Modified Files: src/share/mk: bsd.sys.mk Log Message: Allow overriding the language standard to something newer. To generate a diff of this commit: cvs rdiff -u -r1.315 -r1.316 src/share/mk/bsd.sys

Re: CVS commit: src/share/mk

2024-01-03 Thread Izumi Tsutsui
I would also prefer current general "virt68k", rather than specific emulators like qemu68k etc. because: - it's unlikely that someone will design and implement new virtual Ethernet/storage I/O devices for ancient architectures - we should avoid dumb copies of MD locore.s, pmap_bootstrap.c, h

Re: CVS commit: src/share/mk

2024-01-03 Thread Jason Thorpe
> On Jan 3, 2024, at 9:16 AM, Jason Thorpe wrote: > > There’s really nothing Qemu specific about it, other than Qemu version number > extraction. Let me elaborate, actually, now that I am not constrained by thumbs-only typing. It uses the generic Linux m68k “bootinfo”, which specify the mac

Re: CVS commit: src/share/mk

2024-01-03 Thread Jason Thorpe
There’s really nothing Qemu specific about it, other than Qemu version number extraction. -- thorpej Sent from my iPhone. > On Jan 2, 2024, at 11:03 PM, Valery Ushakov wrote: > > On Wed, Jan 03, 2024 at 02:48:06 +, Jason R Thorpe wrote: > >> Add virt68k to MACHINES.m68k. > > "virt" is t

Re: CVS commit: src/share/mk

2024-01-02 Thread Valery Ushakov
On Wed, Jan 03, 2024 at 02:48:06 +, Jason R Thorpe wrote: > Add virt68k to MACHINES.m68k. "virt" is too generic a name, if this is specifically a qemu version, may be it should have been called qemu68k... Guess it's too late now. -uwe

CVS commit: src/share/mk

2024-01-02 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Jan 3 02:59:00 UTC 2024 Modified Files: src/share/mk: bsd.own.mk Log Message: Add mvme68k to MACHINES.m68k. To generate a diff of this commit: cvs rdiff -u -r1.1361 -r1.1362 src/share/mk/bsd.own.mk Please note that diffs

CVS commit: src/share/mk

2024-01-02 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Jan 3 02:59:00 UTC 2024 Modified Files: src/share/mk: bsd.own.mk Log Message: Add mvme68k to MACHINES.m68k. To generate a diff of this commit: cvs rdiff -u -r1.1361 -r1.1362 src/share/mk/bsd.own.mk Please note that diffs

CVS commit: src/share/mk

2024-01-02 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Jan 3 02:48:06 UTC 2024 Modified Files: src/share/mk: bsd.own.mk Log Message: Add virt68k to MACHINES.m68k. To generate a diff of this commit: cvs rdiff -u -r1.1360 -r1.1361 src/share/mk/bsd.own.mk Please note that diffs

CVS commit: src/share/mk

2024-01-02 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Wed Jan 3 02:48:06 UTC 2024 Modified Files: src/share/mk: bsd.own.mk Log Message: Add virt68k to MACHINES.m68k. To generate a diff of this commit: cvs rdiff -u -r1.1360 -r1.1361 src/share/mk/bsd.own.mk Please note that diffs

CVS commit: src/share/mk

2023-12-29 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Fri Dec 29 09:17:37 UTC 2023 Modified Files: src/share/mk: sys.mk Log Message: Update ARFLAGS for new binutils. In binutils 2.34, 'l' was a no-op. In binutils 2.39, it is used to specify library dependencies. Remove 'l' from ARFLAG

CVS commit: src/share/mk

2023-12-29 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Fri Dec 29 09:17:37 UTC 2023 Modified Files: src/share/mk: sys.mk Log Message: Update ARFLAGS for new binutils. In binutils 2.34, 'l' was a no-op. In binutils 2.39, it is used to specify library dependencies. Remove 'l' from ARFLAG

CVS commit: src/share/mk

2023-11-06 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Nov 6 22:35:48 UTC 2023 Modified Files: src/share/mk: bsd.sys.mk Log Message: Add -fmacro-prefix-map set like -fdebug-prefix-map (Jan-Benedict Glaw) See: https://gcc.gnu.org/onlinedocs/gcc/Preprocessor-Options.html\ #i

CVS commit: src/share/mk

2023-11-06 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Nov 6 22:35:48 UTC 2023 Modified Files: src/share/mk: bsd.sys.mk Log Message: Add -fmacro-prefix-map set like -fdebug-prefix-map (Jan-Benedict Glaw) See: https://gcc.gnu.org/onlinedocs/gcc/Preprocessor-Options.html\ #i

CVS commit: src/share/mk

2023-10-24 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Oct 25 04:37:59 UTC 2023 Modified Files: src/share/mk: bsd.x11.mk Log Message: bump xorg server version. To generate a diff of this commit: cvs rdiff -u -r1.150 -r1.151 src/share/mk/bsd.x11.mk Please note that diffs are not pu

CVS commit: src/share/mk

2023-10-24 Thread matthew green
Module Name:src Committed By: mrg Date: Wed Oct 25 04:37:59 UTC 2023 Modified Files: src/share/mk: bsd.x11.mk Log Message: bump xorg server version. To generate a diff of this commit: cvs rdiff -u -r1.150 -r1.151 src/share/mk/bsd.x11.mk Please note that diffs are not pu

CVS commit: src/share/mk

2023-10-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Oct 11 14:08:17 UTC 2023 Modified Files: src/share/mk: bsd.prog.mk Log Message: bsd.prog.mk: krb5 stuff no longer needs to link against sqlite3. (Why is this here? Seems like it should be a .mk fragment under crypto/exter

CVS commit: src/share/mk

2023-10-11 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Oct 11 14:08:17 UTC 2023 Modified Files: src/share/mk: bsd.prog.mk Log Message: bsd.prog.mk: krb5 stuff no longer needs to link against sqlite3. (Why is this here? Seems like it should be a .mk fragment under crypto/exter

CVS commit: src/share/mk

2023-09-02 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Sat Sep 2 12:09:10 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: bsd.own.mk: sort the CC_WNO variables To generate a diff of this commit: cvs rdiff -u -r1.1359 -r1.1360 src/share/mk/bsd.own.mk Please note that

CVS commit: src/share/mk

2023-09-02 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Sat Sep 2 12:09:10 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: bsd.own.mk: sort the CC_WNO variables To generate a diff of this commit: cvs rdiff -u -r1.1359 -r1.1360 src/share/mk/bsd.own.mk Please note that

CVS commit: src/share/mk

2023-08-23 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Aug 24 06:18:07 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: bsd.own.mk: Switch mips64e[bl] to binutils 2.39 again Potential fix for PR toolchain/57241 has been committed. Let us see whether this works fine or

CVS commit: src/share/mk

2023-08-23 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Aug 24 06:18:07 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: bsd.own.mk: Switch mips64e[bl] to binutils 2.39 again Potential fix for PR toolchain/57241 has been committed. Let us see whether this works fine or

CVS commit: src/share/mk

2023-08-19 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Aug 20 02:11:21 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: bsd.own.mk: Put gdb back for m68000 However, unfortunately, it does not work even if MAXTSIZ is bumped. It seems to be too large for 24-bit address s

CVS commit: src/share/mk

2023-08-19 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Aug 20 02:11:21 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: bsd.own.mk: Put gdb back for m68000 However, unfortunately, it does not work even if MAXTSIZ is bumped. It seems to be too large for 24-bit address s

CVS commit: src/share/mk

2023-08-19 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Aug 19 22:58:15 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: Add elfedit (needed to tag binaries as linux) from GSoC 2023 (Theodore Preduta) To generate a diff of this commit: cvs rdiff -u -r1.1356 -r1.13

CVS commit: src/share/mk

2023-08-19 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Aug 19 22:58:15 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: Add elfedit (needed to tag binaries as linux) from GSoC 2023 (Theodore Preduta) To generate a diff of this commit: cvs rdiff -u -r1.1356 -r1.13

CVS commit: src/share/mk

2023-08-13 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sun Aug 13 21:52:33 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: fix typo in previous To generate a diff of this commit: cvs rdiff -u -r1.1355 -r1.1356 src/share/mk/bsd.own.mk Please note that diffs are not publi

CVS commit: src/share/mk

2023-08-13 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sun Aug 13 21:52:33 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: fix typo in previous To generate a diff of this commit: cvs rdiff -u -r1.1355 -r1.1356 src/share/mk/bsd.own.mk Please note that diffs are not publi

CVS commit: src/share/mk

2023-08-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Aug 13 21:17:05 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: sun2 can't make gdb anymore. there is no gmp because no gcc. To generate a diff of this commit: cvs rdiff -u -r1.1354 -r1.1355 src/share/mk/bsd

CVS commit: src/share/mk

2023-08-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Aug 13 21:17:05 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: sun2 can't make gdb anymore. there is no gmp because no gcc. To generate a diff of this commit: cvs rdiff -u -r1.1354 -r1.1355 src/share/mk/bsd

CVS commit: src/share/mk

2023-08-11 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Aug 11 20:29:17 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: switch everyone to gdb-13.2 To generate a diff of this commit: cvs rdiff -u -r1.1353 -r1.1354 src/share/mk/bsd.own.mk Please note that diffs a

CVS commit: src/share/mk

2023-08-11 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Aug 11 20:29:17 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: switch everyone to gdb-13.2 To generate a diff of this commit: cvs rdiff -u -r1.1353 -r1.1354 src/share/mk/bsd.own.mk Please note that diffs a

CVS commit: src/share/mk

2023-08-09 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Aug 9 14:57:19 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: put back the new gdb To generate a diff of this commit: cvs rdiff -u -r1.1352 -r1.1353 src/share/mk/bsd.own.mk Please note that diffs are not

CVS commit: src/share/mk

2023-08-09 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Aug 9 14:57:19 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: put back the new gdb To generate a diff of this commit: cvs rdiff -u -r1.1352 -r1.1353 src/share/mk/bsd.own.mk Please note that diffs are not

re: CVS commit: src/share/mk

2023-08-08 Thread matthew green
please review this. i'll try to figure out tests for everything, though it seems annoying :) https://www.netbsd.org/~mrg/gcc12-use-after-free.diff it should handle all the open use-after-free problems. .mrg. ps: you'll notice no new headers needed for ptrdiff_t usage ;)

re: CVS commit: src/share/mk

2023-08-08 Thread matthew green
matthew green writes: > > > - used = dst - conv->wbuff; > > > + size_t sused = (uintptr_t)dst - (uintptr_t)conv->wbuff; > > > > Any particular reason why there is a cast to uintptr_t here? I don't > > think there is a guarantee that you can calculate an offset by > > subtracting uin

re: CVS commit: src/share/mk

2023-08-08 Thread matthew green
> > - used = dst - conv->wbuff; > > + size_t sused = (uintptr_t)dst - (uintptr_t)conv->wbuff; > > Any particular reason why there is a cast to uintptr_t here? I don't > think there is a guarantee that you can calculate an offset by > subtracting uintptr_ts calculated from pointe

Re: CVS commit: src/share/mk

2023-08-08 Thread Rhialto
On Tue 08 Aug 2023 at 14:10:41 +0200, Joerg Sonnenberger wrote: > On Tue, Aug 08, 2023 at 01:42:39PM +0200, Rhialto wrote: > > On Tue 08 Aug 2023 at 09:44:41 +1000, matthew green wrote: > > > Index: lib/libedit/chartype.c > > > === > >

Re: CVS commit: src/share/mk

2023-08-08 Thread Joerg Sonnenberger
On Tue, Aug 08, 2023 at 01:42:39PM +0200, Rhialto wrote: > On Tue 08 Aug 2023 at 09:44:41 +1000, matthew green wrote: > > Index: lib/libedit/chartype.c > > === > > RCS file: /cvsroot/src/lib/libedit/chartype.c,v > > retrieving revision

Re: CVS commit: src/share/mk

2023-08-08 Thread Rhialto
On Tue 08 Aug 2023 at 09:44:41 +1000, matthew green wrote: > Index: lib/libedit/chartype.c > === > RCS file: /cvsroot/src/lib/libedit/chartype.c,v > retrieving revision 1.36 > diff -p -u -r1.36 chartype.c > --- lib/libedit/chartype.c

Re: CVS commit: src/share/mk

2023-08-08 Thread Taylor R Campbell
> Date: Mon, 7 Aug 2023 23:58:50 +0200 > From: Tobias Nygren > > Is this sort of fix acceptable for the above cases? > > + ptrdiff_t offset = pos - buf; > new_buf = realloc(buf, buf_size); > if (!new_buf) >

CVS commit: src/share/mk

2023-08-07 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Aug 8 03:44:12 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: put amd64 back to GDB 11. it doesn't build for me, or others. the first problem is that this rule: GDBvn.texi: ${DIST}/gdb/version.in echo

CVS commit: src/share/mk

2023-08-07 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Aug 8 03:44:12 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: put amd64 back to GDB 11. it doesn't build for me, or others. the first problem is that this rule: GDBvn.texi: ${DIST}/gdb/version.in echo

re: CVS commit: src/share/mk

2023-08-07 Thread matthew green
Valery Ushakov writes: > On Mon, Aug 07, 2023 at 23:58:50 +0200, Tobias Nygren wrote: > > > Is this sort of fix acceptable for the above cases? > [...] > > + ptrdiff_t offset = pos - buf; > [...] > > - pos = new_buf + (pos - buf); > > + pos = ne

Re: Restoring pointers after realloc (was: Re: CVS commit: src/share/mk)

2023-08-07 Thread Valery Ushakov
On Tue, Aug 08, 2023 at 00:44:41 +0200, Roland Illig wrote: > Am 07.08.2023 um 23:58 schrieb Tobias Nygren: > > Is this sort of fix acceptable for the above cases? > > > > + ptrdiff_t offset = pos - buf; > > new_buf = realloc(buf, buf_size); > > - pos = new_buf + (pos - buf); > > + pos =

Re: CVS commit: src/share/mk

2023-08-07 Thread Valery Ushakov
On Mon, Aug 07, 2023 at 23:58:50 +0200, Tobias Nygren wrote: > Is this sort of fix acceptable for the above cases? [...] > + ptrdiff_t offset = pos - buf; [...] > - pos = new_buf + (pos - buf); > + pos = new_buf + offset; I think so. Bu

Restoring pointers after realloc (was: Re: CVS commit: src/share/mk)

2023-08-07 Thread Roland Illig
Am 07.08.2023 um 23:58 schrieb Tobias Nygren: > Is this sort of fix acceptable for the above cases? > > + ptrdiff_t offset = pos - buf; > new_buf = realloc(buf, buf_size); > - pos = new_buf + (pos - buf); > + pos = new_buf + offset; Yes. Instead of ptrdiff_t, I prefer to use siz

Re: CVS commit: src/share/mk

2023-08-07 Thread Tobias Nygren
On Thu, 3 Aug 2023 23:30:31 +0900 Rin Okuyama wrote: > On 2023/08/03 23:23, Valery Ushakov wrote: > > On Thu, Aug 03, 2023 at 13:33:27 +, Rin Okuyama wrote: > > > >> -Wuse-after-free for GCC 12 is premature. It fires on a common idiom: > >> > >>newbuf = realloc(buf, size); > >>p = ne

CVS commit: src/share/mk

2023-08-06 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Aug 6 20:44:49 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: switch gdb to 13.20 for x86_64 To generate a diff of this commit: cvs rdiff -u -r1.1349 -r1.1350 src/share/mk/bsd.own.mk Please note that diff

CVS commit: src/share/mk

2023-08-06 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Aug 6 20:44:49 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: switch gdb to 13.20 for x86_64 To generate a diff of this commit: cvs rdiff -u -r1.1349 -r1.1350 src/share/mk/bsd.own.mk Please note that diff

re: CVS commit: src/share/mk

2023-08-03 Thread matthew green
> > Ah, I only thought about "obvious" impl. Thank you for kind > > explanation! I will revert them for now. > > We should fix those cases that gcc12 found. i was able to fix some of them with some code to apply offsets generated before realloc() or free(), but not in all case. a couple of them w

Re: CVS commit: src/share/mk

2023-08-03 Thread Valery Ushakov
On Thu, Aug 03, 2023 at 23:30:31 +0900, Rin Okuyama wrote: > On 2023/08/03 23:23, Valery Ushakov wrote: > > On Thu, Aug 03, 2023 at 13:33:27 +, Rin Okuyama wrote: > > > > > -Wuse-after-free for GCC 12 is premature. It fires on a common idiom: > > > > > > newbuf = realloc(buf, size); > > >

CVS commit: src/share/mk

2023-08-03 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Aug 3 14:55:54 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: bsd.own.mk: Revert CC_WNO_USE_AFTER_FREE This is an undefined behavior in general. Implementation details of pointer are not defined in C standards;

CVS commit: src/share/mk

2023-08-03 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Aug 3 14:55:54 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: bsd.own.mk: Revert CC_WNO_USE_AFTER_FREE This is an undefined behavior in general. Implementation details of pointer are not defined in C standards;

Re: CVS commit: src/share/mk

2023-08-03 Thread Rin Okuyama
On 2023/08/03 23:23, Valery Ushakov wrote: On Thu, Aug 03, 2023 at 13:33:27 +, Rin Okuyama wrote: -Wuse-after-free for GCC 12 is premature. It fires on a common idiom: newbuf = realloc(buf, size); p = newbuf + (p - buf); Let shut this up for GCC 12 (with hoping it gets imp

Re: CVS commit: src/share/mk

2023-08-03 Thread Valery Ushakov
On Thu, Aug 03, 2023 at 13:33:27 +, Rin Okuyama wrote: > -Wuse-after-free for GCC 12 is premature. It fires on a common idiom: > > newbuf = realloc(buf, size); > p = newbuf + (p - buf); > > Let shut this up for GCC 12 (with hoping it gets improved for 13!). C99 says J.2

CVS commit: src/share/mk

2023-08-03 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Aug 3 13:33:27 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: bsd.own.mk: Introduce CC_WNO_USE_AFTER_FREE for GCC12 -Wuse-after-free for GCC 12 is premature. It fires on a common idiom: newbuf = realloc

CVS commit: src/share/mk

2023-08-03 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Aug 3 13:33:27 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: bsd.own.mk: Introduce CC_WNO_USE_AFTER_FREE for GCC12 -Wuse-after-free for GCC 12 is premature. It fires on a common idiom: newbuf = realloc

CVS commit: src/share/mk

2023-07-31 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Aug 1 06:52:06 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: we skipped GCC 11, so change the test to GCC 12. To generate a diff of this commit: cvs rdiff -u -r1.1346 -r1.1347 src/share/mk/bsd.own.mk Please n

CVS commit: src/share/mk

2023-07-31 Thread matthew green
Module Name:src Committed By: mrg Date: Tue Aug 1 06:52:06 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: we skipped GCC 11, so change the test to GCC 12. To generate a diff of this commit: cvs rdiff -u -r1.1346 -r1.1347 src/share/mk/bsd.own.mk Please n

CVS commit: src/share/mk

2023-07-31 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jul 31 17:35:31 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: we ended up importing 13.2 To generate a diff of this commit: cvs rdiff -u -r1.1345 -r1.1346 src/share/mk/bsd.own.mk Please note that diffs ar

CVS commit: src/share/mk

2023-07-31 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jul 31 17:35:31 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: we ended up importing 13.2 To generate a diff of this commit: cvs rdiff -u -r1.1345 -r1.1346 src/share/mk/bsd.own.mk Please note that diffs ar

CVS commit: src/share/mk

2023-07-23 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Sun Jul 23 16:49:29 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: bsd.own.mk: style: block comments, move CC_flag vars Add #{ .. #} block comments to a long conditional. Move the CC_flag variables closer to other

CVS commit: src/share/mk

2023-07-23 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Sun Jul 23 16:49:29 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: bsd.own.mk: style: block comments, move CC_flag vars Add #{ .. #} block comments to a long conditional. Move the CC_flag variables closer to other

CVS commit: src/share/mk

2023-07-22 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Sat Jul 22 18:50:31 UTC 2023 Modified Files: src/share/mk: bsd.README Log Message: bsd.README: sync with mk.conf(5), deduping entries Remove most duplication of variables already documented in mk.conf(5). Add lists of supported an

CVS commit: src/share/mk

2023-07-22 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Sat Jul 22 18:50:31 UTC 2023 Modified Files: src/share/mk: bsd.README Log Message: bsd.README: sync with mk.conf(5), deduping entries Remove most duplication of variables already documented in mk.conf(5). Add lists of supported an

CVS commit: src/share/mk

2023-07-21 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 21 20:03:13 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: bsd.own.mk: Use MACHINE_ARCH for default MKCTF/MKDTRACE=yes x86. The substantive impact of this is that it enables MKCTF=yes for Xen kernels.

CVS commit: src/share/mk

2023-07-21 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 21 20:03:13 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: bsd.own.mk: Use MACHINE_ARCH for default MKCTF/MKDTRACE=yes x86. The substantive impact of this is that it enables MKCTF=yes for Xen kernels.

CVS commit: src/share/mk

2023-06-05 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Mon Jun 5 22:36:59 UTC 2023 Modified Files: src/share/mk: bsd.README Log Message: bsd.README: update to reality, sync from mk.conf(5) Sync user variables from mk.conf(5), sorted. (Arguably this could just refer to mk.conf(5) or s

CVS commit: src/share/mk

2023-06-05 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Mon Jun 5 22:36:59 UTC 2023 Modified Files: src/share/mk: bsd.README Log Message: bsd.README: update to reality, sync from mk.conf(5) Sync user variables from mk.conf(5), sorted. (Arguably this could just refer to mk.conf(5) or s

CVS commit: src/share/mk

2023-06-03 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Sat Jun 3 21:24:58 UTC 2023 Modified Files: src/share/mk: bsd.lib.mk bsd.lua.mk bsd.own.mk bsd.sys.mk Log Message: bsd.*.mk: move MKSTRIPSYM default to bsd.own.mk Add default for MKSTRIPSYM=yes to to bsd.own.mk _MKVARS.no. Test $

CVS commit: src/share/mk

2023-06-03 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Sat Jun 3 21:24:58 UTC 2023 Modified Files: src/share/mk: bsd.lib.mk bsd.lua.mk bsd.own.mk bsd.sys.mk Log Message: bsd.*.mk: move MKSTRIPSYM default to bsd.own.mk Add default for MKSTRIPSYM=yes to to bsd.own.mk _MKVARS.no. Test $

CVS commit: src/share/mk

2023-06-03 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Sat Jun 3 21:23:50 UTC 2023 Modified Files: src/share/mk: bsd.obj.mk bsd.own.mk Log Message: bsd.obj.mk: move MKHOSTOBJ to bsd.own.mk Add default for MKHOSTOBJ=no to to bsd.own.mk _MKVARS.no. Simplify bsd.obj.mk check. To gener

CVS commit: src/share/mk

2023-06-03 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Sat Jun 3 21:23:50 UTC 2023 Modified Files: src/share/mk: bsd.obj.mk bsd.own.mk Log Message: bsd.obj.mk: move MKHOSTOBJ to bsd.own.mk Add default for MKHOSTOBJ=no to to bsd.own.mk _MKVARS.no. Simplify bsd.obj.mk check. To gener

CVS commit: src/share/mk

2023-06-03 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Sat Jun 3 21:23:07 UTC 2023 Modified Files: src/share/mk: bsd.dep.mk bsd.own.mk Log Message: bsd.dep.mk: move MKDEPINCLUDES to bsd.own.mk Add default for MKDEPINCLUDES=no to to bsd.own.mk _MKVARS.no. Simplify bsd.dep.mk check.

CVS commit: src/share/mk

2023-06-03 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Sat Jun 3 21:23:07 UTC 2023 Modified Files: src/share/mk: bsd.dep.mk bsd.own.mk Log Message: bsd.dep.mk: move MKDEPINCLUDES to bsd.own.mk Add default for MKDEPINCLUDES=no to to bsd.own.mk _MKVARS.no. Simplify bsd.dep.mk check.

CVS commit: src/share/mk

2023-06-03 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Sat Jun 3 21:21:32 UTC 2023 Modified Files: src/share/mk: bsd.clean.mk bsd.own.mk Log Message: bsd.*.mk: move MKCLEAN* to bsd.own.mk Move the defaults for MKCLEANSRC and MKCLEANVERIFY from bsd.clean.mk to bsd.own.mk _MKVARS.yes.

CVS commit: src/share/mk

2023-06-03 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Sat Jun 3 21:21:32 UTC 2023 Modified Files: src/share/mk: bsd.clean.mk bsd.own.mk Log Message: bsd.*.mk: move MKCLEAN* to bsd.own.mk Move the defaults for MKCLEANSRC and MKCLEANVERIFY from bsd.clean.mk to bsd.own.mk _MKVARS.yes.

CVS commit: src/share/mk

2023-06-02 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Fri Jun 2 14:30:23 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: bsd.own.mk: obsolete non-MK variants MANZ UNPRIVED UPDATE Remove support for variables deprecated 20 years ago by their MK* equivalents. To gener

CVS commit: src/share/mk

2023-06-02 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Fri Jun 2 14:30:23 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: bsd.own.mk: obsolete non-MK variants MANZ UNPRIVED UPDATE Remove support for variables deprecated 20 years ago by their MK* equivalents. To gener

CVS commit: src/share/mk

2023-06-01 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Thu Jun 1 21:54:17 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: bsd.own.mk: describe recent convention in comments To generate a diff of this commit: cvs rdiff -u -r1.1333 -r1.1334 src/share/mk/bsd.own.mk Plea

CVS commit: src/share/mk

2023-06-01 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Thu Jun 1 21:54:17 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: bsd.own.mk: describe recent convention in comments To generate a diff of this commit: cvs rdiff -u -r1.1333 -r1.1334 src/share/mk/bsd.own.mk Plea

CVS commit: src/share/mk

2023-06-01 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Thu Jun 1 21:50:26 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: bsd.own.mk: MKPERFUSE isn't used anywhere perfuse is built unconditionally, and MKPERFUSE isn't tested anywhere. To generate a diff of this commi

CVS commit: src/share/mk

2023-06-01 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Thu Jun 1 21:50:26 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: bsd.own.mk: MKPERFUSE isn't used anywhere perfuse is built unconditionally, and MKPERFUSE isn't tested anywhere. To generate a diff of this commi

CVS commit: src/share/mk

2023-06-01 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Thu Jun 1 21:47:19 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: bsd.own.mk: MKLLD, MKLLDB, MKMCLINKER are obsolete MKLLD, MKLLDB, MKMCLINKER aren't used in the build, so remove them. These were obsoleted by joe

CVS commit: src/share/mk

2023-06-01 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Thu Jun 1 21:47:19 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: bsd.own.mk: MKLLD, MKLLDB, MKMCLINKER are obsolete MKLLD, MKLLDB, MKMCLINKER aren't used in the build, so remove them. These were obsoleted by joe

CVS commit: src/share/mk

2023-05-31 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Wed May 31 20:47:35 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: bsd.own.mk: support ${MACHINE} defaults in MK* = yes For MK* variables (in _MKVARS.yes), default to MK*.${MACHINE} if MK*.${MACHINE_ARCH} isn't def

CVS commit: src/share/mk

2023-05-31 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Wed May 31 20:47:35 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: bsd.own.mk: support ${MACHINE} defaults in MK* = yes For MK* variables (in _MKVARS.yes), default to MK*.${MACHINE} if MK*.${MACHINE_ARCH} isn't def

CVS commit: src/share/mk

2023-05-31 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Wed May 31 20:45:02 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: bsd.own.mk: sort lists. whitespace fixes Create _NOVARS for the list of NO* variables, for consistency with _MKVARS.yes and _MKVARS.no Format _NOV

CVS commit: src/share/mk

2023-05-31 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Wed May 31 20:45:02 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: bsd.own.mk: sort lists. whitespace fixes Create _NOVARS for the list of NO* variables, for consistency with _MKVARS.yes and _MKVARS.no Format _NOV

CVS commit: src/share/mk

2023-05-29 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Mon May 29 17:35:11 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: bsd.own.mk: sort list of NO* variables List the NO variables in order, leaving enough room to add more entries, not splitting the next letter after

CVS commit: src/share/mk

2023-05-29 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Mon May 29 17:35:11 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: bsd.own.mk: sort list of NO* variables List the NO variables in order, leaving enough room to add more entries, not splitting the next letter after

CVS commit: src/share/mk

2023-05-28 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Sun May 28 10:49:00 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: bsd.own.mk: deprecate NOCRYPTO MKCRYPTO was removed by riastradh@ on 2017-05-22, so the NOCRYPTO override is now unnecessary. To generate a diff

CVS commit: src/share/mk

2023-05-28 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Sun May 28 10:49:00 UTC 2023 Modified Files: src/share/mk: bsd.own.mk Log Message: bsd.own.mk: deprecate NOCRYPTO MKCRYPTO was removed by riastradh@ on 2017-05-22, so the NOCRYPTO override is now unnecessary. To generate a diff

CVS commit: src/share/mk

2023-05-28 Thread Luke Mewburn
Module Name:src Committed By: lukem Date: Sun May 28 10:33:13 UTC 2023 Modified Files: src/share/mk: bsd.lib.mk bsd.prog.mk Log Message: share/mk: finish USE_COMBINE, NOCOMBINE deprecation Remove the leftover remnants of deprecated USE_COMBINE and NOCOMBINE, as gcc -combi

<    1   2   3   4   5   6   7   >