DragonFlyBSD/src ce2989f. Makefile.inc1

btools: Obsolete pre hostprog era cc_tools.

We no longer depend on them so this shaves about 1 min from buildworld.

Verified by comparing intermediates and final products.
+5-01 files

DragonFlyBSD/src 9ffd1e6sbin/hammer2 Makefile

hammer2(8): Clean up the Makefile a bit.

Reported-by: zrj

DragonFlyBSD/src 8d9390ausr.sbin/acpi Makefile

acpi: Add SUBDIR_ORDERED for the ACPICA tools for better parallelism.

Reported-by: zrj

DragonFlyBSD/src 944ddadsbin/hammer2 main.c hammer2.8, sys/vfs/hammer2 hammer2_bulkfree.c

hammer2 - Beef up bulkfree buffering

* Beef up the bulkfree buffering to allow a lot more memory
  to be used for the in-memory freemap copy.

* Add a -m mem[k,m,g] override option for hammer2 bulkfree.

* Reduce console spam.

DragonFlyBSD/src 3ab1480gnu/lib/gcc47/libgomp Makefile.i386, gnu/usr.bin/gdb/libbfd Makefile.i386

i386 removal, part 68/x: Remove a number of obsolete Makefiles from gnu/.

Reported-by: zrj

DragonFlyBSD/src 1df46b7usr.sbin/kbdcontrol path.h, usr.sbin/vidcontrol path.h

kbdcontrol(1): Remove not needed defines.

While there, do the same for vidcontrol(1).

DragonFlyBSD/src 90f641c. Makefile.inc1, share/syscons Makefile

share/syscons: Separate hostprog and remove it from btools.

The scrnmaps are not needed for buildworld.

DragonFlyBSD/src c3f478asys/boot/pc32 Makefile Makefile.inc, sys/boot/pc32/asmdef Makefile

boot/pc32: Separate hostprog.

Add guard in common sys/boot/pc32/Makefile.inc.
Hostprog shall not take any of those definitions.

DragonFlyBSD/src 8d6d1e0sys/boot/pc32/boot2 Makefile, sys/boot/pc32/mbr Makefile

boot/pc32: Fix typo in mbr.

Wrong patch in faa6f4d7da5ad6ef2d3e68dd2671b6d6f8161a9b,
the generated mbr was still OK (bmake warning).

While there, only extract XREADORG constant from boot1*.out and not
from bootasmdef.nx in case it ever get one.

DragonFlyBSD/src 7140732lib/libc/gen vis.3 unvis.3

{un,}vis.3: Bring back some small fixes we had earlier.

DragonFlyBSD/src 4235e93share/man/man9 vm_page_alloc.9

vm_page_alloc.9: Adjust for the removal of PG_BUSY.

DragonFlyBSD/src ee690d1share/man/man4 ip6.4

ip6.4: Clean up a bit.

* Remove info about IPV6_IPCOMP_LEVEL which was removed along with IPsec.

* Fix a typo.

DragonFlyBSD/src 16be149etc/mtree BSD.root.dist

mtree/BSD.root.dist: Use spaces.

DragonFlyBSD/src 242ef4esys/kern kern_descrip.c

kernel - Change closefrom() EINTR behavior

* closefrom() no longer breaks out of its loop if it gets an
  EINTR from a close().  EINTR can only occur from NFS in this
  situation, and the descriptor is still closed.  Any EINTR's
  which occur will be rolled up and returned after the loop

* Callers usually ignore closefrom()'s return value anyway.

Suggested-by: mjg

DragonFlyBSD/src caf51c5etc/mtree BSD.root.dist

build - Change default /root directory perms

* Change from 755 to 700.  700 is a more suitable default for
  ~root's home directory.

Reported-by: aly

DragonFlyBSD/src 9618b2b. Makefile_upgrade.inc, sys/netinet6 esp_rijndael.h esp_aesctr.h

