Go to file
mrg b17d1066a7 import GCC 7.4.0. main changes include:
The non-standard C++0x type traits has_trivial_default_constructor,
has_trivial_copy_constructor and has_trivial_copy_assign have been
removed.

On ARM targets (arm*-*-*), a bug introduced in GCC 5 that affects
conformance to the procedure call standard (AAPCS) has been fixed.

Many optimiser improvements

DWARF-5 support.

Many new and enhanced warnings.

Warnings about format strings now underline the pertinent part of
the string, and can offer suggested fixes.

Several new warnings related to buffer overflows and buffer
truncation.

New __builtin_add_overflow_p, __builtin_sub_overflow_p,
__builtin_mul_overflow_p built-ins added that test for overflow.

The C++ front end has experimental support for all of the current
C++17 draft.

The -fverbose-asm option has been expanded to prints comments
showing the source lines that correspond to the assembly.

The gcc and g++ driver programs will now provide suggestions for
misspelled arguments to command-line options.


AArch64 specific:

GCC has been updated to the latest revision of the procedure call
standard (AAPCS64) to provide support for parameter passing when
data types have been over-aligned.

The ARMv8.2-A and ARMv8.3-A architecture are now supported.

ARM specific:

Support for the ARMv5 and ARMv5E architectures has been
deprecated (which have no known implementations).

A new command-line option -mpure-code has been added. It does not
allow constant data to be placed in code sections.

x86 specific:

Support for the AVX-512 4FMAPS, 4VNNIW, VPOPCNTDQ and Software
Guard Extensions (SGX) ISA extensions has been added.

PPC specific:

GCC now diagnoses inline assembly that clobbers register r2.

RISC-V specific:

Support for the RISC-V instruction set has been added.

SH specific:

Support for SH5/SH64 has been removed.

Support for SH2A has been enhanced.
2019-01-19 10:13:58 +00:00
bin Finish (hopefully) the second half of 1.47 ... make sure 2019-01-18 06:28:09 +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 new config file 2019-01-07 15:43:17 +00:00
dist/pf Add a deprecation note in each of the PF man pages (instead of just pf.4), 2018-08-17 12:36:53 +00:00
distrib - mark gcc=5 files obsolete 2019-01-18 17:49:55 +00:00
doc add missing notable things i've done since netbsd-8: 2019-01-18 04:14:47 +00:00
etc Setup default wpa_supplicant flags so that it: 2019-01-12 17:38:36 +00:00
external import GCC 7.4.0. main changes include: 2019-01-19 10:13:58 +00:00
extsrc
games Incite the "Purple Cow" wrath of Gelett Burgess upon ourselves. 2019-01-13 17:55:03 +00:00
include Provide global variables with C linkage, otherwise they will create 2019-01-08 17:35:42 +00:00
lib Use \- for minus. 2019-01-15 07:01:01 +00:00
libexec Adapt https://svnweb.freebsd.org/base?view=revision&revision=342113 to 2019-01-18 11:59:03 +00:00
regress
rescue Retire lmcconfig here too. 2018-12-12 10:25:29 +00:00
sbin Avoid crash when no algorithm is specified in parameter file. 2018-12-30 12:05:48 +00:00
share compat_netbsd32(8): brief adjustments concerning ARM binary support. 2019-01-17 07:05:24 +00:00
sys Increase MSGBUFSIZE 2019-01-19 09:11:55 +00:00
tests add a range and a repeat regex test. 2019-01-19 01:02:12 +00:00
tools use MACHINE_CPU for elf2aout 2019-01-02 13:29:22 +00:00
usr.bin .Pp before .Bd is redundant. 2019-01-13 16:48:51 +00:00
usr.sbin Add missing width argument to Bl. Remove Pp before It. 2019-01-17 08:53:17 +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