Commit Graph

15884 Commits

Author SHA1 Message Date
christos 944c9a93f6 fix more bind bump. 2019-09-06 11:12:06 +00:00
christos 9049affe72 bump for bind 2019-09-05 19:37:46 +00:00
martin 54c2f8befb Use the non wide char libcurses version for the ramdisk to save space. 2019-09-04 12:10:00 +00:00
riastradh 1d19105e89 Revert "Add more missing firmwares."
This reverts
https://mail-index.NetBSD.org/source-changes/2019/08/27/msg108499.html
which broke the tree on case-insensitive file systems.

See discussion at
https://mail-index.NetBSD.org/source-changes-d/2019/08/27/msg011590.html
for alternatives considered.

This does _not_ simply mark the new files as `obsolete' in the set
lists, because if we marked foo.bin obsolete then on a case-
insensitive file system, then it would try to delete the FOO.bin that
we still want installed.  We'll require a manual change announced in
UPDATING and on current-users.

ok msaitoh
2019-09-03 15:34:08 +00:00
roy c977d4cfab curses(3): add curses_version()
Returns NetBSD-Curses %s
Where %s is the NetBSD version taken from sys/param.h

Discussed on tech-net@, only for ncurses compat.
2019-09-02 09:08:29 +00:00
mrg 0483faae68 document usbnet diagnostics in usbnet(4). remove all the no longer
present messages in specific drivers for the usbnet drivers.
2019-08-30 08:54:58 +00:00
rmind 0e4f0bc520 Install thmap(9) man page. 2019-08-28 21:48:14 +00:00
uki 1c8b0f6e10 syspkg naming for xcomp shl.mi 2019-08-28 12:24:03 +00:00
kamil 1a5f018b01 Enhance the support of LLVM sanitizers
Define _REENTRANT for MKSANITIZER build. This is needed for at least stdio
code. This caused new build issued with duplicated symbols in few places
and rump kernel code picking different code paths borrowed from libc.
Handle all this in one go.

Add bsd.sanitizer.mk to share common code used by programs and libraries.

Switch from realall to beforeinstall target in .syms files. This is more
reliable in MKSANITIZER.
2019-08-27 22:48:53 +00:00
msaitoh 1286d0263a Add more missing firmwares. 2019-08-27 12:45:04 +00:00
msaitoh 0745f2c8df Add missing TAHITI_vce.bin, RV770_uvd.bin, RS780_uvd.bin and R600_uvd.bin.
Fix panic on my own HP EliteDesk 705 G1 SFF. It also fixes PR kern/53988
reported by Onno van der Linden.
2019-08-26 15:35:14 +00:00
kamil a0f3a067f2 Correct the build rules of LLVM sanitizers
Fix generation of .a.syms files in LLVM sanitizers. The old rules weren't
functional and sometimes they were fatal in the build.

Add the .a.syms files to distribution sets.
These files are generated only in certain .a files in 64bit version of
sanitizers.

Correct the location of files with LLVM sanitizers. Move the LLVM sanitizer
entries from base to comp files.
2019-08-26 04:49:45 +00:00
mrg 1db21b1df3 fix MKCXX=no:
- don't build GDB
- don't build sanitizers
- don't build GCC commands
- fix some set lists
2019-08-23 08:17:26 +00:00
kamil 4ed00d96e7 Enhance MKSANITIZER support
Add i386 support for LLVM sanitizers.

Add new build phases do-sanitizer-* for building LLVM sanitizers after libs
and before other programs. This phase is important as sanitizers need
to link with libs and sanitized programs must link with sanitizer runtimes.
2019-08-23 06:38:27 +00:00
adam 4e86ae76ab Fix building compiler_rt with MKCOMPAT=no; approved by kamil@ 2019-08-22 18:15:44 +00:00
kamil 8b3baa27a8 Set NOSANITIZER in i386 ramdisk image 2019-08-22 04:25:38 +00:00
nakayama d9ec4c1e4c Remove obsolete entry for libgomp.so.1.2.
Upgrading from netbsd-8 to netbsd-9 removes this library file, but some
programs (eg. packages compiled on netbsd-8) still use it.
2019-08-21 13:48:37 +00:00
sevan 430a8c4ffa sysctl(8) is useful to have in the install env when debugging 2019-08-20 12:26:38 +00:00
uki 03076a9ebe Give syspkg name to xbase mi files 2019-08-20 12:08:17 +00:00
kamil f0720e6929 Add ATF c and c++ tests for TSan, MSan, libFuzzer
These tests require Clang/LLVM 7 or newer on NetBSD.

Contributed by Yang Zheng during GSoC 2018.
2019-08-18 20:15:58 +00:00
maya dafc44be4c Don't mark /etc/X11/conf.d entries obsolete: a user may choose to have
an entry here.
2019-08-18 07:25:54 +00:00
uwe 4f4e81219c Remove list-portmasters.pl script.
We dropped that list from "main" some time ago.
2019-08-15 21:12:16 +00:00
kamil 645a2f39f4 Ship with sanitizer/lsan_interface.h for LLVM 7
Leak Sanitizer header is already needed in the distribution for built with
Address Sanitizer (MKSANITIZER):

 - dist/llvm/utils/TableGen/TableGen.cpp
 - dist/clang/utils/TableGen/TableGen.cpp

Next version of LLVM (9.0) will ship with LSan.
2019-08-15 16:31:17 +00:00
kamil c208434299 Ship with sanitizer/lsan_interface.h for GCC 7
Leak Sanitizer is there.
2019-08-15 16:01:27 +00:00
martin 3d3e06b3da Update to newer sshd (the host key is the same as before, it already
was a rsa key). From Harold Gutch.
2019-08-14 12:08:27 +00:00
kamil f3834eb55d Add LLVM sanitizers in the MKLLVM=yes build
Enable in all the supported variations for NetBSD/amd64:

 - Address Sanitizer
 - Thread Sanitizer
 - Memory Sanitizer
 - Undefined Behavior Sanitizer
 - SafeStack
 - libFuzzer
 - XRay

This change enables the features on amd64 for start.
2019-08-14 01:42:08 +00:00
uki 92beaecdd6 Give syspkg names to xbase mi binaries and manuals 2019-08-13 12:29:00 +00:00
christos 0287e63d96 use unsigned char to prevent sign extension. 2019-08-13 08:48:07 +00:00
martin 92d9c20449 Make this at least work for ASCII strings (there are way more users
than libcurses in various crunched environments, so the original assumption
of a very limited set of inputs was wrong).
2019-08-12 09:34:53 +00:00
martin cc1c81924b Allow individual MDSETTARGETS/MDSET_SUFFIXES to define optional dependencies
between themselves.
Use that to make netbsd-RPI_INSTALL.img depend on netbsd-RPI_INSTALL.bin,
resolving the parallel build race.
2019-08-12 08:04:28 +00:00
uki 59582bcdc9 Give syspkg names to xbase shl.mi files 2019-08-12 03:51:23 +00:00
uki 7ba21873da Change xbase MD package names for more correctly 2019-08-12 03:48:32 +00:00
martin cc08412564 Back out previous, it causes build fallout like:
release ===> etc/dreamcast/cdroms/installcd
shle--netbsdelf-install: .WAIT: stat: No such file or directory
2019-08-11 17:50:26 +00:00
martin 9e5afaa384 Various suffixes for the same kernel image may depend on each
other, so .WAIT after creating one before moving on to the next.
Case at hand: evbarm/installation/instkernel:
netbsd-RPI_INSTALL.bin needs to be complete before netbsd-RPI_INSTALL.img
can be created.
Better solutions welcome...
2019-08-11 13:55:18 +00:00
gson b97dc361fa Live images built with MKDEBUG=yes fit in 2 GB since installing _pic.a
libraries was disabled in src/share/mk/bsd.own.mk 1.1150.
2019-08-11 11:00:30 +00:00
mrg 2e9fdde4cf usbnet may be stable now. document it. 2019-08-10 20:35:35 +00:00
skrll 8b3bf7f98b Build an if_udav module (untested) 2019-08-08 16:06:14 +00:00
gson 98f1629c07 The amd64 live image no longer fits in 2 GB when built with with
MKDEBUG, as releases are.  Bump the size to just under 4 GB (as in
4*10^9, not 4*2^30), the next larger common USB thumb drive size.
2019-08-07 07:59:35 +00:00
joerg c51cec6ce0 Bump sparc miniroot by 100KB for the clang-based build. 2019-08-02 12:04:45 +00:00
martin 2f346b3370 Avoid using an unitialized variable 2019-08-01 12:28:53 +00:00
mrg 773ec77d3f introduce a library of common code / backends to share code between
USB ethernet drivers.

usbnet.h introduces a new set of APIs to provide common solutions
for these driver features:
 - USB endpoint pipe handling
 - rx and tx chain handling
 - generic handlers or support for several struct ifnet callbacks
 - MII bus locking
 - interrupt handling
 - partial autoconf handling: much of attach, and detach/activate
   can use common versions directly.

currently, only axen(4) and cdce(4) are converted.  the reductions
in these drivers are quite significant:  if_cdce.c is reduced from
1000 lines to 320 lines, and if_axen is reduced from 1902 lines
to 1021 lines.

add a "usbnet" module and make the if_axen module depend upon it.
2019-07-31 09:13:16 +00:00
christos 1367962cfd add new wcsrtombs test 2019-07-28 13:49:22 +00:00
martin 8e30ebdc47 Use the non-WIDE_CHAR version of libcurses from libhack, and also build
the included nvi w/o wide character support.
2019-07-28 10:29:49 +00:00
martin b1c4c5b0c1 Use the non-WIDE_CHAR libcurses version from libhack 2019-07-28 10:28:49 +00:00
martin 5c19a89c12 Provide a way for crunched programs to use a non-WIDE_CHAR version of
libcurses by setting HACK_CURSES=yes before including this makefile.
2019-07-28 10:27:57 +00:00
martin f3b7b31ee0 We (especially libcurses and nvi) use more multibyte character locale
related symbols nowadays. Update libhack to avoid pulling in full grown
multibyte locale support on small install media.
2019-07-28 10:21:18 +00:00
roy 7a897ead2a leot wants the ability to start wpa_supplicant from dhcpcd
without having to start wpa_supplicant seperately, thus the example
hook is restored.
2019-07-26 13:29:36 +00:00
wiz 0d8cd421b1 Fix set name in previous. 2019-07-26 10:42:41 +00:00
roy be7d6d28fc Stop installing 10-wpa_supplicant.
Only install 50-ypbind when MKYP=yes.

Partially addresses PR install/54351.
2019-07-26 10:34:26 +00:00
rmind a6ad2858b4 Install the npf-params(7) man page. 2019-07-25 00:02:55 +00:00