Go to file
mrg 3bb4805c2b with GCC 7, apply -Wno-error=maybe-uninitialized to parser.cpp.
i don't really understand how to remove this warning, someone else
could though, so feel free to :-)

In file included from /usr/src/external/bsd/atf/dist/tools/parser.cpp:33:0:
/usr/src/external/bsd/atf/dist/tools/parser.hpp: In member function 'tools::parser::token tools::parser::tokenizer<IS>::next() [with IS = std::basic_istream<char>]':
/usr/src/external/bsd/atf/dist/tools/parser.hpp:98:8: warning: '<anonymous>.tools::parser::token::m_line' may be used uninitialized in this function [-Wmaybe-uninitialized]
 struct token {
	^~~~~
2019-02-04 09:40:54 +00:00
bin - bump buffer sizes to avoid potential truncation issues 2019-02-04 04:36:41 +00:00
common add support to detect the 3 vmware GPT partition types: 2018-11-06 04:04:33 +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 - bump buffer sizes to avoid potential truncation issues 2019-02-04 04:36:41 +00:00
dist/pf - enlarge buffer to avoid snprintf() truncation 2019-02-03 10:48:46 +00:00
distrib lto1 and lto-wrapper are part of gcccmds set. 2019-02-04 03:26:27 +00:00
doc Note that the current raidframe rf_compat32 implementation is rather 2019-02-04 00:03:24 +00:00
etc add missing ./usr/include/dev/hdaudio (base) and ./usr/include/dev/nvmm, 2019-02-04 04:45:48 +00:00
external with GCC 7, apply -Wno-error=maybe-uninitialized to parser.cpp. 2019-02-04 09:40:54 +00:00
extsrc
games - done() can return in wizard mode. don't NOTREACHED'd it 2019-02-04 03:33:15 +00:00
include Provide global variables with C linkage, otherwise they will create 2019-01-08 17:35:42 +00:00
lib check for snprintf() truncation and fail sanely if so, rather than 2019-02-04 08:21:11 +00:00
libexec - bump buffer sizes to avoid potential truncation issues 2019-02-04 04:36:41 +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 - add the string length as an explicit parameter to get_time_string() 2019-02-04 09:31:22 +00:00
share revert previous for now. 2019-02-04 00:34:12 +00:00
sys apply -Wno-error=implicit-fallthrough to ar5212_xmit.c and ar5416_xmit.c. 2019-02-04 08:36:43 +00:00
tests - add __unreachable() after ATF_REQUIRE(pid > 0) where pid <= 0. 2019-02-04 09:35:11 +00:00
tools common-target source list is MD. make it so. 2019-02-04 01:46:59 +00:00
usr.bin avoid a potential buffer truncation. 2019-02-04 08:07:33 +00:00
usr.sbin check for snprintf() truncation and fail sanely if so, rather than 2019-02-04 08:21:11 +00:00
build.sh add build libs (undocumented). 2018-12-30 23:19:40 +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 Note that we need to clean objdir for the OpenSSL update. 2018-09-24 13:18:35 +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