Go to file
kamil ad22411d61 Expand the support of __no[sanitizer] attributes
Add support for RUMPKERNEL that can reuse these attributes in the same code.
These macros are not intended to be used by userland and are still disabled
there. They are a NetBSD specific extension.

Add proper support for clang and GCC.

Set __no[sanitizer] only under a sanitizer, as otherwise there are build
warnings about unused compiler attributes.

Reviewed by <maxv>
2020-03-21 22:45:47 +00:00
bin Add some commas. 2020-02-26 07:14:47 +00:00
common For kernel, rename ffs to __ffssi2 rather than having a weak symbol. 2020-03-10 08:15:44 +00:00
compat 1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and 2019-10-24 18:46:20 +00:00
crypto cleanly fail initialization on empty keyring 2020-03-21 01:07:21 +00:00
dist/pf grammar 2019-09-21 19:48:15 +00:00
distrib Add "build.sh live-image" support for hpcarm. 2020-03-21 14:25:49 +00:00
doc openssl-1.1.1e out. 2020-03-20 23:01:24 +00:00
etc remove obsolete option 2020-03-21 20:20:59 +00:00
external With zfs_netbsd_reclaim() no longer doing an unconditional 2020-03-20 08:26:01 +00:00
extsrc
games Andrew Weatherall's tattoo and a track on A Pox On The Pioneers album. 2020-02-22 19:03:04 +00:00
include Fix visibility of various C99 features, esp. for C++11. 2020-03-20 01:08:42 +00:00
lib Teach rump how to process __link_set_sysctl_funcs so it can handle 2020-03-21 04:48:37 +00:00
libexec PT_GNU_RELRO segments are arranged such that their vaddr + memsz ends 2020-03-04 01:21:17 +00:00
regress Redo previous differently. 2019-11-23 20:37:49 +00:00
rescue Redo the sshsk_sign() stuff properly, but putting the helper in libssh.so 2020-03-01 20:59:52 +00:00
sbin route: Enable receive error reporting on the routing socket 2020-03-14 22:26:39 +00:00
share Fix some typos, remove unnecessary Pp 2020-03-20 08:02:55 +00:00
sys Expand the support of __no[sanitizer] attributes 2020-03-21 22:45:47 +00:00
tests These test cases should now succeed, after fixing rump kernel to handle 2020-03-21 04:50:21 +00:00
tools update date for GCC 8.4.0 import. 2020-03-11 10:07:01 +00:00
usr.bin Note the birthday of Symbolics.com 2020-03-19 07:20:36 +00:00
usr.sbin PR misc/54886: bump threshold for automatic/default creation of a tmpfs /tmp 2020-03-16 06:48:17 +00:00
build.sh Fix long-term broken pattern match when determining if uname -p output is 2019-06-07 15:49:20 +00:00
BUILDING Fix a typo 2019-05-08 14:03:57 +00:00
Makefile Enhance the support of LLVM sanitizers 2019-08-27 22:48:53 +00:00
Makefile.inc
README.md Use first-level heading for "NetBSD" title in README.md 2020-01-10 12:33:28 +00:00
UPDATING note GCC 8.4 may need some cleaning. 2020-03-11 21:07:40 +00:00

NetBSD

NetBSD is a free, fast, secure, and highly portable Unix-like Open Source operating system. It is available for a wide range of platforms, from large-scale servers and powerful desktop systems to handheld and embedded devices.

Building

You can cross-build NetBSD from most UNIX-like operating systems. To build for amd64 (x86_64), in the src directory:

./build.sh -U -u -j4 -m amd64 -O ~/obj release

Additional build information available in the BUILDING file.

Binaries

Testing

On a running NetBSD system:

cd /usr/tests; atf-run | atf-report

Troubleshooting

Latest sources

To fetch the main CVS repository:

cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P src

To work in the Git mirror, which is updated every few hours from CVS:

git clone https://github.com/NetBSD/src.git