Commit Graph

17397 Commits

Author SHA1 Message Date
rillig 5e96f60f79 tests/lint: add test for _Noreturn from C11 2023-07-12 18:13:39 +00:00
christos 7eace3da0c Add memfd_create(2) from GSoC 2023 by Theodore Preduta 2023-07-10 02:31:54 +00:00
christos d8d7258c92 fix typo 2023-07-08 17:43:13 +00:00
christos e706571b76 Document how system call versioning is done. From this summer's compat-linux
GSoC, by Theodore Preduta.
2023-07-08 16:14:11 +00:00
rillig a9b749ce7a tests/lint: merge duplicate tests for C11 _Atomic 2023-07-07 00:20:39 +00:00
riastradh d2876e0fc7 tests/libexec/ld.elf_so: Fix helper library makefiles.
1. Consolidate logic into a single helper.mk to reduce duplication.
2. Set NO* variables, not MK* variables which are reserved for user.
3. Avoid eager X!= in favour of lazy ${X:sh}.
4. Mark _g.a set list entries obsolete.  Never should've been built!

PR misc/57462
2023-07-05 22:42:46 +00:00
rillig 581fbf1bfe tests/lint: add platform-specific tests for troublesome pointer casts 2023-07-05 11:36:56 +00:00
gutteridge 00faf7a9a7 Install a copy of dhcpcd.conf under /usr/share/examples
Addresses PR bin/57487 from Taylor R Campbell.
2023-07-05 00:26:38 +00:00
riastradh 2daa8bfe20 libbsdmalloc: New man page.
XXX pullup-10
2023-07-04 16:23:15 +00:00
riastradh 77b23e4e0e libbsdmalloc: Bump shlib minor.
New symbols, new minor.

XXX pullup-10
2023-07-04 16:22:10 +00:00
rillig 2bb36c1110 tests/lint: move platform-specific query tests to separate files
This fixes the tests on 'unsigned char' platforms.

Thanks martin@ for the notification.
2023-07-03 15:29:42 +00:00
rillig 29b0195f9b lint: add initial support for C23
Required by xsrc/external/mit/MesaLib.old, brw_eu_validate.c, which
initializes a struct using empty braces: 'return (struct string){};'.
2023-07-02 23:40:23 +00:00
gutteridge 5388ce56e6 Add npflog.4 to sets 2023-06-30 00:48:03 +00:00
pgoyette 399bc09bd8 Looks like this debug library disappeared with the new heimdal. Mark
it obsolete to fix the MKDEBUGLIB build.
2023-06-21 02:48:49 +00:00
wiz c093f0b69f install pkg-config file for libedit
version number matches portable libedit
--cflags output matches portable libedit, since users probably want the
readline interface
2023-06-20 23:09:13 +00:00
martin 982f63aa62 Obsolete ati_drv.so.19 and add .22 in the other md.* files affected
by the recentish X update.
2023-06-20 11:00:29 +00:00
mrg 32f4e6acb7 update for fontconfig 2.14.2. 2023-06-20 02:25:19 +00:00
mrg 0bab990a32 updates for xf86-video-ati 22.0.0. 2023-06-19 08:32:39 +00:00
rillig abc3274d3a indent: merge lexer symbols for type in/outside parentheses 2023-06-16 23:51:31 +00:00
wiz 0fa172738f add missing 'obsolete' keyword 2023-06-16 22:18:02 +00:00
wiz b6deb17d6b mark some openssl 1.1 files as obsolete with openssl 3 2023-06-16 20:38:18 +00:00
rillig 13e8698351 tests/make: add test for multiple-inclusion guards 2023-06-16 09:25:13 +00:00
rillig 1d0b121ff3 tests/make: clean up tests for the ':M' and ':S' modifiers 2023-06-16 07:20:45 +00:00
gutteridge fed4c0527d Remove redundant variable assignment
(Someone may want to define MAKEDEVTARGETS differently than is done at
present, but that would be a different change.)
2023-06-14 23:03:19 +00:00
rillig b2fe5a24a1 indent: merge parser symbols for stmt and stmt_list
They were handled in exactly the same way.
2023-06-14 07:20:54 +00:00
gutteridge 87061830a7 Remove redundant variable assignment
It got clobbered by another assignment later, and this has been the
case since r. 1.1 of the file.
2023-06-12 23:29:32 +00:00
lukem 5b36091254 sets: enhance MAKEVERBOSE support
Add more messages for various sets operations.
Add ${_MKMSG_CREATE} to bsd.own.mk.

