ubsan_minimal documentation hint (was: Re: Ship ubsan_minimal library in base?)

2022-02-16 Thread Jeremie Courreges-Anglas
On Tue, Feb 15 2022, Jeremie Courreges-Anglas wrote: [...] >>> Index: clang-local.1 >>> === >>> RCS file: /home/cvs/src/share/man/man1/clang-local.1,v >>> retrieving revision 1.22 >>> diff -u -p -p -u -r1.22 clang-local.1 >>> ---

Re: Ship ubsan_minimal library in base?

2022-02-15 Thread Jeremie Courreges-Anglas
On Sat, Feb 05 2022, Greg Steuck wrote: > Sweet, let's look at the two patches below. No sets yet. > > I tested on amd64 with the UBSan sample program and also with > games/battlestar. If somebody could repeat the steps I listed in the > previous email on a non-amd64 platform, that would be

Re: Ship ubsan_minimal library in base?

2022-02-06 Thread Greg Steuck
Greg Steuck writes: > Sweet, let's look at the two patches below. No sets yet. The trivial change below produced a comp70.tgz with the new library after `make release` on amd64. >From 7bbf84dfa72b4417fec5bf337fd2fdd310f70205 Mon Sep 17 00:00:00 2001 From: Greg Steuck Date: Sun, 6 Feb 2022

Re: Ship ubsan_minimal library in base?

2022-02-05 Thread Greg Steuck
Sweet, let's look at the two patches below. No sets yet. I tested on amd64 with the UBSan sample program and also with games/battlestar. If somebody could repeat the steps I listed in the previous email on a non-amd64 platform, that would be useful. Jeremie Courreges-Anglas writes: > On Sat,

Re: Ship ubsan_minimal library in base?

2022-02-05 Thread Jeremie Courreges-Anglas
On Sat, Feb 05 2022, Jeremie Courreges-Anglas wrote: > On Fri, Feb 04 2022, Greg Steuck wrote: >> How do people feel about shipping the minimal UBSan runtime library[1] >> in the base system? It takes very little to build (Makefile + a few >> ifdefs that both jca@ and I hacked together). The

Re: Ship ubsan_minimal library in base?

2022-02-05 Thread Jeremie Courreges-Anglas
On Fri, Feb 04 2022, Greg Steuck wrote: > How do people feel about shipping the minimal UBSan runtime library[1] > in the base system? It takes very little to build (Makefile + a few > ifdefs that both jca@ and I hacked together). The library is tiny and > useful enough for finding UB in base.

Re: Ship ubsan_minimal library in base?

2022-02-05 Thread Todd C . Miller
On Fri, 04 Feb 2022 20:46:48 -0800, Greg Steuck wrote: > How do people feel about shipping the minimal UBSan runtime library[1] > in the base system? It takes very little to build (Makefile + a few > ifdefs that both jca@ and I hacked together). The library is tiny and > useful enough for finding

Ship ubsan_minimal library in base?

2022-02-04 Thread Greg Steuck
How do people feel about shipping the minimal UBSan runtime library[1] in the base system? It takes very little to build (Makefile + a few ifdefs that both jca@ and I hacked together). The library is tiny and useful enough for finding UB in base. % ls -l