/usr/include/netinet6: Remove three unused IPsec related headers.

DragonFlyBSD/src ecacb8agnu/usr.bin/gdb/kgdb kld.c

kgdb(1): Add missing "

Reported-by: zrj

DragonFlyBSD/src 00f0616share/mk bsd.dep.mk

bsd.dep.mk: Split logic for CC and CXX handling.

Previously it assumed that cc(1) will be able to handle c++ sources.
That is not the case for compilers other than gcc or clang.

While there:
  * add MKDEPCC that could be used to override CC in certain
    more convoluted scenarios;
  * finally add a fix for hostprog deps, note that PATH skip from
    NXENV is intentional, we prefer not to use host's mkdep(1).
+12-21 files

DragonFlyBSD/src 4d63737gnu/usr.bin/cc47/cc_tools Makefile.inc, gnu/usr.bin/cc47/cc_tools/tools Makefile

gcc50: Plug in WARNS framework for tools.

At this point should be no-op change.

While there, do the same for gcc50 and gcc47.

DragonFlyBSD/src 0f40532gnu/usr.bin/cc50/support-libs/libbacktrace Makefile, gnu/usr.bin/cc80/support-libs/libbacktrace Makefile

gcc80: Create headers before depend in libbacktrace.

Avoids the situation where (if make depend fails for some reason)
build stops in a strange state.

While there, do the same for gcc50.

DragonFlyBSD/src faa6f4dsys/boot/pc32/boot0 Makefile, sys/boot/pc32/boot2 Makefile

boot/pc32: Filter out global LDFLAGS.

For cases when we need to set global LDFLAGS for compiler frontends.

DragonFlyBSD/src 292e9a5sys/sys kernel.h

kernel: Declare the enum for the guest type before using it.

Found-by: zrj
+2-11 files

DragonFlyBSD/src 94c6425sbin/hammer cmd_show.c hammer.c

hammer(8): Add inline keywords in two prototypes of inline functions.

Found-by: zrj

DragonFlyBSD/src eea5ad6sys/vm vm_swapcache.c

kernel - Fix swapcache cleaning issue

* Fix a bug when a single object has swapcached pages.  In this
  situation, when swapcache exhausts its scan of the object it
  will fail to cycle back to the beginning.  This prevents it
  from cycling any further pages for the object.

* Does not corrupt the system or anything like that, but causes
  swapcache to behave in a way that can sometimes make it less

Reported-by: tuxillo (java on monster)

DragonFlyBSD/src 785fe34share/examples/rconfig hammer_ccd_mirror.sh hammer_lvm_stripe.sh

examples/rconfig: Fix typos.

DragonFlyBSD/src 538c162libexec/rtld-elf Makefile

rtld-elf: -e is an ld(1) option.

DragonFlyBSD/src b6f7511share/man/man9 errno.9

errno.9: Fix reference.

DragonFlyBSD/src 753fc16usr.bin/top Makefile

top(1): Remove an unused file from the Makefile. We do pass HAVE_GETOPT.

Based-on-a-patch-by: zrj

DragonFlyBSD/src fbe0c54contrib/top getopt.c README.DELETED

Merge branch 'vendor/TOP'

DragonFlyBSD/src 66f9698contrib/top getopt.c README.DELETED

top(1): Remove an unused file on the vendor branch.

DragonFlyBSD/src a91ba23bin/csh/csh Makefile, contrib/tcsh-6 README.DELETED

tcsh: Remove MINIX specific file from the build.

DragonFlyBSD/src a19debbcontrib/tcsh-6 mi.termios.c

Merge branch 'vendor/TCSH'

DragonFlyBSD/src 890219acontrib/tcsh-6 mi.termios.c

tcsh: Remove MINIX specific file.

Reported-by: zrj

DragonFlyBSD/src 2bdc905gnu/lib/gcc80/libgcov Makefile, gnu/lib/gcc80/libssp_nonshared Makefile