Enhance maketars to be a bit more verbose even with -q,
to make it more obvious why certain operations may be slow.
May help debugging PR 47562.
2023-06-10 16:08:41 +00:00
lukem 7e6b40ad41 maketars: add comments for skipped mtree keywords
Reorder skipkeys alphabetically and add comment explaining
the purpose and why sha256 is not part of the variable.
2023-06-10 14:11:08 +00:00
gutteridge 373751d8bd Add bpf to the device nodes provided in the evbmips ramdisk
Intended to address an issue noted by Denis Ovsienko on port-mips,
where dhcpcd doesn't work with the netbsd-INSTALL_OCTEON kernel. (I am
not able to test this directly, but verified by mounting the ramdisk
images generated before and after this change.)
2023-06-09 21:41:52 +00:00
simonb 6a879404f5 Alignment nit. 2023-06-09 03:43:02 +00:00
kre 3ab9b3b3e3 Revert previous, I missed an update... 2023-06-08 22:56:14 +00:00
kre e7ca993906 lua is currently building liblua.so.6.0 not ...6.1 2023-06-08 22:54:04 +00:00
nikita 4514e46e6b distrib: lua minor version bump 2023-06-08 21:14:09 +00:00
martin 743f390d28 Fix markup of libh_ MKDEBUGLIB=yes only files 2023-06-06 08:27:44 +00:00
pgoyette ded2c960bc Fix MKDEBUGLIB build by adding these installed files to the debug
set list.

XXX
One could argue that these files are not of any use, so why install
them?  I don't have a good argument either way, and this is (for
now) a simple work-around for PR bin/57455   Please feel free to
commit a different fix to avoid installing these files at all.
2023-06-06 06:51:00 +00:00
lukem 7615e96ba2 mkvars.mk: sort MKEXTRAVARS and remove dupes
Sort MKEXTRAVARS.
Remove obsolete MKBFD.
Remove entries already in <bsd.own.mk> _MKVARS.no or _MKVARS.yes:
	MKCOMPATTESTS MKDTC MKDYNAMICROOT MKFIRMWARE MKMANZ
	MKRADEONFIRMWARE MKSLJIT MKSOFTFLOAT MKXORG_SERVER

Sorted output of comparing "before" and "after" is identical
besides those variables listed above.
2023-06-03 21:20:53 +00:00
andvar 4ce1b76da5 fix typo xbase-obsolet -> xbase-obsolete. 2023-06-03 19:57:33 +00:00
riastradh aa47a9a159 ld.elf_so: Fix missing tab in debug/shl.mi in last change.
XXX pullup-10
2023-06-03 13:20:42 +00:00
lukem c4b7a9e794 bsd.own.mk: rename GCC_NO_* to CC_WNO_*
Rename compiler-warning-disable variables from
	GCC_NO_warning
to
	CC_WNO_warning
where warning is the full warning name as used by the compiler.

GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
2023-06-03 09:09:01 +00:00
riastradh 067c5136b3 ld.elf_so: Test dynamic-then-static abuse via ctor.
XXX pullup-10
2023-06-02 19:09:11 +00:00
riastradh f4e534dd53 ld.elf_so: Test another edge case of mismatched TLS models.
One library defines a symbol and _doesn't_ use it, so it has no
indication of whether the symbol is for static TLS or dynamic TLS,
and then two other libraries use it in different ways.

XXX pullup-10
2023-06-02 19:08:48 +00:00
riastradh e0bd56e642 ld.elf_so: Add new files to debug/shl.mi.
XXX pullup-10
2023-06-02 12:08:26 +00:00
martin eba8370ebe Add recent ld.elf_so test helpers debug info 2023-06-02 11:09:39 +00:00
riastradh 6b7ae3bea1 ld.elf_so: Test TLS abuse of static def, dynamic use and vice versa.
XXX pullup-10
2023-06-01 22:26:40 +00:00
riastradh 05e97b5a42 ld.elf_so: Test extern dynamic TLS too.
XXX pullup-10
2023-06-01 20:50:18 +00:00
rillig 9458670356 tests/make: clean up comments, extend a few tests 2023-06-01 07:27:30 +00:00
christos 64d14f900e new openssl man pages 2023-05-31 19:44:42 +00:00
riastradh 3e86fda22b ld.elf_so: Fix set lists for MKDEBUG=yes builds with t_tls_extern.
XXX pullup-10
2023-05-31 13:02:10 +00:00
riastradh 12037d6a69 ld.elf_so: New test for extern initial-exec TLS, PR toolchain/50277.
XXX pullup-10
2023-05-31 00:18:44 +00:00
riastradh 4448c6469d openssl: Add missing sparc compat openssl engines to set list. 2023-05-27 10:12:11 +00:00