freebsd-dev/usr.bin
Dimitry Andric ab80f0b21f Ensure .inc files are regenerated when llvm/clang tblgen binaries change
When doing a fully incremental build (with WITHOUT_CLEAN enabled), from
a commit before llvm 15 was merged (3264f6b88f), to a commit after
that, a number of .inc files were not regenerated. This could lead to
unexpected compilation errors when these .inc files were included from
llvm-project sources, similar to:

  In file included from /usr/src/contrib/llvm-project/clang/lib/CodeGen/CGBuiltin.cpp:8268:
  /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Basic/arm_mve_builtin_cg.inc:279:18: error: no matching constructor for initialization of 'clang::CodeGen::Address'
    Address Val2 = Address(Val1, CharUnits::fromQuantity(2));
                   ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Work around this by making the .inc files dependent on the tblgen binary
used for generating them. E.g., we can relatively safely assume that if
the binary gets updated, the .inc files must also be updated. (Although
this is not 100% optimal, the gain by complicating things even more is
probaby not worth the effort.)

MFC after:	3 days
Reviewed by:	emaste
Differential Revision: https://reviews.freebsd.org/D38770
2023-02-26 15:56:07 +01:00
..
addr2line pkgbase: Create a FreeBSD-elftoolchain package 2023-02-08 08:49:12 +01:00
alias
apply apply: clean up error handling. 2022-08-08 19:06:35 +00:00
ar ar: Avoid overwriting the stdout file stream pointer 2022-01-27 17:10:17 -05:00
asa
at
atm
awk awk: Move to using two sets of tests 2021-11-05 08:53:36 -06:00
backlight backlight(8): Update usage() to match the manual page 2022-07-19 16:56:27 +02:00
banner manpages: Fix use of At macro 2022-03-04 00:03:44 +01:00
basename manpages: Fix use of At macro 2022-03-04 00:03:44 +01:00
bc
beep beep(1): Initial version of utility to create terminal beep via soundcard. 2021-11-04 09:00:46 +01:00
biff
bintrans bintrans: replace the quoted printable encoder/decoder 2022-08-25 09:29:18 +02:00
bluetooth
bmake Merge bmake-20230208 2023-02-09 17:23:23 -08:00
brandelf fix URL typo 2022-02-05 09:08:45 +00:00
bsdcat libarchive: import changes from upstream 2022-02-10 00:35:42 +01:00
bsddialog contrib/bsddialog: Import version 0.4 2022-09-25 15:09:16 +02:00
bsdiff bspatch.1: fix missing argument 2022-12-22 11:13:32 -06:00
bzip2
bzip2recover
c89
c99
caesar pkgbase: Create a FreeBSD-games package 2022-10-26 19:46:40 +02:00
calendar calendar: clarify comment syntax in man page 2022-07-31 07:37:05 +02:00
cap_mkdb
chat
chkey
chpass usr.bin/chpass: Correct manpage regarding path to temp files 2021-05-25 16:23:20 +01:00
cksum usr.bin/cksum: localize _total variables. 2022-07-17 17:24:31 -07:00
clang Ensure .inc files are regenerated when llvm/clang tblgen binaries change 2023-02-26 15:56:07 +01:00
cmp cmp: Increase buffer size for non-mmap case. 2023-01-31 01:29:05 +01:00
col
colrm
column
comm
compile_et pkgbase: Create a FreeBSD-kerberos package 2021-09-07 10:23:14 +02:00
compress compress(1): warn about link handling 2021-03-04 14:52:12 +01:00
cpio libarchive: import changes from upstream 2022-02-10 00:35:42 +01:00
cpuset Revert "cpuset: add --count" 2023-02-16 18:18:49 +00:00
csplit
ctags
ctlstat Change "ctlstat -P"'s schema 2023-02-13 09:18:38 -07:00
cut Update HISTORY and AUTHORS sections for cut(1) and paste(1) 2022-11-07 11:23:33 +01:00
cxxfilt pkgbase: Create a FreeBSD-elftoolchain package 2023-02-08 08:49:12 +01:00
dc
diff diff: restyle loop a bit 2022-12-13 19:31:21 -06:00
diff3 diff3: Use ranges for new and old diffedits in ed scripts 2022-08-02 14:38:11 +01:00
dirname
dpv Indicate the port where the referenced man pages come from. 2022-08-16 20:57:30 +02:00
drill Rename NO_WERROR -> MK_WERROR=no 2021-01-07 09:31:03 +00:00
dtc usr.bin/dtc: Include <limits> for std::numeric_limits<>. 2022-06-09 10:20:03 -07:00
du du_test: Skip three tests if sparse files are not supported 2021-02-03 17:06:07 +00:00
ee ncurses: chase dependency changes in the source tree 2021-10-04 11:38:24 +02:00
elfctl elfctl: whitespace cleanup 2022-02-15 08:46:14 -05:00
elfdump elfdump: handle small files more gracefully 2022-02-17 10:09:53 -06:00
enigma Indicate which port gpg.1 comes from. 2022-08-17 19:23:57 +02:00
env pkgbase: Put more binaries/lib in runtime 2021-12-21 10:17:27 +01:00
etdump etdump: Fix the file name included in the could not open error message 2022-01-16 06:55:39 +00:00
expand
factor
false
fetch fetch: make -S argument accept values > 2GB 2022-02-20 15:24:43 +01:00
file Integrate contrib/file/tests with kyua/atf 2022-02-16 13:02:45 -06:00
file2c
find find: Logic nit in man page. 2023-01-24 09:53:35 +01:00
finger
fmt Fix some common typos in comments 2021-03-13 18:26:15 +01:00
fold fold(1): Add EXAMPLES section 2020-10-29 18:39:04 +00:00
fortune Update tip for adding a user to wheel: 2022-10-09 02:15:15 +02:00
from
fstat fuser: fix loop over kinfo_proc array 2023-01-09 08:40:20 -08:00
fsync
ftp pkgbase: Create a FreeBSD-ftp package 2021-09-07 10:25:23 +02:00
gcore Indicate which port gdb.1 and kgdb.1 come from. 2022-08-17 19:13:22 +02:00
gencat
getaddrinfo
getconf
getent
getopt
gh-bc gh-bc: don't disable LTO on powerpc64 2023-02-25 00:49:27 +01:00
gprof gprof: Retire a.out support 2020-12-26 11:47:47 -05:00
grdc pkgbase: Create a FreeBSD-games package 2022-10-26 19:46:40 +02:00
grep grep: properly switch EOL indicator with -z 2023-01-03 23:37:54 -06:00
gzip gzip: Add support for decompressing zstd files. 2022-11-04 13:42:09 +01:00
head Improve usability of head(1) and tail(1): 2022-07-12 21:14:25 -07:00
hesinfo Bump .Dd for recently modified manual pages 2022-06-27 18:20:03 +02:00
hexdump hexdump: Flush stdout after '*' (repeat) lines. 2021-07-29 06:40:57 +00:00
host
iconv iconv: only conditionally use ICONV_SET_DISCARD_ILSEQ 2022-08-11 11:33:28 -05:00
id pkgbase: Put more binaries/lib in runtime 2021-12-21 10:17:27 +01:00
ident ident: replace sbuf(9) with open_memstream(3) 2021-10-28 15:51:23 +02:00
indent Fix a few typos in source code comments 2021-08-14 10:08:49 +02:00
ipcrm
ipcs
iscsictl Add missing check for xo_parse_args return code. 2023-01-30 15:43:01 -05:00
join
jot
kdump ktrace: make ktr_tid a long not intptr_t (NFC) 2022-09-17 09:21:59 +01:00
keylogin
keylogout
killall killall(1): allow sending signals to processes with control terminal on pts(4) 2022-12-01 04:42:35 +02:00
ktrace
ktrdump ktrdump: properly parse %% in the format string 2021-12-29 23:08:15 -08:00
kyua Explicitly set CXXSTD to c++11 for old C++ code using std::auto_ptr<>. 2022-12-04 16:25:21 -08:00
lam
last pkgbase: Put accounting utilities in the acct package 2022-08-16 21:15:19 +02:00
lastcomm lastcomm/sa: Remove sparc64 tests, they aren't needed. 2021-10-04 10:51:15 -06:00
ldd Restricting xargs to '-n1' is much slower and isn't needed for file(1) 2022-12-28 15:54:29 -08:00
ldd32
leave
less zless(1): handle uncompressed files 2023-02-20 11:15:09 +01:00
lessecho
lesskey less: upgrade to v590. 2021-07-17 22:20:44 -07:00
lex usr.bin/lex: regenerate bootstrap files after d37f81e35b 2021-04-21 10:56:29 +01:00
limits pkgbase: Put more binaries/lib in runtime 2021-12-21 10:17:27 +01:00
locale
localedef localedef: Fix bootstrapping on Ubuntu 16.04 2021-02-10 16:41:35 +00:00
locate improve c style 2022-02-14 19:30:09 +00:00
lock lock(1): Add EXAMPLES section 2020-12-11 19:27:21 +00:00
lockf
logger logger: fix builds without casper 2022-10-19 16:02:30 +02:00
login manpages: Remove telnetd references 2022-09-29 17:56:41 +01:00
logins
logname
look look(1): Add EXAMPLES section 2020-12-29 21:48:12 +01:00
lorder lorder: add note that it is no longer required 2021-12-20 12:59:01 -05:00
lsvfs lsvfs: one last style nit missed in 946585179d 2022-02-10 16:14:17 -06:00
lzmainfo
m4 m4(1): Add a SEE ALSO section and reference an AT&T manual 2021-04-08 21:16:54 +02:00
mail mail: Fix mismatch in array bounds for isign(). 2022-09-28 14:05:42 -07:00
man man(1): Support zstd compressed manpages using zstdcat 2023-01-30 13:12:36 -05:00
mandoc Remove quotes around Makefile .error/.warn/.info strings 2022-01-22 14:03:07 -05:00
mesg
ministat Add a -q flag to ministat to suppress headers in output, for use with -n. 2021-12-18 22:53:03 +00:00
mkcsmapper update external URL 2022-02-05 09:13:07 +00:00
mkcsmapper_static Remove mkcsmapper_static and mkesdb_static from build-tools 2021-08-02 14:33:25 +01:00
mkdep
mkesdb update external URL 2022-02-05 08:58:30 +00:00
mkesdb_static Remove mkcsmapper_static and mkesdb_static from build-tools 2021-08-02 14:33:25 +01:00
mkfifo
mkimg mkimg: zero entry in vhdx_write_metadata 2021-11-20 19:37:25 -05:00
mkstr
mktemp mktemp: skip later TMPDIR check if -p is specified 2022-11-09 00:04:04 -06:00
mkuzip
morse
msgs ncurses: chase dependency changes in the source tree 2021-10-04 11:38:24 +02:00
mt Add the LTO-9 density code to libmt and the mt(1) man page. 2020-12-10 21:06:06 +00:00
nc
ncal cal: don't print terminal control characters unless stdout is a TTY 2023-01-13 14:30:00 -07:00
ncurses ncurses: chase dependency changes in the source tree 2021-10-04 11:38:24 +02:00
netstat netstat.1: Clarify -i and -I priorities 2023-02-18 18:01:34 +01:00
newgrp
newkey newkey: Fix mismatch in array bounds in for adjust(). 2022-09-28 14:06:16 -07:00
nfsstat nfsstat: Add an entry to output NFSPROC_APPENDWRITE count 2022-05-28 16:27:02 -07:00
nice
nl nl: Correct history 2022-07-24 15:01:52 -06:00
nm pkgbase: Create a FreeBSD-elftoolchain package 2023-02-08 08:49:12 +01:00
nohup
number
objcopy pkgbase: Create a FreeBSD-elftoolchain package 2023-02-08 08:49:12 +01:00
ofed irdma: Add RDMA driver for Intel(R) Ethernet Controller E810 2022-05-23 16:52:49 -07:00
pagesize
pamtest
passwd
paste Update HISTORY and AUTHORS sections for cut(1) and paste(1) 2022-11-07 11:23:33 +01:00
patch patch: omit filename if the prompt was ignored 2023-02-13 00:15:08 -06:00
pathchk
perror
pom pkgbase: Create a FreeBSD-games package 2022-10-26 19:46:40 +02:00
posixshmcontrol posixshmcontrol(1): for regular shmfd, report used pages number 2022-12-09 14:17:12 +02:00
pr
primes
printenv
printf
proccontrol proccontrol(1): Add wxmap control 2021-09-17 15:42:07 +03:00
procstat procstat(1): print AT_USRSTACKBASE and AT_USRSTACKLIM 2022-09-16 23:23:38 +03:00
protect protect.1: Document that protect(1) does not work in jails 2022-07-12 00:47:58 +02:00
quota Fix some common typos in comments 2021-08-08 10:16:06 +02:00
random
rctl
readelf pkgbase: Create a FreeBSD-elftoolchain package 2023-02-08 08:49:12 +01:00
renice renice: Force /bin/sh usage on su calls for the regression tests. 2022-10-13 17:32:47 +02:00
resizewin For man page references found in ports, indicate the respective port. 2022-08-14 15:02:06 +02:00
rev
revoke
rpcgen rpcgen: Unindent a line not guarded by if (mtflag). 2022-12-04 16:32:03 -08:00
rpcinfo
rs rs: Test actual output in the tests. 2022-11-15 21:20:18 -08:00
rup
ruptime
rusers
rwall
rwho
script script: Handle a missing 's' stamp gracefully. 2022-10-27 20:11:36 +00:00
sdiff
sdiotool
sed sed(1): Fix a typo in a source code comment 2022-06-04 20:27:45 +02:00
seq seq: fix style nits 2022-10-01 12:05:07 +02:00
shar
showmount
size pkgbase: Create a FreeBSD-elftoolchain package 2023-02-08 08:49:12 +01:00
smbutil pkgbase: Create a FreeBSD-smbutils package 2023-02-08 08:48:28 +01:00
sockstat sockstat(1): print PID adjusted to the right 2022-07-06 22:19:08 -07:00
soelim Indicate that xrefs to *roff,tbl,eqn et al are found in ports/textproc/groff. 2022-08-15 22:15:18 +02:00
sort sort: deindent file_reader_free and cleanup its usage 2022-10-13 10:51:17 +02:00
split split: reset errno prior to getline() 2022-10-27 12:17:59 -05:00
ssh-copy-id
stat usr.bin/stat: Fix error message formatting. 2023-01-29 14:37:25 -08:00
stdbuf
strings
su
systat tcp: retire TCPDEBUG 2022-12-14 09:54:06 -08:00
tabs ncurses: chase dependency changes in the source tree 2021-10-04 11:38:24 +02:00
tail tail: Retry kevent if the system call was interrupted 2023-02-18 20:09:26 -07:00
talk ncurses: chase dependency changes in the source tree 2021-10-04 11:38:24 +02:00
tar libarchive: import changes from upstream 2022-02-10 00:35:42 +01:00
tcopy
tee tee.1: Add a HISTORY section 2022-10-30 11:29:59 +01:00
telnet ncurses: chase dependency changes in the source tree 2021-10-04 11:38:24 +02:00
tests
tftp tftp: cleanup 2022-11-18 17:01:30 +01:00
time
tip tip(1): Fix a typo in a source code comment 2022-09-03 14:59:03 +02:00
top top: fix sorting by pid (-o pid) 2023-02-13 00:43:32 -06:00
touch touch: don't leak descriptor if fstat(2) fails 2022-03-12 11:38:12 +01:00
tr
true
truncate truncate(1): Update tests' golden output 2021-08-21 17:04:21 +08:00
truss truss: Add preadv(2) and pwritev(2). 2023-02-21 22:40:14 +13:00
tsort
tty
ul ncurses: chase dependency changes in the source tree 2021-10-04 11:38:24 +02:00
uname uname.1: Clarify the -r option 2022-09-16 13:27:54 +02:00
unexpand
unifdef unifdef.1: Fix typo on "input" 2021-10-05 20:27:16 -04:00
uniq uniq(1): use strtonum to parse options 2023-02-25 10:25:51 -07:00
units
unvis
unzip unzip: Document optional member list 2023-01-02 13:17:27 +09:00
usbhidaction mixer: remove volume backwards compat, add % interpretation 2022-06-17 22:50:58 -05:00
usbhidctl
users pkgbase: Put accounting utilities in the acct package 2022-08-16 21:15:19 +02:00
vacation
vgrind Indicate that xrefs to *roff,tbl,eqn et al are found in ports/textproc/groff. 2022-08-15 22:15:18 +02:00
vi ncurses: chase dependency changes in the source tree 2021-10-04 11:38:24 +02:00
vis
vmstat vmstat: fix overflow of interrupt name buffer 2023-01-20 04:51:13 +02:00
vtfontcvt vtfontcvt: improve hex font format validation 2022-07-19 11:48:09 -04:00
w w: Unlike err(3), xo_err(3) won't accept a null format string. 2023-01-25 18:03:00 +01:00
wall
wc wc: Make the read buffer static. 2023-02-16 00:40:45 +00:00
wg wg: drop -Wno-cast-qual from CFLAGS 2022-11-04 22:46:55 -05:00
what
whereis whereis: fix fetching of user.cs_path sysctl variable 2022-02-04 23:44:34 +01:00
which
who pkgbase: Put accounting utilities in the acct package 2022-08-16 21:15:19 +02:00
whois
write
xargs xargs: fix exit code when using -P 2022-10-17 10:39:04 +00:00
xinstall xinstall: alphabetize: upper case precedes lower. 2022-08-04 02:10:16 +02:00
xo
xohtml Import Juniper libxo-1.6.0 2023-01-30 13:37:33 -05:00
xolint
xopo
xstr
xz Disable sandboxing when building with WITHOUT_CAPSICUM. 2023-01-28 10:53:47 -08:00
xzdec
yacc byacc: Update to 20230201. 2023-02-20 23:35:32 +01:00
yes
ypcat pkgbase: Put yellow pages programs to its own package 2021-12-21 10:17:22 +01:00
ypmatch pkgbase: Put yellow pages programs to its own package 2021-12-21 10:17:22 +01:00
ypwhich pkgbase: Put yellow pages programs to its own package 2021-12-21 10:17:22 +01:00
zstd MFV: zstd 1.5.2 2023-01-27 17:22:31 +00:00
Makefile timeout: Move from /usr/bin to /bin 2023-02-02 18:34:35 +01:00
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.inc
Makefile.powerpc