Go to file
nakayama b7b6f4ad9a Fix PR/54074 and PR/54093 completely.
More similar to the ld.elf_so logic, it is necessary to align with
p_align first.  Also, invert the #ifdef condition for consistency.

Should fix regression for static linking binaries:
http://releng.netbsd.org/b5reports/sparc/commits-2019.11.html#2019.11.10.23.39.03
http://releng.netbsd.org/b5reports/sparc64/commits-2019.11.html#2019.11.16.04.10.33
2019-11-21 23:06:15 +00:00
bin Avoid arithmetics on strings. 2019-10-29 16:19:59 +00:00
common uubsan: Implement function_type_mismatch_v1 2019-11-01 14:54:07 +00:00
compat 1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and 2019-10-24 18:46:20 +00:00
crypto Update LLVM to 10.0.0git (01f3a59fb3e2542fce74c768718f594d0debd0da) 2019-11-11 22:44:56 +00:00
dist/pf grammar 2019-09-21 19:48:15 +00:00
distrib Merge amd64's UEFI logic back into the generic bootimage handling. 2019-11-21 22:29:03 +00:00
doc Add opencrypto driver for Intel QuickAssist. 2019-11-20 09:37:44 +00:00
etc Add opencrypto driver for Intel QuickAssist. 2019-11-20 09:37:44 +00:00
external Restrict -Wl,-z,defs to x86 and aarch64 for now to avoid global build 2019-11-20 06:23:31 +00:00
extsrc
games https://twitter.com/sei6r/status/1182433546331279360 2019-11-10 22:42:21 +00:00
include Switch the iconv(3) prototype to the POSIX conformant variation 2019-10-24 18:17:14 +00:00
lib Fix PR/54074 and PR/54093 completely. 2019-11-21 23:06:15 +00:00
libexec Use alignof and not size_t for platforms with non-natural base 2019-11-05 22:22:42 +00:00
regress Eliminate regress/libexec/ld.elf_so/expand 2019-04-06 16:25:52 +00:00
rescue Remove ldconfig from /rescue, and mark it MI obsolete. 2019-10-02 09:45:10 +00:00
sbin Sort options and SEE ALSO. Improve a sentence. 2019-11-20 21:56:19 +00:00
share autofs: Change my email address in man pages to netbsd.org 2019-11-21 15:24:17 +00:00
sys ga_iot = 0 -> normal_memt 2019-11-21 22:05:09 +00:00
tests Add a missing ("quoting") '>' in an atf_fail error message string. 2019-11-12 18:59:51 +00:00
tools Update LLVM to 10.0.0git (01f3a59fb3e2542fce74c768718f594d0debd0da) 2019-11-11 22:44:56 +00:00
usr.bin msg_table_add(): fix mishap in the format safety changes in r1.45 2019-11-16 17:38:09 +00:00
usr.sbin autofs: Change autounmountd(8) to use time_t for duration instead of double 2019-11-21 16:45:05 +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 Tidy up a bit. 2018-10-23 15:44:42 +00:00
UPDATING catch-up with more ports switched to gcc-8 2019-11-18 15:42:26 +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

README.md

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