Commit Graph

16751 Commits

Author SHA1 Message Date
rin
2b8ef595e1 Add missing aiomixer.debug to fix debug build.
XXX
I *really* hope someone(TM) invent better replacement of
distrib/sets/lists...
2021-05-08 09:23:37 +00:00
nia
209f7af6d7 hook up aiomixer 2021-05-07 21:51:20 +00:00
simonb
e85380d6f9 Add links for the other functions documented in arc4random(3). 2021-05-03 11:07:55 +00:00
rillig
c29d5e341f tests/lint: add test for bit-field types in GCC mode 2021-05-02 21:22:09 +00:00
rillig
ed02aca188 tests/lint: demonstrate missing support for __packed __aligned 2021-05-02 20:44:46 +00:00
rillig
df210e12b5 tests/lint: add very basic tests for GCC __attribute__ 2021-04-30 23:49:36 +00:00
christos
587ca72b71 Add <x86/gdt.h> (we could gc now the <machine/gdt.h> files if we fix the
sources that use them.
2021-04-30 13:55:18 +00:00
christos
c1a44e792d bump shlibs for bind-9.16.15 2021-04-29 17:27:54 +00:00
rin
a43a5c3831 config_found_ia.9 and config_found_sm_loc.9 have been obsoleted.
Should fix build.
2021-04-28 02:15:03 +00:00
thorpej
314209004d Update autoconf(9) for recent autoconfiguration changes. 2021-04-28 00:49:22 +00:00
nia
5783e20041 add a man page for sun8icrypto(4) 2021-04-27 21:13:38 +00:00
nia
681c82ccfb ignore machine-dependent disklabel partitions 2021-04-27 19:52:06 +00:00
rillig
132c9f6004 tests/make: test the combination of -de with -j1
The test cases are the same as in opt-debug-errors.mk.  The output
differs in several details though.

Even though the option '-k' is given (which is the default for any tests
that don't override it in unit-tests/Makefile), there is no message
"(continuing)" anywhere.

The failed target is printed twice.  Once before the failed commands,
once after.  This redundancy is not necessary and may be removed in a
follow-up commit.

The printed commands are in their unexpanded form, which may or may not
be more helpful than the expanded and space-normalized form of compat
mode.  Either way, this is an unnecessary inconsistency between compat
mode and jobs mode.

In jobs mode, the message "make: stopped in $dir" is printed for each
failure, which is helpful since each of the jobs may have started in a
separate directory.
2021-04-27 16:20:06 +00:00
mrg
69931024b9 various updates for libX11. bump the shlib major, install new nls. 2021-04-27 06:50:26 +00:00
mrg
501142fe70 bump libdrm and libdrm_amdgpu shlib minor for new symbols. 2021-04-27 03:09:15 +00:00
pgoyette
044012ff69 The image, with all sorts of MK*DEBUG* turned on, has once again grown.
This time probably as a result of the move to gcc-10.

Bump size to accomodate.
2021-04-26 14:08:11 +00:00
christos
8c90f798cc handle mipsn64 2021-04-25 23:40:05 +00:00
christos
817c6be628 Choose the right compat sets for the platform:
mipsn64 -> o32 n32
mips64 -> o32 64
2021-04-25 22:30:29 +00:00
tsutsui
8ea52577e2 For netboot via DHCP, "next-server" in dhcpd.conf(5) is mandatory.
Pointed out by Anders Gustafsson on port-hp300@.
 https://mail-index.netbsd.org/port-hp300/2021/04/21/msg000201.html

Should be pulled up to netbsd-8 and netbsd-9.

XXX: kernel should use the dhcpd/bootp server address for nfsroot
     if the specified next-server (siaddr) is 0.0.0.0?
2021-04-24 15:38:10 +00:00
mrg
399f6b5a0b use GCC_NO_IMPLICIT_FALLTHRU 2021-04-24 04:50:47 +00:00
mrg
7bcf01e5b9 build cc1objplus. don't forget debug set this time. 2021-04-23 22:50:05 +00:00
rin
f843c9618d Add lto-dump.debug. 2021-04-23 15:21:49 +00:00
mrg
8147e6c899 build new GCC 10 lto-dump(1) tool. 2021-04-23 01:56:14 +00:00
mrg
571b8d3cee sort. 2021-04-23 01:53:55 +00:00
rillig
66445508cf tests/lint: add test for typeof after statement
Found by christos@.
2021-04-22 22:43:26 +00:00
christos
ad44f2cb8b bump libssh 2021-04-19 14:41:18 +00:00
rillig
34039a4026 tests/lint: add emit.ln to the release files 2021-04-18 23:02:16 +00:00
rillig
3f5e7494f3 lint: test emitting of symbol information in the .ln files
Even though the new test is quite large, it didn't find any bugs in the
code.  The only thing I'm unsure about is why static functions are
exported as well, since they are supposed to be local to the translation
unit.
2021-04-18 20:02:56 +00:00
rillig
80be8043c5 tests/lint: demonstrate assertion failure in initialization 2021-04-17 20:36:17 +00:00
msaitoh
882c1780be - Remove obsolete cltom(9) and mtocl(9).
- Add missing manual page's link of m_adj.
2021-04-16 07:45:41 +00:00
mrg
5375303359 restore gcc-8 subdirs and mark as obsolete. oops.
noted by pgoyette.
2021-04-16 01:14:38 +00:00
rillig
b089333f2a tests/make: demonstrate handling of null bytes 2021-04-15 19:02:29 +00:00
rillig
6aa88d9625 lint: add test for newly added message about static array size 2021-04-14 18:27:11 +00:00
mrg
e0746b3fa4 various updates for GCC 10 support. remove dead gcc7/8 support
and properly mark obsolete files in gcc9/gcc10.

testing on amd64 and shark for GCC 9, and many platforms for GCC 10,
(though not arm yet.)
2021-04-12 02:08:59 +00:00
rillig
80108d8526 tests/lint: demonstrate wrong lint warning about complex variables 2021-04-09 21:07:39 +00:00
rillig
ee726345e6 lint: in code from included files, print stack trace
Previously, the standard NetBSD build generated several lint warnings in
lhash.h from OpenSSL, without providing any hint as to which file
actually included that header.  In cases like these, lint now interprets
the line number information in the preprocessor output from GCC to
reconstruct the exact include path to the file in question.

The program check-expect.lua had to be rewritten almost completely since
it assumed that all diagnostics would come from the main file.  In all
existing tests, this was true, but these tests did not cover all cases
that occurred in practice.  Now it records the complete location of the
diagnostic instead of just the line number.
2021-04-08 22:18:26 +00:00
martin
e99a5cc8d0 Add usr/include/elfdefinitions.h and usr/include/sys/elfdefinitions.h 2021-04-08 13:04:01 +00:00
simonb
a5cb771bc5 Revert the change to not build and install /usr/lib/dtrace/drti.o; this
is used by the ruby30-base package when compiled with the dtrace option
(enabled by default).

Problem found by ryoon@.
2021-04-07 09:57:02 +00:00
nia
95a019acde Update for pkgsrc README.html transition 2021-04-07 07:51:12 +00:00
christos
917f170ea8 bump libevent 2021-04-07 03:45:18 +00:00
rillig
b5bd70af56 lint: warn about for wrong type cast in argument to ctype.h functions
The argument to most of the functions from <ctype.h> "shall either be
representable as an 'unsigned char' or shall equal the value of the
macro EOF".

When confronted with the infamous warning 'array subscript has type
char', there are enough programmers who don't know the background of
that warning and thus fix it in a wrong way.  Neither GCC nor Clang
explain its warning to target these programmers.

Both GCC and Clang warn about 'array subscript has type char', but they
ignore the other requirements of the <ctype.h> functions, even though
these are in the C standard library.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94182
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95177
https://stackoverflow.com/a/60696378
2021-04-05 02:05:47 +00:00
rillig
8d51d37642 tests/make: split test for modifier ':@' into separate files
The file varmod-loop.mk has grown too large to be single-purpose, plus
it combined parse-time and run-time tests.  This has the downside that
as soon as a parse-time test results in an error, the run-time tests are
not run anymore.
2021-04-04 13:20:52 +00:00
rillig
1cb2fa84ac tests/lint: prevent typo from tree.c 1.264 from happening again 2021-04-02 17:25:04 +00:00
martin
c3782d2faa named/filter-aaaa.so is unrelated to DYNAMICROOT 2021-04-02 10:06:26 +00:00
rin
791f2c453f Document DHT kernel for evbppc. 2021-04-02 07:09:11 +00:00
martin
18106545b0 Move the named filter-aaaa plugin to the shared list 2021-04-01 10:35:24 +00:00
riastradh
2c5643bbca New vax documentation, vax/covid(4) 2021-04-01 00:03:01 +00:00
christos
6c6c596627 new named plugin (simon@) 2021-03-31 04:38:30 +00:00
simonb
3747573718 Don't build or install /usr/lib/dtrace/drti.o - currently not used, may
be one day...
2021-03-29 01:57:09 +00:00
simonb
93b7e5524f Install <mips/frame.h>, now needed for dtrace. 2021-03-29 01:48:29 +00:00