Go to file
kre 686a5c874c This had a similar problem to that reported in PR lib/54053
for the userland (libc) version of humanize_number(),
except in a much more limited, and less harmful, way ...

If the value to be printed was > ~0/10 (eg ~0 itself) and
the buffer given was big enough to hold it, "umax" would overflow,
and the expected result was not produced (here at least the effect was
simply to scale the result for huge values by one unnecessary step,
rather than maximally scale all values usually generating 0E, but
incorrect nonetheless.)
2019-03-12 00:25:44 +00:00
bin Deal with overflow when the sleep duration given is a simple 2019-03-10 15:18:45 +00:00
common rbtree: Add a define to mark function arguments as unused for non debug 2019-03-08 09:14:54 +00:00
compat don't build kernel grovelling tools as n64 on sgimips - we don't actually have 2018-09-20 02:51:21 +00:00
crypto Replace our buggy recallocarray implementation one with the portable one 2019-03-08 20:34:24 +00:00
dist/pf - enlarge buffer to avoid snprintf() truncation 2019-02-03 10:48:46 +00:00
distrib Register ./usr/X11R7/lib/libvdpau_g.a in md.amd64 sets 2019-03-11 17:50:19 +00:00
doc new mdocml 2019-03-11 00:17:16 +00:00
etc - build and install libvdpau and x86 and evbarm. 2019-03-10 11:18:02 +00:00
external Add an initializatin that is not needed when the optimizer works... 2019-03-11 18:06:28 +00:00
extsrc
games Shorter than a season - The Soul Of A New Machine 2019-02-24 12:34:00 +00:00
include catch up with name change. 2019-03-10 15:31:02 +00:00
lib PR lib/54053 2019-03-11 15:10:51 +00:00
libexec on m68010 set BOZO_WRSZ to 16k and BOZO_WRSZ to 64k. 2019-03-08 03:12:28 +00:00
regress Don't test call gates, they are not supported anymore. 2017-08-30 15:46:19 +00:00
rescue fix duplicated chunk from merge 2019-01-27 04:33:29 +00:00
sbin make ext2fs rev1 the default. this enables LARGEFILES support. 2019-03-06 05:11:13 +00:00
share install transset. 2019-03-11 09:20:13 +00:00
sys This had a similar problem to that reported in PR lib/54053 2019-03-12 00:25:44 +00:00
tests Explicitly test for PR lib/54053 2019-03-11 17:45:12 +00:00
tools add most of the AMDGPU target makefiles and stuff that don't 2019-03-10 12:14:05 +00:00
usr.bin no -g 2019-03-09 16:18:37 +00:00
usr.sbin remove unneeded header. 2019-03-11 00:31:36 +00:00
build.sh add aliases for evbarm without saying 'earm': 2019-02-08 02:05:32 +00:00
BUILDING regen 2018-07-29 20:53:41 +00:00
Makefile .WAIT for tools to complete. 2018-11-11 07:43:35 +00:00
Makefile.inc Re-add files that were accidentally deleted in my previous commit. 2018-05-02 07:34:44 +00:00
README.md Tidy up a bit. 2018-10-23 15:44:42 +00:00
UPDATING add a quick note about gcc 7 likely causing update build failures. 2019-02-08 09:57:01 +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