gcc80: Add missing atomic variants in libgcov.

Use correct config (currently unused).

DragonFlyBSD/src 49138b3gnu/usr.bin/cc80/cc_prep auto-host.h, gnu/usr.bin/cc80/libbackend Makefile

gcc80: Partially implement TOOLCHAIN_CHECKING.

Will be needed for special feature testing in newer binutils.

DragonFlyBSD/src 8b851f8gnu/usr.bin/cc80/backends/programs/collect2 Makefile

collect2(1): Trim sources that create empty objects.

DragonFlyBSD/src 55673fegnu/usr.bin/binutils225/block2/gas Makefile, gnu/usr.bin/binutils227/block2/gas Makefile

as(1): Trim sources that create empty objects.

DragonFlyBSD/src 7bcb6casys/contrib/dev/acpica/source/common dmtbdump.c dmtbinfo.c, sys/contrib/dev/acpica/source/include actbl2.h actbl1.h

Sync ACPICA with Intel's version 20180508 (from previously 20170831).

Tons of fixes and improvements.

For detailed list, please see sys/contrib/dev/acpica/changes.txt.

DragonFlyBSD/src 3f066eflib/libc/sys intro.2, share/man/man9 errno.9 Makefile

Bring in an errno.9 manual page (based on NetBSD's).

DragonFlyBSD/src c84a02fshare/misc pci_vendors

Update the pciconf(8) database.

April 28, 2018 snapshot from https://pci-ids.ucw.cz
+49-141 files

DragonFlyBSD/src 599c55asys/net/ipfw3_basic ip_fw3_basic.c

kernel/ipfw3: Remove unused malloc type.

DragonFlyBSD/src c92b6cf. Makefile_upgrade.inc

Remove some headers via 'make upgrade'.

DragonFlyBSD/src 831d149gnu/usr.bin/cc80/support-libs/libdecnumber Makefile, gnu/usr.bin/gdb/libdecnumber Makefile

LTO: Few workarounds for gcc80 -flto.

DragonFlyBSD/src 78da3f7share/mk bsd.sys.mk

bsd.sys.mk: Add handling for gcc80.

  * Turn off -Wformat-* family of warnings, the -Wformat-truncation and
    -Wformat-overflow is just too noisy for not much benefit.
    Do the same for -Wstringop-* family for now.
    Move these warnings (at their default settings) to WARNS_AUDIT.
  * Disable -Wimplicit-fallthough at WARNS=3, most of contrib is there.
+11-01 files

DragonFlyBSD/src f51dcbdbin/csh/csh Makefile, usr.bin/bmake Makefile

world: Lower WARNS for bmake/tcsh contrib.

Revert this once issues have been solved upstream.

DragonFlyBSD/src 5db9d41gnu/usr.bin/cc80/libbackend Makefile, gnu/usr.bin/cc80/support-libs/libcommon Makefile

gcc80: Mark few sources as special for narrowing.

While there, add -Wpragmas suppression for gcc47.

DragonFlyBSD/src 6739538gnu/lib/gcc80/libgcc_pic Makefile

gcc80: Activate workaround for libgcc_pic.a.

Port 082b455eab27fdd982397abd20137b57c063d594 from gcc50.

DragonFlyBSD/src 40f0590. Makefile.inc1, etc/mtree BSD.include.dist BSD.usr.dist

gcc80: Hook into the buildworld as optional compiler.

This alternative compiler can be activated by WORLD_ALTCOMPILER variable.
It will not be built by default.

DragonFlyBSD/src 42fef81gnu/usr.bin/cc80/drivers/cc gcc.1, gnu/usr.bin/cc80/drivers/cpp cpp.1

gcc80: Add pregenerated manpages.

DragonFlyBSD/src 069dffdgnu/lib/gcc80/libgomp config.h, gnu/lib/gcc80/libstdcxx/headers config.h

gcc80: Add pregenerated headers.