FreeBSD_HEAD_amd64_gcc - Build #1246 - Failure

From: <jenkins-admin_at_FreeBSD.org>
Date: Mon, 16 May 2016 10:57:57 +0000 (GMT)
FreeBSD_HEAD_amd64_gcc - Build #1246 - Failure:

Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_amd64_gcc/1246/
Full change log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_amd64_gcc/1246/changes
Full build log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_amd64_gcc/1246/console

Change summaries:

299937 by avos:
rtwn: fix double free in raw xmit path.

Reported by:	mva

299936 by andrew:
Add support for intrng to arm64. As the GICv3 drivers will need to be
updated, and until further testing can be done, this is disabled for now.

It is expected arm64 will switch to this interface, and the old interface
will be removed before 11.0 is released.

Obtained from:	ABT Systems Ltd
Relnotes:	yes
Sponsored by:	The FreeBSD Foundation

299934 by andrew:
Teach the ThunderX PCI PEM driver about intrng. This will be used later
when arm64 is supported by intrng.

Obtained from:	ABT Systems Ltd
Sponsored by:	The FreeBSD Foundation

299933 by hselasky:
Implement more Linux device related functions in the LinuxKPI. While
at it use NULL for some pointer checks.

Bump the FreeBSD version to force recompilation of all kernel modules
due to a structure size change.

Obtained from:	kmacy _at_
MFC after:	1 week
Sponsored by:	Mellanox Technologies

299932 by andrew:
Add a pcib interface for use by interrupt controllers that need to
translate the pci rid to a controller ID. The translation could be based
on the 'msi-map' OFW property, a similar ACPI option, or hard-coded for
hardware lacking the above options.

Reviewed by:	wma
Obtained from:	ABT Systems Ltd
Sponsored by:	The FreeBSD Foundation

299931 by hselasky:
Don't dereference parent pointer when it is NULL.

MFC after:	1 week
Sponsored by:	Mellanox Technologies

299930 by hselasky:
Properly implement "cpu_has_clflush" macro.

Suggested by:	kib, jhb
MFC after:	1 week
Sponsored by:	Mellanox Technologies

299929 by andrew:
Re-commit r299467 having fixed the build:

Add a new get_id interface to pci and pcib. This will allow us to both
detect failures, and get different PCI IDs.

For the former the interface returns an int to signal an error. The ID is
returned at a uintptr_t * argument.

For the latter there is a type argument that allows selecting the ID type.
This only specifies a single type, however a MSI type will be added
to handle the need to find the ID the hardware passes to the ARM GICv3
interrupt controller.

A follow up commit will be made to remove pci_get_rid.

Reviewed by:    jhb, rstone (previous version)
Obtained from:  ABT Systems Ltd
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D6239

299928 by andrew:
Introduce MSI and MSI-X support to intrng. This adds a new msi device
interface with 5 methods to mirror the 5 MSI/MSI-X methods in the pcib
interface. The pcib driver will need to perform a device specific lookup
to find the MSI controller and pass this to intrng as the xref. Intrng
will finally find the controller and have it handle the requested operation.

Obtained from:	ABT Systems Ltd
MFH:		yes
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D5985

299927 by sephe:
hyperv/vmbus: Use atomic_testandclear

Prepare to use unsigned long for event channel bit array.

Sponsored by:	Microsoft OSTC
Differential Revision:	https://reviews.freebsd.org/D6382

299926 by truckman:
Hoist the getpwnam() call outside the first if/else block in
pam_sm_chauthtok().  Set user = getlogin() inside the true
branch so that it is initialized for the following PAM_LOG()
call.  This is how it is done in pam_sm_authenticate().

Reported by:	Coverity
CID:		272498
MFC after:	1 week

299925 by arybchik:
sfxge(4): cleanup: quieten more common code MCDI handlers

Submitted by:   Andy Moreton <amoreton at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      1 week

299924 by arybchik:
sfxge(4): cleanup: remove misnamed function declaration

Submitted by:   Richard Houldsworth <rhouldsworth at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      1 week

299923 by arybchik:
sfxge(4): cleanup: make MCDI license queries quieter in common code

Submitted by:   Andy Moreton <amoreton at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      1 week

299922 by truckman:
Don't call free_addrselectpolicy(&policyhead) before policyhead has been
initialized.

Reported by:	Coverity
CID:		1018727

299921 by truckman:
Add an assertion to catch a potential underflow in an array index
calculation, though this should not happen in the current code.

Reported by:	Coverity
CID:		1008486
MFC after:	3 weeks

299920 by arybchik:
sfxge(4): cleanup: simplify ef10_ev_qcreate

Submitted by:   Andy Moreton <amoreton at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      1 week

299919 by arybchik:
sfxge(4): translate MC_CMD_ERR_EEXIST to host errno value

This is needed because the new MCDI command nvram_private_append can
return MC_CMD_ERR_EEXIST

Submitted by:   Tom Millington <tmillington at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      1 week

299918 by arybchik:
fxge(4): cleanup: run genfwdef to propogate prior changes to TLV headers

Submitted by:   Andrew Lee <alee at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      1 week

299917 by arybchik:
sfxge(4): set TSOv2 feature flag on Medford

Submitted by:   Mark Spender <mspender at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      1 week

299916 by avg:
vfs_read_dirent: increment ncookies after adding a cookie

It seems that at present vfs_read_dirent() is used only with filesystems
that do not support cookies, so the bug never manifested itself.

MFC after:	1 week

299915 by arybchik:
sfxge(4): improve TX/RX queue error messages

Report the full error descriptor in a form that can be passed to
firmwaresrc/dpcpu/scripts/evdecode

Submitted by:   Mark Spender <mspender at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      1 week

299914 by avg:
zfsctl_ops_snapshot: remove methods should never be called

We pretend that snapshots mounted under .zfs are part of the original
filesystem and we try very hard to hide vnodes on top of which the snapshots
are mounted.  Given that I believe that the removed operations should
never be called.  They might have been called previously because
of issues fixed in r299906, r299908 and r299913.

MFC after:	5 weeks

299913 by avg:
dounmount: do not call mountcheckdirs() for mounts with MNT_IGNORE

This is a bit hackish, but the flag is currently set only for ZFS
snapshots mounted under .zfs.  mountcheckdirs() can change cdir/rdir
references to a covered vnode.  But for the said snapshots the covered
vnode is really ephemeral and it must never be accessed (except
for a few specific cases).

To do:	consider removing mountcheckdirs() entirely

MFC after:	5 days

299912 by sephe:
atomic: Add testandclear on i386/amd64

Reviewed by:	kib
Sponsored by:	Microsoft OSTC
Differential Revision:	https://reviews.freebsd.org/D6381

299911 by arybchik:
sfxge(4): fix license validation check for V3 licenses

Length consistency checks were failing for ECC hashes.

Submitted by:   Richard Houldsworth <rhouldsworth at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      1 week

299910 by sgalabov:
Introduce basic etherswitch support for Ralink SoCs

This revision introduces basic support for the internal ESW switch found
Ralink/Mediatek SoCs such as RT3050, RT3352, RT5350, MT7628; and GSW
found in MT7620 and MT7621.

It only supports 802.1q VLANs and doesn't support external PHYs at the
moment (only the ones that are built into the switch itself).

Approved by:	adrian (mentor)
Sponsored by:	Smartcom - Bulgaria AD
Differential Revision:	https://reviews.freebsd.org/D6348

299909 by arybchik:
sfxge(4): regenerate MCDI headers from firmwaresrc .yml

Sponsored by:   Solarflare Communications, Inc.
MFC after:      1 week

299908 by avg:
zfsctl_snapdir_lookup: always clear VV_ROOT flag of snapshot's root VV_ROOT

Previosuly we did that only if the snapshot was mounted earlier, its
root vnode got recycled and then we accessed it again.
We never cleared the flag for a freshly mounted snapshot.

That was very inconsistent and probably a source of some bugs.
Or maybe that painted over some bugs which might get revealed now.

We should consistently clear the flag because we try very hard to
pretend that snapshots auto-mounted under .zfs are part of their
original filesystem.  In other words, we try to hide the fact that they
are different filesystems / mountpoints.

MFC after:	5 weeks

299907 by arybchik:
sfxge(4): increase maximum size of license keys

Increase buffer sizes for license keys to 160 bytes to accomodate ECDSA
hashes.

Submitted by:   Richard Houldsworth <rhouldsworth at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      1 week

299906 by avg:
add zfs_vptocnp with special handling for snapshots under .zfs

The logic is similar to that already present in zfs_dirlook() to handle
a dot-dot lookup on a root vnode of a snapshot mounted under
.zfs/snapshot/.
illumos does not have an equivalent of vop_vptocnp, so there only the
lookup had to be patched up.

MFC after:	4 weeks

299905 by arybchik:
sfxge(4): fix V1 licensing MCDI operations

Implementation of the MCDI commands for Siena boards was requesting
the wrong operation.

Submitted by:   Richard Houldsworth <rhouldsworth at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D6370

299904 by arybchik:
sfxge(4): improve PCIe link speed and width check

Perform a more accurate check of whether the PCIe bandwidth is
sufficient for the current/supported port modes.

Give a different warning if there is sufficient bandwidth to achieve
line rate, but the link is not fast enough for optimal latency.

Submitted by:   Mark Spender <mspender at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D6369

299903 by arybchik:
sfxge(4): cleanup: make TLV scans quieter

Find end of segments in a more direct way that avoids an error report at
the terminator.

Submitted by:   Richard Houldsworth <rhouldsworth at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D6367

299902 by avg:
mount_snapshot: consolidate all error handling

This makes sure that the original vnode is always unlocked and released
if any error happens.

MFC after:	4 weeks

299901 by arybchik:
sfxge(4): cleanup: make VPD lookups quieter

A lookup on a VPD entry which is missing reports several failure
messages as it propagates through wrapper functions. Restructured
the wrappers to treat this gracefully as an expected case.

Submitted by:   Richard Houldsworth <rhouldsworth at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D6366

299900 by avg:
zfsctl: fix several problems with reference counts

* Remove excessive references on a snapshot mountpoint vnode.
  zfsctl_snapdir_lookup() called VN_HOLD() on a vnode returned from
  zfsctl_snapshot_mknode() and the latter also had a call to VN_HOLD()
  on the same vnode.
  On top of that gfs_dir_create() already returns the vnode with the
  use count of 1 (set in getnewvnode).
  So there was 3 references on the vnode.

* mount_snapshot() should keep a reference to a covered vnode.
  That reference is owned by the mountpoint (mounted snapshot filesystem).

* Remove cryptic manipulations of a covered vnode in zfs_umount().
  FreeBSD dounmount() already does the right thing and releases the covered
  vnode.

PR:		207464
Reported by:	dustinwenz_at_ebureau.com
Tested by:	Howard Powell <hpowell_at_lighthouseinstruments.com>
MFC after:	3 weeks

299899 by arybchik:
sfxge(4): cleanup: make licensing function quieter

Silent handling of failure to invoke functions that are not supported on
older licensing versions.

Submitted by:   Richard Houldsworth <rhouldsworth at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D6365

299898 by arybchik:
sfxge(4): restructure efx_lic to support V3 licensing

Create separate implementations of the efx_lic API for each revision of
the licensing system. All processing of the V1/V2 license partition is
moved to efx_lic, and an implementation of V3 licensing uses the existing
TLV functions with extensions for writing new TLV entries.

Submitted by:   Richard Houldsworth <rhouldsworth at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D6364

299897 by truckman:
NULL releasedfl after calling deallocate_file_lock() which frees it
to avoid a use-after-free error in the debuglog() call at the top
of the loop.

Reported by:	Coverity
CID:		1006080
MFC after:	1 week

299896 by mm:
Revert r299576 and MFV r299895:

Revert r299576:
Fix broken cpio behavior.

MFV r299895:
Update to vendor git commit 860ec63.

MFC after:	3 weeks (together with libarchive 3.2.0)
Fix broken cpio behavior in pass-through mode with vendor code.
> Description of fields to fill in above:                     76 columns --|
> PR:                       If and which Problem Report is related.
> Submitted by:             If someone else sent in the change.
> Reported by:              If someone else reported the issue.
> Reviewed by:              If someone else reviewed your modification.
> Approved by:              If you needed approval for this commit.
> Obtained from:            If the change is from a third party.
> MFC after:                N [day[s]|week[s]|month[s]].  Request a reminder email.
> MFH:                      Ports tree branch name.  Request approval for merge.
> Relnotes:                 Set to 'yes' for mention in release notes.
> Security:                 Vulnerability reference (one per line) or description.
> Sponsored by:             If the change was sponsored by an organization.
> Differential Revision:    https://reviews.freebsd.org/D### (*full* phabric URL needed).
> Empty fields above will be automatically removed.

_M   libarchive
_M   libarchive/cpio
M    libarchive/cpio/bsdcpio.1
M    libarchive/cpio/cpio.c
_M   libarchive/libarchive
M    libarchive/libarchive/archive_read_support_format_cpio.c

299894 by truckman:
pdu_delete(request) frees request, so move the call after
login_new_response(request) to avoid a use-after-free error

Reported by:	Coverity
Reviewed by:	1331219, 1331220

299893 by truckman:
Don't free fnamebuf before we calling cfgfile_add().  This changes a
use-after-free error into a minor memory leak.

Reported by:	Coverity
CID:		1006084

299892 by sephe:
hyperv/vmbus: Fix event processing loop indentation.

No functional changes.

MFC after:	1 week
Sponsored by:	Microsoft OSTC
Differential Revision:	https://reviews.freebsd.org/D6334

299891 by adrian:
[bwn] use contigmalloc to allocate descriptors.

We can't assume malloc() returns physically contiguous memory.

Submitted by:	Imre Vadasz <imre_at_vdsz.com>
Obtained from:	DragonflyBSD

299890 by sephe:
hyperv/vmbus: Simplify event processing

For channel0, it will never be processed on event handling path,
so there is no need to install it.  After skipping in the channel0
installation, we could discard the channel0 check on event
handling hot code path.

MFC after:	1 week
Sponsored by:	Microsoft OSTC
Differential Revision:	https://reviews.freebsd.org/D6333

299889 by sephe:
hyperv/vmbus: Simplify event processing

While I'm here, remove useless comment and unnecessary return.

MFC after:	1 week
Sponsored by:	Microsoft OSTC
Differential Revision:	https://reviews.freebsd.org/D6332

299888 by sephe:
hyperv/hn: Combine per-packet-information parsing.

MFC after:	1 week
Sponsored by:	Microsoft OSTC

299887 by araujo:
Simplify overengineered and buggy code that looked like as if it did
some kind of UTF-8 validation, but actually didn't, but instead, for
malformed UTF-8 input, caused buffer overruns in some cases and caused
skipping of valid ASCII characters in other cases.

Obtained from:	OpenBSD (cvs 1.32)

299884 by araujo:
When a group contains a non-existent user, make the warning
message more helpful by mentioning the group name.

Obtained from:	OpenBSD (cvs 1.19)

299883 by kevlo:
Follow-up r298818: hide size of 'bands' array behind a macro.

299880 by truckman:
Since rdata is only used as an argument to the immediately following
call to res_nopt_rdata(), revert r299879 and fix CID 603941 by moving
	rdata = &buf[n];
inside the if block.

Reported by:	Coverity
CID:		603941

299879 by truckman:
Likely a false positive ... but make sure that -1 can't be used as an
array index by splitting up a test.

Reported by:	Coverity
CID:		603941
MFC after:	1 week

299878 by araujo:
Use NULL instead of 0 for pointers.

MFC after:	2 weeks.

299877 by araujo:
Use NULL instead of 0 for pointers.

MFC after:	2 weeks

299876 by araujo:
For pointers use NULL instead of 0.

MFC after:	2 weeks.

299875 by araujo:
For pointers use NULL instead of 0.

MFC after:	2 weeks.

299874 by araujo:
For pointers use NULL instead of 0.

MFC after:	2 weeks.

299873 by truckman:
Use strlcpy() instead of strncpy() when copying ifname to ensure
that it is NUL terminated.  Additional NUL padding is not required
for short names.

Use sizeof(destination) in a few places instead of IFNAMSIZ.

Cast afp->af_ridreq and afp->af_addreq  to make the intent of
the code more obvious.

Reported by:	Coverity
CID:		1009628, 1009630, 1009631, 1009632, 1009633, 1009635, 1009638
CID:		1009639, 1009640, 1009641, 1009642, 1009643, 1009644, 1009645
CID:		1009646, 1009647, 1010049, 1010050, 1010051, 1010052, 1010053
CID:		1010054, 1011293, 1011294, 1011295, 1011296, 1011297, 1011298
CID:		1011299, 1305821, 1351720, 1351721
MFC after:	1 week

299872 by rmacklem:
Fix fuse for "cp" of a mode 0444 file to the file system.

When "cp" of a file with read-only (mode 0444) to a fuse mounted
file system was attempted it would fail with EACCES. This was because
fuse would attempt to open the file WRONLY and the open would fail.
This patch changes the fuse_vnop_open() to test for an extant read-write
open and use that, if it is available.
This makes the "cp" of a read-only file to the fuse mounted file system
work ok.
There are simpler ways to fix this than adding the fuse_filehandle_validrw()
function, but this function is useful for future patches related to
exporting a fuse filesystem via NFS.

MFC after:	2 weeks

299871 by jmcneill:
Add Allwinner A83T thermal sensor controller support.

The A83T thermal sensor controller has three sensors. Sensor 0 corresponds
to CPU cluster 0, sensor 1 to CPU cluster 1, and sensor 2 to the GPU. This
driver exports the temperature sensor readings via sysctl.

Calibration data is obtained from SRAM found in the Secure ID module.

Reviewed by:		manu
Differential Revision:	https://reviews.freebsd.org/D6378

299870 by cy:
Make subsequent code reachable.

Reported by:	Coverity CID 1354625
MFC after:	3 days

299869 by truckman:
Use strlcpy() instead of strncpy() when copying ifname to ensure
that it is NUL terminated.  Additional NUL padding is not required
for short names.

Reported by:	Coverity
CID:		1009974
MFC after:	1 week

299868 by truckman:
Use strlcpy() instead of strncpy() when copying ifname to ensure
that it is NUL terminated.  Additional NUL padding is not required
for short names.

Reported by:	Coverity
CID:		99186, 991864, 991865
MFC after:	1 week

299867 by truckman:
Use strlcpy() instead of strncpy() when copying ifname to ensure
that it is NUL terminated.  Additional NUL padding is not required
for short names.

MFC after:	1 week

299866 by truckman:
Use strlcpy() instead of strncpy() when copying ifname to ensure
that it is NUL terminated.  Additional NUL padding is not required
for short names.

Reported by:	Coverity
CID:		974852
MFC after:	1 week

299865 by truckman:
When handling SIOCSIFNAME ensure that the new interface name is NUL
terminated.  Reject the rename attempt if the name is too long.

MFC after:	1 week

299864 by markj:
opt_kdtrace.h is not needed for SDT probes as of r258541.

299863 by jmcneill:
Enable SATA power regulator at boot on Sinovoip BananaPi BPI-M3.

299862 by jmcneill:
Reduce complexity of RSB by always using polling mode. Unfortunately
gpiobus methods can be called with non-sleepable locks held.

Reviewed by:	mmel

299861 by jmcneill:
Add gpio-leds for Sinovoip BananaPi BPI-M3.

The green LED on the board is wired to AXP813 GPIO0 and the blue
LED is wired to AXP813 GPIO1.

299860 by jmcneill:
Add support for the AXP813/AXP818 power key and GPIO pins.

299859 by jmcneill:
Allow RSB to be used from interrupt handlers.

The driver uses polling mode if cold or !THREAD_CAN_SLEEP() and now
implements the bus_* interface.

299858 by mmel:
TEGRA: Also attach gpioc to tegra_gpio driver. Forgotten in r299854.

299856 by mmel:
TEGRA: Don't use common name 'iicb' for tegra specific IIC driver.
Using commn name for different drivers breaks generic kernel creation.

299855 by mmel:
OFWIICBUS: Make ofwiicbus_devclass externaly visible.
It's needed for binding of iic controllers.

299854 by mmel:
TEGRA: Don't use common name 'gpio' for tegra specific GPIO driver.
Using commn name for different drivers breaks generic kernel creation.

299853 by mmel:
OFWGPIOBUS: Make ofwgpiobus_devclass externaly visible.
It's needed for binding of gpio controllers.

299852 by adrian:
[bwn] remove N-PHY registers for now.

I've submitted an alternative proposal to -core about just importing
the (converted) GPL PHY code in an alternate directory under sys/gnu/
so I don't have to rewrite it all to be BSD licenced.

299851 by manu:
Allow arm generic_timer code to be included even if not present in the
SoC.

Reviewed by:	andrew
Approved by:	cognet (mentor)
Differential Revision:	https://reviews.freebsd.org/D6372

299850 by jilles:
install: When preserving timestamps, also copy the nanoseconds part.

299849 by trasz:
Remove NULL checks after M_WAITOK allocations from isp(4).

MFC after:	1 month
Sponsored by:	The FreeBSD Foundation

299848 by trasz:
Make it possible to reroot into NFS.  This means one can have
eg an NFSv4 root over WiFi: boot from md_root (small rootfs image
preloaded by loader(8)), setup WiFi, and then reroot into the actual
root, over NFS.

Note that it's currently limited to NFSv4, and due to problems with
nfsuserd(8) it requres a workaround on the server side: one needs
to set the vfs.nfsd.enable_stringtouid=1 sysctl and not run nfsuserd(8)
on either the server or the client side.

Reviewed by:	rmacklem_at_
MFC after:	1 month
Relnotes:	yes
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D6347

299847 by adrian:
[bwn] add DUALPHY; this may be useful for PHY-N and later dual-phy probing.

Obtained from:	Landon Fuller <landonf_at_landonf.org>

299846 by adrian:
[bwn] commit the N-PHY register set.

Obtained from:	Linux b43 (register definitions.)

299845 by pfg:
routed(8): Use arc4random_uniform instead of arc4random.

Use arc4random_uniform() when the desired random number upper bound
is not a power of two.

While here, we don't need srandom() and friends anymore.

Obtained from:	OpenBSD (CVS rev. 1.20)

299844 by ngie:
Make hostid_save depend on hostid

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division

299843 by ngie:
Fix broken dependency with routed when MK_ROUTED != no

Remove routed as a requirement in NETWORKING, and put it in routed as a BEFORE
requirement instead

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division

299842 by ngie:
Conditionalize installing etc/rc.d/atm{1,2,3}

`BEFORE: netif` was already in etc/rc.d/atm1, so no additional changes
are needed in that script

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division

299841 by ngie:
Remove etc/rc.d/{zfs,zvol} if MK_ZFS != no

MFC after: 2 weeks
X-MFC with: r299840
Sponsored by: EMC / Isilon Storage Division

299840 by ngie:
Conditionalize etc/rc.d/{zfs,zvol} install on MK_ZFS != no

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division

299839 by ngie:
Make FILESYSTEMS, dumpon, and var not depend on zfs and zvol

Make zfs and zvol come before all of the items that depended on them
previously

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division

299838 by ngie:
Reduce redundancy after release-pkg merge to head in r298107

- Use BINDIR instead of FILESDIR
- Default all <FILESGROUPS>MODEs to BINMODE with a single for-loop at the
  bottom of the Makefile
- Move all of the conditionals under the relevant MK_* != no build conditional
  blocks

Sponsored by: EMC / Isilon Storage Division

299834 by ngie:
Fix .Dd

Today is the 14th, not the 10th of May

Reported by: igor (derp)
Sponsored by: EMC / Isilon Storage Division

299833 by ngie:
Fix fully canonicalized example for `myvariable.27...`

`6` doesn't occur in the OID; it was spurious

Bump .Dd for the change

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division

299832 by ngie:
Remove trailing whitespace in license tort

MFC after: 1 week
Reported by: igor
Sponsored by: EMC / Isilon Storage Division

299831 by ngie:
Remove NO_WERROR and add WARNS?= 6

This now compiles cleanly on all architectures

MFC after: 1 month
Tested with: clang 3.8, gcc 4.2.1, gcc 4.5, make tinderbox
Sponsored by: EMC / Isilon Storage Division

299830 by ngie:
Fix -Wcast-align warnings

Use memcpy instead of using direct assignment of void* pointers with
CMSG_DATA(..), which changes alignment

MFC after: 3 weeks
Reported by: clang
Sponsored by: EMC / Isilon Storage Division

299829 by markj:
Use Node Information flag names instead of hard-coding their values.

MFC after:	1 week

299828 by markj:
Fix a few style issues in the ICMP sysctl descriptions.

MFC after:	1 week

299827 by markj:
Add sysctl descriptions for net.inet6.ip6 and net.inet6.icmp6.

icmp6.redirtimeout, icmp6.nd6_maxnudhint and ip6.rr_prune are left
undocumented as they appear to have no effect. Some existing sysctl
descriptions were modified for consistency and style, and the
ip6.tempvltime and ip6.temppltime handlers were rewritten to be a bit
simpler and to avoid setting the sysctl value before validating it.

MFC after:	3 weeks

299825 by pfg:
routed(8): Misc. cleanups to squelch Coverity.

table.c:
Copy into fixed size buffer.

trace.c:
Argument got dup2() cannot be negative.
Copy into fixed size buffer.

CID:		1006785, 1006786, 271301
Obtained from:	NetBSD
MFC after:	2 weeks.

299824 by markj:
Remove an always-false error check in the AIFADDR_IN6 handler.

CID:		1250792
MFC after:	1 week

299822 by pfg:
routed(8): Dereference before null check.

CID:		272432
Obtained from:	NetBSD (CVS ref. 1.16)
MFC after:	2 weeks.

299821 by pfg:
routed(8): Avoid NULL de-reference and two possible memory leaks.

The reports and fixes are straightforward but it's nice to be able
to confirm against NetBSD.

CID:		271080, 272306, 272307
Obtained from:	NetBSD (CVS ref. 1.21 - 1.23)
MFC after:	2 weeks.

299817 by ngie:
Use SNMPD_INPUT_FAILED instead of SNMP_CODE_FAILED

SNMPD_INPUT_FAILED is `enum snmpd_input_err` type (which matches the return
code from the function). SNMP_CODE_FAILED is `enum snmp_code` type.

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

299816 by rmacklem:
Fix fuse so that stale buffer cache data isn't read.

When I/O on a file under fuse is switched from buffered to DIRECT_IO,
it was possible to read stale (before a recent modification) data from
the buffer cache. This patch invalidates the buffer cache for the
file to fix this.

PR:		194293
MFC after:	2 weeks

299815 by ngie:
Remove NO_WERROR.clang from this Makefile

This compiles with clang without warnings

MFC after: 1 month
Sponsored by: EMC / Isilon Storage Division

299814 by ngie:
Replace malloc + memset(.., 0, ..) with calloc calls

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

299811 by ngie:
Use strdup instead of malloc + strlcpy

Fix error messages on failure for calloc/strdup

MFC after: 3 weeks
Sponsored by: EMC / Isilon Storage Division

299810 by ngie:
Correct function names that failed in error messages

It should be calloc/strdup, not malloc

MFC after: 3 weeks
Sponsored by: EMC / Isilon Storage Division

299808 by ngie:
Use sizeof(..)s for the destination buffers instead of hardcoded values corresponding
to the destination buffer sizes

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

299807 by ngie:
Replace QUADFMT with %ju and QUADXFMT with %jx and cast values with uintmax_t

This will cure some -Wformat warnings

MFC after: 1 week
Reported by: clang, gcc
Sponsored by: EMC / Isilon Storage Division

299806 by ngie:
Bump WARNS to 6

MFC after: 1 month
Sponsored by: EMC / Isilon Storage Division

299805 by ngie:
Fix up r299769

Similar to r299802, it was noted that using nitems on scalar pointers is
invalid.

Use strdup instead of malloc + strlcpy (which is what the old code was doing
anyhow).

MFC after: 1 week
Pointyhat to: ngie
Sponsored by: EMC / Isilon Storage Division

299804 by adrian:
[bwn] add the full suite of SPROM flags

Obtained from:	Linux b43

299803 by ngie:
Replace malloc + memset(.., 0, ..) with calloc calls

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

299802 by ngie:
Fix up both r299764 and r299770

nitems was wrong too, as it was being tested against a pointer instead of a buffer on
the stack.

Since the old code was just doing malloc, then strlcpy'ing the contents of the source
buffer into the destination buffer, replace it all with a call to strdup..

Reported by: bde
MFC after: 1 week
X-MFC with: r299764, r299770
Supersized Duncecap to: ngie
Sponsored by: EMC / Isilon Storage Division

299801 by adrian:
[bwn] handle core rev 12, we can mostly do that new.

299800 by adrian:
[bwn] disable 11na channel setup for now, since we definitely, positively
don't do 11na yet.

299799 by adrian:
[bwn] fill out phyctl_1 fields for N-PHY (and later, eventually.)

N-PHY and later require a lot more plcp specific setup for the PHY
to know what to transmit.  I've been spoilt by the atheros, intel
and realtek parts where you don't have to hand-assemble the PLCP
but .. well, apparently Broadcom require a lot more work.

This, and PHY-N itself, was the last major missing bit to get 11a
OFDM transmit to work.  Without this, CCK transmit worked but
OFDM transmit would always fail (with stat.phy_err set to 0x80.)

I have no idea what 0x80 is, and I went mad reading the broadcom
vendor driver to try and figure it out.

Tested:

* BCM4312 (PHY-LP)
* BCM4321 (PHY-N), 11a, 11bg.

299798 by adrian:
[bwn] set the 5ghz transmit flag for 5ghz transmit.

Turns out trying to do 11a transmit without this set works poorly.

299797 by adrian:
[bwn] disable writing slottime timing out to improve performance.

this is from b43 linux, there's a comment in there which notes
one nic family suffers performance degredation with this being set.

299796 by adrian:
[bwn] make rf-kill work for PHY-N.

299795 by adrian:
[bwn] decode the RX RSSI for PHY-N.

I'm still figuring this out, but it at least works somewhat.

299794 by adrian:
[bwn] use the new enum type.

299793 by adrian:
[bwn] debugging changes.

Now that I have 5g working on PHY-N, that "changing band" message
happens quite a bit.  Make it a debug log, not an explicit printf.

299792 by adrian:
[bwn] Explicitly only work for SIBA parts; add some placeholder debugging.

Set phy-full-init always to 1 for now; PHY-N supports being able to do
partial init for things like fast channel changes but I'm going to
ignore it all.

299791 by adrian:
[bwn] missed commit!

299790 by adrian:
[bwn] add new types, prepare for PHY-N; prepare for rev 5xx firmware.

This is a big commit with a whole lot of little changes, all in
preparation for PHY-N and rev 5xx firmware.

* add in a write method that does an explicit flush
* change the txpwr recalc type to return an enum, versus just an int.
* add in PHY-N RX frame format bits, for decoding RX RSSI and such
* add in the header space calculation for rev 5xx firmware.
* add in a whole bunch of new types that the newer and 5g phy code
  needs.  Notably, broadcom has a split 5GHz band concept -
  5G-Low, 5G(-Mid) and 5G-High.  I kept encountering this at my
  day job and wondered whether it was just some marketing thing.
  Nope, turns out it isn't; it's an actual PHY thing.

* Add a "am I a siba bus device" method, that returns true.
  The aim is to convert all the siba/bhnd specific bits in if_bwn
  over to be wrapped in this check, so when landon does a BHND
  drive through he knows which bits need updating.

Now, this the /complete/ set of changes for rev 5xx firmware.
Notably, the TX descriptor handling isn't at all done yet and the
format has changed.  So don' try blindly flipping this on just yet!

299789 by jmcneill:
Add pmic (AXP813) child node to r_rsb for Sinovoip BananaPi BPI-M3.

299788 by kib:
Eliminate pvh_global_lock from the amd64 pmap.

The only current purpose of the pvh lock was explained there
On Wed, Jan 09, 2013 at 11:46:13PM -0600, Alan Cox wrote:
> Let me lay out one example for you in detail.  Suppose that we have
> three processors and two of these processors are actively using the same
> pmap.  Now, one of the two processors sharing the pmap performs a
> pmap_remove().  Suppose that one of the removed mappings is to a
> physical page P.  Moreover, suppose that the other processor sharing
> that pmap has this mapping cached with write access in its TLB.  Here's
> where the trouble might begin.  As you might expect, the processor
> performing the pmap_remove() will acquire the fine-grained lock on the
> PV list for page P before destroying the mapping to page P.  Moreover,
> this processor will ensure that the vm_page's dirty field is updated
> before releasing that PV list lock.  However, the TLB shootdown for this
> mapping may not be initiated until after the PV list lock is released.
> The processor performing the pmap_remove() is not problematic, because
> the code being executed by that processor won't presume that the mapping
> is destroyed until the TLB shootdown has completed and pmap_remove() has
> returned.  However, the other processor sharing the pmap could be
> problematic.  Specifically, suppose that the third processor is
> executing the page daemon and concurrently trying to reclaim page P.
> This processor performs a pmap_remove_all() on page P in preparation for
> reclaiming the page.  At this instant, the PV list for page P may
> already be empty but our second processor still has a stale TLB entry
> mapping page P.  So, changes might still occur to the page after the
> page daemon believes that all mappings have been destroyed.  (If the PV
> entry had still existed, then the pmap lock would have ensured that the
> TLB shootdown completed before the pmap_remove_all() finished.)  Note,
> however, the page daemon will know that the page is dirty.  It can't
> possibly mistake a dirty page for a clean one.  However, without the
> current pvh global locking, I don't think anything is stopping the page
> daemon from starting the laundering process before the TLB shootdown has
> completed.
>
> I believe that a similar example could be constructed with a clean page
> P' and a stale read-only TLB entry.  In this case, the page P' could be
> "cached" in the cache/free queues and recycled before the stale TLB
> entry is flushed.

TLBs for addresses with updated PTEs are always flushed before pmap
lock is unlocked.  On the other hand, amd64 pmap code does not always
flushes TLBs before PV list locks are unlocked, if previously PTEs
were cleared and PV entries removed.

To handle the situations where a thread might notice empty PV list but
third thread still having access to the page due to TLB invalidation
not finished yet, introduce delayed invalidation.  Comparing with the
pvh_global_lock, DI does not block entered thread when
pmap_remove_all() or pmap_remove_write() (callers of
pmap_delayed_invl_wait()) are executed in parallel.  But _invl_wait()
callers are blocked until all previously noted DI blocks are leaved,
thus ensuring that neccessary TLB invalidations were performed before
returning from pmap_remove_all() or pmap_remove_write().

See comments for detailed description of the mechanism, and also for
the explanations why several pmap methods, most important
pmap_enter(), do not need DI protection.

Reviewed by:	alc, jhb (turnstile KPI usage)
Tested by:	pho (previous version)
Sponsored by:	The FreeBSD Foundation
Differential revision:	https://reviews.freebsd.org/D5747

299787 by jmcneill:
Add and enable Allwinner RSB and AXP81x power management IC drivers.

299786 by jmcneill:
Add a basic driver for X-Powers AXP813 and AXP818 power management ICs.

This driver simply installs a shutdown event handler for handling
RB_POWEROFF at shutdown. Tested on a Sinovoip BananaPi BPI-M3.

299785 by adrian:
[bwn] add an implementation of "cordic" and imaginary math.

This is used by the PHY-N code.

Obtained from:	http://bcm-v4.sipsolutions.net/802.11/PHY/Cordic

299784 by pfg:
Avoid NULL de-references.

CID:		271079
Obtained from:	NetBSD
MFC after:	2 weeks.

299783 by ngie:
Convert tok from enum tok to int32_t in function calls

get_token(..) returns int32_t, not enum tok, and in many cases tests for items
not in enum tok (e.g. '('). Make the typing consistent with get_token, which
includes a domino effect of changing enum tok to int32_t.

MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division

299782 by adrian:
[bwn] TX logging / completion fixes

* Log the per-completion status out if requested
* If we get a PHY failure, the retrycnt is set to 0 and ack=0, so
  the logic was incorrect.  So, for ack=0, ensure we don't log
  a retrycnt of 0 (or rate control breaks) or a negative retrycnt
  (or rate control also breaks.)

Tested:

* BCM4321 (11abgn N-PHY), BCM4312 (LP-PHY)

299781 by jmcneill:
Add a driver for the Allwinner Reduced Serial Bus (RSB).

The RSB controller speaks a simplified two wire protocol at speeds up to
20MHz. It is used on sun8i and sun9i family SoCs to communicate with
power management ICs.

RSB isn't really I2C or SMBus, but the driver exposes an iicbus interface
to simplify power management IC drivers (which may need to support both
RSB and I2C connectivity).

299780 by adrian:
[bwn] add in new microcode and phy initval information.

This is required for PHY-N and later hardware.

Tested:

* BCN4321 (11abgn), PHY-N

299779 by jmcneill:
Add node for A83T NMI interrupt controller.

299778 by ngie:
Use a consistent errno save/restore pattern before running strtoul

- Save errno
- Set errno to 0
- Call strtoul
- Test errno (optional, but many calls to strtoul did this afterwards)

Some of the code was setting errno = 0 after calling strtoul, not setting
errno = 0, or setting errno to saved_errno after the call, but before the
test. These all have unwanted behavioral side-effects, depending on the
initial value of errno and whether or not the input to strtoul was correct
or incorrect.

MFC after: 3 weeks
Sponsored by: EMC / Isilon Storage Division

299777 by pfg:
routed(8): Use arc4random.

CID:		1305962
Obtained from:	NetBSD (CVS Rev. 1.34, Itojun)

299776 by adrian:
[bwn] implement reset improvements in preparation for PHY-N support

* Ensure we set 20MHz wide channels (hard-coded) for PHY-N.
* Change the core rese tto take a flag saying "gmode" vesus uint32_t
  flags.  This is important for BCMA support where the "gmode" bit
  is different.
* Refactor out the mac-phy clock reset routine (usde by PHY-N).

Tested:

* BCM4321 (PHY-N), BCM4312 (PHY-LP)

TODO:

* Checkpoint test on PHY-G hardware, just to check.

299775 by adrian:
[bwn] use the shared bwn_sqrt() routine.

299774 by ngie:
Do minimal work necessary to cure a -Wunused-but-set-variable warning from gcc

How errno is saved before and restored after strtoul calls needs a rethink

MFC after: 1 week
Reported by: gcc 5.x
Sponsored by: EMC / Isilon Storage Division

299773 by adrian:
[bwn] disable bgscan for now.

I'll re-enable this when I've verified all of the locking / concurrency
access to the hardware is "right".

Tested:

* BCM4321 (PHY-N), BCM4312 (PHY-LP)

299772 by adrian:
[bwn] add in the new phy common and utils files.

They're not yet used by included code; that'll come next.

299771 by pfg:
routed: Fix use after free.

For the multihomed case, ifp be used after being freed. NULL the value
after freeing it and avoid getting into the branch without reassigning
a new value.

CID:		272671
Obtained from:	NetBSD
MFC after:	2 weeks

299770 by ngie:
Fix up r299764

I meant to use nitems, not sizeof(..) with the destination buffer. Using sizeof(..)
on a pointer will always truncate the output in the destination buffer incorrectly

Pointyhat to: ngie
MFC after: 1 week
X-MFC with: r299764
Sponsored by: EMC / Isilon Storage Division

299769 by ngie:
Use the size of the destination buffer instead of the malloc size, repeated, in order
to mute a -Wstrlcpy-strlcat-size warning

MFC after: 1 week
Reported by: clang
Sponsored by: EMC / Isilon Storage Division

299768 by pfg:
routed(8): use NULL instead of zero for pointers.

299767 by ngie:
Mute sign compare warning by casting rc to u_int to match nbindings' type

rc cannot be negative -- that was already tested for earlier on in
the function

MFC after: 1 week
Reported by: clang, gcc
Sponsored by: EMC / Isilon Storage Division

299766 by ngie:
Fix logically dead code pointed out by clang/Coverity

parse_context, parse_user_security: test for validity of results from
parse_ascii(..) with by casting to int32_t and comparing to -1; comparing
unsigned types to negative values will always be false.

Reported by: clang, Coverity
CID: 1011432, 1011433
MFC after: 3 weeks
Sponsored by: EMC / Isilon Storage Division

299765 by ngie:
Fix theoretical buffer overflow issues in snmp_oid2asn_oid

Increase the size of `string` by 1 to account for the '\0' terminator. In the event
that `str` doesn't contain any non-alpha chars, i would be set to MAXSTR, and
the subsequent strlcpy call would overflow by a character.

Remove unnecessary `string[i] = '\0'` -- this is already handled by strlcpy.

MFC after: 1 week
Reported by: clang
Sponsored by: EMC / Isilon Storage Division

299764 by ngie:
Use the size of the destination buffer, not the source buffer.

Technically this is a no-op, but mute the clang warning in case the malloc call
above for fstring ever changes in the future

Reported by: clang
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

299763 by ngie:
Mute -Wstrlcpy-strlcat-size warning by using nitems with the size of the buffer

This is a no-op as the malloc above set the size of the buffer to the size used
below, but this keeps things consistent in case the malloc call changes somehow.

MFC after: 1 week
Reported by: clang
Sponsored by: EMC / Isilon Storage Division

299762 by ngie:
Mark snmptoolctx unused in parse_authentication(..), parse_privacy(..),
parse_context(..), and parse_user_security(..).

MFC after: 1 week
Reported by: clang, gcc
Sponsored by: EMC / Isilon Storage Division

299761 by ngie:
parse_ascii: make count size_t to mute a -Wsign-compare issue

count is always unsigned.

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

299760 by ngie:
Sort variables in parse_ascii(..) per style(9)

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

299759 by ngie:
Use calloc instead of memset(.., 0, ..) + malloc

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

299758 by adrian:
[bwn] begin migrating PHY common routines into if_bwn_phy_common.[ch].

This isn't compiled in yet; so some code here duplicates what
is in the existing code.  I'll migrate it all out in subsequent
commits.

Obtained from:	b43 (definitions), bcm-v4 specifications website

299757 by adrian:
[bwn] add Q52 macros.

The PHY-N code uses a different format for gain values, so these macros
are used for converting to/from and print out values.

299756 by gonzo:
Use OF_prop_free instead of direct call to free(9)

Reviewed by:	jhibbits

299755 by gonzo:
Use OF_prop_free instead of direct call to free(9)

Reviewed by:	sgalabov

299754 by adrian:
[bwn] add BCMA chip identifiers.

This will eventually live in sys/dev/bhnd/, but I won't use that until
we migrate the whole driver over.

So, this'll live here for now.

Obtained from:	Linux b43 (definitions)

299753 by rmacklem:
Fix fuse to use DIRECT_IO when required.

When a file is opened write-only and a partial block was written,
buffered I/O would try and read the whole block in. This would
result in a hung thread, since there was no open (fuse filehandle)
that allowed reading. This patch avoids the problem by forcing
DIRECT_IO for this case.
It also sets DIRECT_IO when the file system specifies the FN_DIRECTIO
flag in its reply to the open.

Tested by:	nishida_at_asusa.net, freebsd_at_moosefs.com
PR:		194293, 206238
MFC after:	2 weeks

299752 by adrian:
[bwn] add more debugging bits.

I'm hoping to migrate the device_printf() bits out into macros so we can
control it later.

Also, add some new debug sections that I'll soon be using.

299751 by adrian:
[bwn] migrate sqrt and add another couple of util routines.

bwn_sqrt() is in the PHY-LP code but is also needed by the upcoming
PHY-N support.

The other two routines are used by the PHY-N code.

The next commit will introduce it into the compile and pull bwn_sqrt()
out of the PHY-LP source.

299748 by jmcneill:
Add DTS files for the Allwinner A83T SoC and the Sinovoip BananaPi BPI-M3
development board.

299747 by gonzo:
Use OF_prop_free instead of direct call to free(9)

299746 by jhb:
Add an EARLY_AP_STARTUP option to start APs earlier during boot.

Currently, Application Processors (non-boot CPUs) are started by
MD code at SI_SUB_CPU, but they are kept waiting in a "pen" until
SI_SUB_SMP at which point they are released to run kernel threads.
SI_SUB_SMP is one of the last SYSINIT levels, so APs don't enter
the scheduler and start running threads until fairly late in the
boot.

This change moves SI_SUB_SMP up to just before software interrupt
threads are created allowing the APs to start executing kernel
threads much sooner (before any devices are probed).  This allows
several initialization routines that need to perform initialization
on all CPUs to now perform that initialization in one step rather
than having to defer the AP initialization to a second SYSINIT run
at SI_SUB_SMP.  It also permits all CPUs to be available for
handling interrupts before any devices are probed.

This last feature fixes a problem on with interrupt vector exhaustion.
Specifically, in the old model all device interrupts were routed
onto the boot CPU during boot.  Later after the APs were released at
SI_SUB_SMP, interrupts were redistributed across all CPUs.

However, several drivers for multiqueue hardware allocate N interrupts
per CPU in the system.  In a system with many CPUs, just a few drivers
doing this could exhaust the available pool of interrupt vectors on
the boot CPU as each driver was allocating N * mp_ncpu vectors on the
boot CPU.  Now, drivers will allocate interrupts on their desired CPUs
during boot meaning that only N interrupts are allocated from the boot
CPU instead of N * mp_ncpu.

Some other bits of code can also be simplified as smp_started is
now true much earlier and will now always be true for these bits of
code.  This removes the need to treat the single-CPU boot environment
as a special case.

As a transition aid, the new behavior is available under a new kernel
option (EARLY_AP_STARTUP).  This will allow the option to be turned off
if need be during initial testing.  I plan to enable this on x86 by
default in a followup commit in the next few days and to have all
platforms moved over before 11.0.  Once the transition is complete,
the option will be removed along with the !EARLY_AP_STARTUP code.

These changes have only been tested on x86.  Other platform maintainers
are encouraged to port their architectures over as well.  The main
things to check for are any uses of smp_started in MD code that can be
simplified and SI_SUB_SMP SYSINITs in MD code that can be removed in
the EARLY_AP_STARTUP case (e.g. the interrupt shuffling).

PR:		kern/199321
Reviewed by:	markj, gnn, kib
Sponsored by:	Netflix

299745 by jmcneill:
Add allwinner,sun8i-a83t-i2c to the list of compatible devices.

299744 by tuexen:
Fix a locking bug which only shows up on Mac OS X.

MFC after: 1 week

299743 by jmcneill:
Update comment at top of file to mention all currently supported Allwinner
SoCs. Previously mentioned A20 and A31, added A31S, A83T, and H3.

299741 by kib:
Add thr*.2 and _umtx_op.2 manpages to the build.

Sponsored by:	The FreeBSD Foundation

299740 by bz:
Revert r299739.  That did not make it better.
Instead disconnect gpiokeys from the build until it's fixed and buildable;
the SUBDIR list was not ordered properly anyway ;-)

299739 by bz:
Blind long shot.  Add ofw_gpiobus.c to the SRCS list in the hope to
make the remaining MIPS kernels compile which set MODULES_OVERRIDE="gpio..."

299738 by bz:
Update file list for sfgxe(4) again and hey, my amd64 kernels compile again.

299737 by bz:
Revert parts of r299575 in order to make more MIPS kernels build
again hopefully.
Rather than blindly removing a supposedly unused variable as reported by
the Clang Static Analyzer, inspect the code and hide them with proper
#ifdefs as they are used in certain conditional parts of the code.

299736 by delphij:
MFV r299716: file 5.27

MFC after:	2 weeks
Relnotes:	yes

299735 by kib:
Document the non-obsoleted kernel interfaces used by libthr.

Reviewed by:	emaste
Sponsored by:	The FreeBSD Foundation
Differential revision:	https://reviews.freebsd.org/D6335

299734 by arybchik:
sfxge(4): remove unused EFX PHY symbols

Submitted by:   Andy Moreton <amoreton at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      1 week

299733 by arybchik:
sfxge(4): remove obsolete EFX_MON types

Submitted by:   Andy Moreton <amoreton at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      1 week

299732 by arybchik:
sfxge(4): remove unimplemented sensor reconfigure method

Submitted by:   Andy Moreton <amoreton at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      1 week

299731 by arybchik:
sfxge(4): remove unimplemented sensor reset method

Submitted by:   Andy Moreton <amoreton at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      1 week

299730 by arybchik:
sfxge(4): fix build with -Werror=pointer-sign

-Werror=pointer-sign is enabled in OmniOS GLD driver build.

Sponsored by:   Solarflare Communications, Inc.
MFC after:      1 week

299729 by arybchik:
sfxge(4): remove unimplemented MAC reset method

Submitted by:   Andy Moreton <amoreton at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      1 week

299728 by arybchik:
sfxge(4): cleanup: remove unused define EFX_EVQ_FALCON_TIMER_QUANTUM_NS

Sponsored by:   Solarflare Communications, Inc.
MFC after:      1 week

299727 by arybchik:
sfxge(4): cleanup: remove unused variable flags

Sponsored by:   Solarflare Communications, Inc.
MFC after:      1 week

299726 by bz:
Remove more files from sfxge(4) which are no longer in the tree
in order to make the universe a more happy place.

299725 by kp:
vtnet: fix panic on unload

Since r276367 added the virtio_mmio support vtnet_modevent() gets called twice.
This resulted in a memory leak during load and a panic on unload.

Count the loads so we only initialise once (just like cxgbe(4)), and only clean
up in the final unload.

PR:		209428
Submitted by:	novel_at_FreeBSD.org
MFC after:	1 week

299724 by arybchik:
sfxge(4): remove unimplemented EFX PHY methods

Submitted by:   Andy Moreton <amoreton at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      1 week

299723 by arybchik:
sfxge(4): import TLV layout from firmwaresrc

Submitted by:   Laurence Evans <levans at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      1 week

299722 by arybchik:
sfxge(4): remove obsolete EFSYS_OPT_PHY_PROPS option and APIs

Submitted by:   Andy Moreton <amoreton at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      1 week

299721 by arybchik:
sfxge(4): remove PHY property method stubs

Submitted by:   Andy Moreton <amoreton at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      1 week

299720 by arybchik:
sfxge(4): move ef10 definitions to ef10_impl.h

Submitted by:   Andy Moreton <amoreton at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      1 week

299719 by arybchik:
sfxge(4): prepare for moving EF10 definitions to ef10_impl.h

Move legacy privilege masks near to their only user.
Move Huntington definitions to the top of hunt_impl.h to prepare
for moving the remaining EF10 definitions to ef10_impl.h.

Submitted by:   Andy Moreton <amoreton at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D6343

299718 by arybchik:
sfxge(4): rename falconsiena_filter types

Falcon support has been removed, so this code only supports Siena.

Submitted by:   Andy Moreton <amoreton at solarflare.com>
Sponsored by:   Solarflare Communications, Inc.
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D6342

299715 by gonzo:
Use OF_prop_free instead of direct call to free(9)

Reviewed by:	mmel_at_

299714 by gonzo:
Use OF_prop_free instead of direct call to free(9)

Reviewed by:	mmel_at_

299713 by pfg:
Undo the bogus gethostname() change from r299709.

The "- 1" is there specifically to enable checking for NUL termination.

I should also admit the rest change was mostly cosmetic and the
overruns can't occur in practice: still I leave them to pacify
static analyzers.

Pointed out by:	bde

299712 by ngie:
Fix some trivial clang/gcc warnings in bsnmptc.c

- By definition, `enum snmp_tc` can't be false (the implied starting sequence
  index for the enum is 0). Don't test for it being < 0.
- Staticize `struct snmp_text_conv` to mute a -Wmissing-variable-declarations
  warning from clang.
- Remove set but unused variable, ptr, in parse_bridge_id(..) and
  parse_bport_id(..) to mute warning from gcc 4.9+.
- Mark value and string unused in snmp_inetaddr2oct(..) and parse_inetaddr(..)
  as they're just stub functions.

MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

299711 by ngie:
Fold two malloc + memset(.., 0, ..) calls into equivalent calloc calls

MFC after: 3 weeks
Sponsored by: EMC / Isilon Storage Division

299710 by ngie:
Staticize global variables only used in bsnmpimport.c to fix
-Wmissing-variable-declarations warnings

MFC after: 3 weeks
Reported by: clang
Sponsored by: EMC / Isilon Storage Division

299709 by pfg:
timed(8): Use strlcpy() for bounds checking.

Prevent some theorical buffer overruns reported by Coverity.
Cleanup a use of gethostname() while here.

CID:	1006713, 1011166, 1011167, 1011168,

299708 by pfg:
timed(8): Use stronger random number generator.

Using arc4random simplifies the code by not having to worry about
seeds which ironically depend on the time.

CID:	1300004

299707 by pfg:
timed(8): use NULL instead of zero for pointers.

299704 by vangyzen:
iconvctl(3): remove superfluous NULL pointer tests

convname and dst are guaranteed to be non-NULL by iconv_open(3).
src is an array. Remove these tests for NULL pointers.
While I'm here, eliminate a strlcpy with a correct but suspicious-looking
calculation for the third parameter (i.e. not a simple sizeof).
Compare the strings in-place instead of copying.

Found by:	bdrewery
Found by:	Coverity
CID:		1130050, 1130056
MFC after:	3 days
Sponsored by:	Dell Inc.
Differential Revision:	 https://reviews.freebsd.org/D6338

299703 by gonzo:
Use OF_prop_free instead of direct call to free(9)

Approved by:	jmcneill

299702 by gonzo:
Use OF_prop_free instead of direct call to free(9)

299701 by ngie:
Move _bsnmptools_debug extern from bsnmpmap.c to bsnmptools.h

It was used in bsnmpmap.c but was stored in bsnmptools.c; moving the extern
to the header allows us to cover all of our bases for the variable, and allows
_bsnmptools_debug to be used in the future elsewhere -- not just bsnmpmap.c.

MFC after: 3 weeks
Sponsored by: EMC / Isilon Storage Division

299700 by jasone:
Work around invalid gcc warning (explicit cast apparently lost).

299699 by ngie:
Remove NO_WERROR from libbsnmp/Makefile.inc

This has been compiling without warnings with clang/gcc for a while now

Tested with: clang 3.8.0, gcc 4.2.x, gcc 5.x
MFC after: 3 weeks
Sponsored by: EMC / Isilon Storage Division

299694 by markj:
Fix a bug in r298340: "sim" was referenced after being unset.

299693 by alc:
Eliminate an unused #include.  For a brief period of time, _unrhdr.h was
used to implement PCID support on amd64.

Reviewed by:	kib

299692 by emaste:
Use awk to run bhnd's awk script, to allow noexec src dir

PR:		209435
Submitted by:	Landon Fuller <landonf_at_landonf.org>
Differential Revision:	https://reviews.freebsd.org/D6312

299691 by mav:
Fix FCP_CMD LENGTH mask in ATIO7 IOCB.

This caused "long IU length (16384) ignored" errors following by others.

MFC after:	2 weeks

299690 by emaste:
Remove sh accidentally added to dependency lines in r299684

Submitted by:	Landon Fuller <landonf_at_landonf.org>

299689 by adrian:
[bwn] add N-PHY related register defintions.

* Add the siba bus phy/mac/bandwidth clock definitions (TGSLOW*)
* Add the PHY-N register gateway (BWN_PHY_N())
* Add the PHY-N TX phystat1 register - we need to actually fill out
  more of the PHY encoding information when we assemble a frame.
* Various ancillary stuff

Nothing uses this yet, but I do have CCK/OFDM somewhat working
in 2GHz mode on a PHY-N device.

Obtained from:	b43 (definitions)

299688 by manu:
Add support for Allwinner H3 SoC.
For now clocks, GPIO, Pinmux, UART, MMC, EHCI is supported.
Tested on OrangePi-One

Reviewed by:	jmcneill
Approved by:	cognet (mentor)
Differential Revision:	https://reviews.freebsd.org/D6311

299687 by truckman:
Another attempt at resolving CID 1305629.  The test of cmd == -1
may make Coverity think that other negative values of cmd (used
as an index) are possible.  Testing < 0 is a more common idiom
in any case.

Reported by:	Coverity
CID:		1305629

299686 by bdrewery:
Support libsoft for restage.

This is essentially fixing a merge conflict.

299685 by np:
cxgbe(4): Update T5 and T4 firmwares to 1.15.37.0.

These firmwares were obtained from the "Chelsio T5/T4 Unified Wire
v2.12.0.3 for Linux" release.  Changes since 1.14.4.0 (which is the
firmware in -STABLE branches) are in the "Release Notes" accompanying
the Unified Wire release and are copy-pasted here as well.

22.1. T5 Firmware
+++++++++++++++++++++++++++++++++

Version : 1.15.37.0
Date    : 04/27/2016
================================================================================

FIXES
-----

BASE:
 - Fixed an issue in FW_RSS_VI_CONFIG_CMD handling where the default ingress
   queue was ignored.
 - Fixed an issue where adapter failed to load fw by adjusting DRAM frequency.
 - Fixed an issue in watchdog which was causing VM bring-up failure after reboot.
 - Fixed 40G link failures with some switches when auto-negotiation enabled.
 - Fixed to improve on link bring-up time.
 - Per port buffer groups size doubled to improve performance.
 - Fixed an issue where bogus d3hot bits were set causing traffic stall.
 - Fixed an issue where sometimes adapter was not seen after reboot.
 - Fixed an issue where iWARP was crashing in conjunction with traffic management.
 - Fixed an issue where link failed to come up after removing twinax cable and
   inserting optical module.

ETH
 - Fixed a link flap issue on T580-CR.

OFLD
 - Fixed a potential iSCSI data corruption issue by disabling RxFragEn flag.

FOiSCSI
 - Fixed an issue in recovery path where connection was getting closed before
   recovery processing was done.
 - Fixed an issue in TCP port reuse.
 - Fixed an issue in recovery path when large number (>64) of iSCSI connections
   were in use.
 - Returned ENETUNREACH if IP was not been provisioned yet and driver tried to
   use given inerface.
 - Fixed an issue where fw was sending ENETUNREACH event for normal tcp
   disconnection.

DCBX
 - Fixed an issue where iscsi tlv is sent incorrectly to host. (DCBX CEE)
 - Fixed an issue where apply bit set for APP id was affecting the ETS and PFC
  settings.(DCBX IEEE)
 - Fixed an issue where app priority values are not handled correctly in fw.
  (DCBX IEEE)
 - Fixed an issue where enable/disable dcbx can cause crash. (DCBX CEE,DCBX IEEE)

FOFCoE
 - Removed BB6 support.

ENHANCEMENTS
------------

BASE:
 - Added new interface to program DCA settings in SGE contexts; allow 32-byte
   IQE size
 - Added PTP interface fw_ptp_ts to support PTP Frequeny and Offset adjustment.
 - Added MPS raw interface.

ETH:
 - New mailbox command FW_DCB_IEEE_CMD api added for IEEE dcbx.

OFLD:
 - WR opcode is returned to host in cqe error response.

22.2. T4 Firmware
+++++++++++++++++

Version : 1.15.37.0
Date    : 04/27/2016
================================================================================

FIXES
-----

BASE:
 - Fixed an issue in FW_RSS_VI_CONFIG_CMD handling where default ingress queue
   was ignored.
 - Fixed an issue in watchdog which was causing VM bring-up failure after reboot.
 - Per port buffer groups size doubled to improve performance.
 - Fixed an issue where iWARP was crashing in conjunction with traffic management.

FOiSCSI:
 - Fixed an issue in recovery path where connection was getting closed before
   recovery processing was done.
 - Fixed an issue in TCP port reuse.
 - Fixed an issue in recovery path when large number (>64) of iSCSI connections
   were in use.
 - Returned ENETUNREACH if IP had not been provisioned yet and driver tried to
   use given inerface.

DCBX
 - Fixed an issue where iscsi tlv is sent incorrectly to host.(DCBX CEE)
 - Fixed an issue where enable/disable dcbx can cause crash in firmware.(DCBX CEE)

FOiSCSI
 - Fixes an issue where fw was sending ENETUNREACH event for normal tcp
   disconnection.

FOFCoE
 - Removed BB6 support.

ENHANCEMENTS
------------

BASE:
 - Added MPS raw interface.

ETH:
 - New mailbox command FW_DCB_IEEE_CMD api added for IEEE dcbx.
================================================================================

Obtained from:	Chelsio Communications
MFC after:	6 weeks
Relnotes:	yes
Sponsored by:	Chelsio Communications



The end of the build log:

[...truncated 2881 lines...]
--- _bootstrap-tools-usr.sbin/kbdcontrol ---
--- obj ---
/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/builds/FreeBSD_HEAD_amd64_gcc/usr.sbin/kbdcontrol created for /builds/FreeBSD_HEAD_amd64_gcc/usr.sbin/kbdcontrol
--- _bootstrap-tools-lib/clang/libllvmsupport ---
--- MemoryObject.o ---
c++  -O2 -pipe -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/include -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/tools/clang/include -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support -I. -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd11.0\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd11.0\" -DDEFAULT_SYSROOT=\"/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp\" -MD -MF.depend.MemoryObject.o -MTMemoryObject.o -Qunused-arguments -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include  -std=c++11 -fno-exceptions -fno-rtti -stdlib=libc++ -Wno-c++11-extensions  -c /builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/MemoryObject.cpp -o MemoryObject.o
--- _bootstrap-tools-usr.sbin/kbdcontrol ---
--- lex.c ---
lex  -olex.c /builds/FreeBSD_HEAD_amd64_gcc/usr.sbin/kbdcontrol/lex.l
--- .depend ---
echo kbdcontrol.full: /usr/lib/libc.a /usr/lib/libl.a /builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/lib/libegacy.a >> .depend
--- kbdcontrol.o ---
cc -O2 -pipe -I/builds/FreeBSD_HEAD_amd64_gcc/usr.sbin/kbdcontrol  -g -MD  -MF.depend.kbdcontrol.o -MTkbdcontrol.o -std=gnu99  -Qunused-arguments  -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include -c /builds/FreeBSD_HEAD_amd64_gcc/usr.sbin/kbdcontrol/kbdcontrol.c -o kbdcontrol.o
--- _bootstrap-tools-lib/clang/libllvmsupport ---
--- Mutex.o ---
c++  -O2 -pipe -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/include -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/tools/clang/include -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support -I. -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd11.0\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd11.0\" -DDEFAULT_SYSROOT=\"/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp\" -MD -MF.depend.Mutex.o -MTMutex.o -Qunused-arguments -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include  -std=c++11 -fno-exceptions -fno-rtti -stdlib=libc++ -Wno-c++11-extensions  -c /builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Mutex.cpp -o Mutex.o
--- Options.o ---
c++  -O2 -pipe -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/include -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/tools/clang/include -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support -I. -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd11.0\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd11.0\" -DDEFAULT_SYSROOT=\"/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp\" -MD -MF.depend.Options.o -MTOptions.o -Qunused-arguments -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include  -std=c++11 -fno-exceptions -fno-rtti -stdlib=libc++ -Wno-c++11-extensions  -c /builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Options.cpp -o Options.o
--- _bootstrap-tools-gnu/usr.bin/groff ---
--- _SPECIALFILESINS ---
sh /builds/FreeBSD_HEAD_amd64_gcc/tools/install.sh  -o root -g wheel  -m 444 an.tmac man.tmac s.tmac ms.tmac www.tmac /builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/share/tmac/
--- _STRIPFILESINS ---
sh /builds/FreeBSD_HEAD_amd64_gcc/tools/install.sh  -o root -g wheel  -m 444 e.tmac doc.tmac mdoc.local /builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/share/tmac/
--- _MDOCFILESINS ---
sh /builds/FreeBSD_HEAD_amd64_gcc/tools/install.sh  -o root -g wheel  -m 444 doc-common doc-ditroff doc-nroff doc-syms fr.ISO8859-1 ru.KOI8-R /builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/share/tmac/mdoc/
--- _bootstrap-tools-usr.bin/lorder ---
===> usr.bin/lorder (obj,all,install)
--- obj ---
/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/builds/FreeBSD_HEAD_amd64_gcc/usr.bin/lorder created for /builds/FreeBSD_HEAD_amd64_gcc/usr.bin/lorder
--- _SCRIPTSINS_lorder.sh ---
sh /builds/FreeBSD_HEAD_amd64_gcc/tools/install.sh  -o root  -g wheel -m 555  /builds/FreeBSD_HEAD_amd64_gcc/usr.bin/lorder/lorder.sh  /builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/bin/lorder
--- _bootstrap-tools-lib/libopenbsd ---
===> lib/libopenbsd (obj,all,install)
--- obj ---
/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/builds/FreeBSD_HEAD_amd64_gcc/lib/libopenbsd created for /builds/FreeBSD_HEAD_amd64_gcc/lib/libopenbsd
--- getdtablecount.o ---
cc  -O2 -pipe -I/builds/FreeBSD_HEAD_amd64_gcc/lib/libopenbsd  -MD  -MF.depend.getdtablecount.o -MTgetdtablecount.o -std=gnu99  -Qunused-arguments  -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include -c /builds/FreeBSD_HEAD_amd64_gcc/lib/libopenbsd/getdtablecount.c -o getdtablecount.o
--- _bootstrap-tools-usr.sbin/kbdcontrol ---
--- lex.o ---
cc -O2 -pipe -I/builds/FreeBSD_HEAD_amd64_gcc/usr.sbin/kbdcontrol  -g -MD  -MF.depend.lex.o -MTlex.o -std=gnu99  -Qunused-arguments  -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include -c lex.c -o lex.o
--- _bootstrap-tools-lib/libopenbsd ---
--- imsg-buffer.o ---
cc  -O2 -pipe -I/builds/FreeBSD_HEAD_amd64_gcc/lib/libopenbsd  -MD  -MF.depend.imsg-buffer.o -MTimsg-buffer.o -std=gnu99  -Qunused-arguments  -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include -c /builds/FreeBSD_HEAD_amd64_gcc/lib/libopenbsd/imsg-buffer.c -o imsg-buffer.o
--- imsg.o ---
cc  -O2 -pipe -I/builds/FreeBSD_HEAD_amd64_gcc/lib/libopenbsd  -MD  -MF.depend.imsg.o -MTimsg.o -std=gnu99  -Qunused-arguments  -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include -c /builds/FreeBSD_HEAD_amd64_gcc/lib/libopenbsd/imsg.c -o imsg.o
--- _bootstrap-tools-usr.sbin/kbdcontrol ---
--- kbdcontrol.full ---
cc -O2 -pipe -I/builds/FreeBSD_HEAD_amd64_gcc/usr.sbin/kbdcontrol -g -std=gnu99 -Qunused-arguments -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include  -static -L/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/lib -o kbdcontrol.full kbdcontrol.o lex.o   -ll -legacy
--- _bootstrap-tools-lib/libopenbsd ---
--- ohash.o ---
cc  -O2 -pipe -I/builds/FreeBSD_HEAD_amd64_gcc/lib/libopenbsd  -MD  -MF.depend.ohash.o -MTohash.o -std=gnu99  -Qunused-arguments  -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include -c /builds/FreeBSD_HEAD_amd64_gcc/lib/libopenbsd/ohash.c -o ohash.o
--- _bootstrap-tools-usr.sbin/kbdcontrol ---
--- kbdcontrol.debug ---
--- _bootstrap-tools-lib/clang/libllvmsupport ---
--- Path.o ---
--- _bootstrap-tools-usr.sbin/kbdcontrol ---
objcopy --only-keep-debug kbdcontrol.full kbdcontrol.debug
--- _bootstrap-tools-lib/clang/libllvmsupport ---
c++  -O2 -pipe -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/include -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/tools/clang/include -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support -I. -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd11.0\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd11.0\" -DDEFAULT_SYSROOT=\"/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp\" -MD -MF.depend.Path.o -MTPath.o -Qunused-arguments -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include  -std=c++11 -fno-exceptions -fno-rtti -stdlib=libc++ -Wno-c++11-extensions  -c /builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Path.cpp -o Path.o
--- _bootstrap-tools-usr.sbin/kbdcontrol ---
--- kbdcontrol ---
objcopy --strip-debug --add-gnu-debuglink=kbdcontrol.debug  kbdcontrol.full kbdcontrol
--- _proginstall ---
sh /builds/FreeBSD_HEAD_amd64_gcc/tools/install.sh  -s -o root -g wheel -m 555   kbdcontrol /builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/sbin/kbdcontrol
sh /builds/FreeBSD_HEAD_amd64_gcc/tools/install.sh  -o root -g wheel -m 444  kbdcontrol.debug /builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/lib/debug/usr/sbin/kbdcontrol.debug
--- _bootstrap-tools-lib/libsqlite3 ---
===> lib/libsqlite3 (obj,all,install)
--- _bootstrap-tools-lib/libopenbsd ---
--- libopenbsd.a ---
building static openbsd library
ar -crD libopenbsd.a `NM='nm' NMFLAGS='' lorder getdtablecount.o imsg-buffer.o imsg.o ohash.o  | tsort -q` 
--- _bootstrap-tools-lib/libsqlite3 ---
--- obj ---
/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/builds/FreeBSD_HEAD_amd64_gcc/lib/libsqlite3 created for /builds/FreeBSD_HEAD_amd64_gcc/lib/libsqlite3
--- _bootstrap-tools-lib/libopenbsd ---
ranlib -D libopenbsd.a
--- _bootstrap-tools-lib/libsqlite3 ---
--- sqlite3.o ---
cc  -O2 -pipe -I/builds/FreeBSD_HEAD_amd64_gcc/lib/libsqlite3/../../contrib/sqlite3  -DUSE_PREAD=1  -DSTDC_HEADERS=1  -DHAVE_SYS_TYPES_H=1  -DHAVE_SYS_STAT_H=1  -DHAVE_STDLIB_H=1  -DHAVE_STRING_H=1  -DHAVE_MEMORY_H=1  -DHAVE_STRINGS_H=1  -DHAVE_INTTYPES_H=1  -DHAVE_STDINT_H=1  -DHAVE_UNISTD_H=1  -DHAVE_DLFCN_H=1  -DHAVE_USLEEP=1  -DHAVE_LOCALTIME_R=1  -DHAVE_GMTIME_R=1  -DHAVE_DECL_STRERROR_R=1  -DHAVE_STRERROR_R=1  -DHAVE_POSIX_FALLOCATE=1  -D_REENTRANT=1  -DSQLITE_THREADSAFE=1  -DSQLITE_ENABLE_FTS3  -DSQLITE_ENABLE_FTS4  -DSQLITE_ENABLE_RTREE  -MD  -MF.depend.sqlite3.o -MTsqlite3.o -std=gnu99  -Qunused-arguments  -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include -c /builds/FreeBSD_HEAD_amd64_gcc/lib/libsqlite3/../../contrib/sqlite3/sqlite3.c -o sqlite3.o
--- _bootstrap-tools-usr.bin/rpcgen ---
===> usr.bin/rpcgen (obj,all,install)
--- obj ---
/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/builds/FreeBSD_HEAD_amd64_gcc/usr.bin/rpcgen created for /builds/FreeBSD_HEAD_amd64_gcc/usr.bin/rpcgen
--- _bootstrap-tools-lib/clang/libllvmsupport ---
--- PluginLoader.o ---
c++  -O2 -pipe -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/include -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/tools/clang/include -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support -I. -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd11.0\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd11.0\" -DDEFAULT_SYSROOT=\"/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp\" -MD -MF.depend.PluginLoader.o -MTPluginLoader.o -Qunused-arguments -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include  -std=c++11 -fno-exceptions -fno-rtti -stdlib=libc++ -Wno-c++11-extensions  -c /builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/PluginLoader.cpp -o PluginLoader.o
--- _bootstrap-tools-usr.bin/rpcgen ---
--- .depend ---
echo rpcgen.full: /usr/lib/libc.a /builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/lib/libegacy.a >> .depend
--- rpc_main.o ---
cc -O2 -pipe  -g -MD  -MF.depend.rpc_main.o -MTrpc_main.o -std=gnu99  -Qunused-arguments  -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include -c /builds/FreeBSD_HEAD_amd64_gcc/usr.bin/rpcgen/rpc_main.c -o rpc_main.o
--- rpc_clntout.o ---
cc -O2 -pipe  -g -MD  -MF.depend.rpc_clntout.o -MTrpc_clntout.o -std=gnu99  -Qunused-arguments  -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include -c /builds/FreeBSD_HEAD_amd64_gcc/usr.bin/rpcgen/rpc_clntout.c -o rpc_clntout.o
--- rpc_cout.o ---
cc -O2 -pipe  -g -MD  -MF.depend.rpc_cout.o -MTrpc_cout.o -std=gnu99  -Qunused-arguments  -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include -c /builds/FreeBSD_HEAD_amd64_gcc/usr.bin/rpcgen/rpc_cout.c -o rpc_cout.o
--- _bootstrap-tools-lib/clang/libllvmsupport ---
--- PrettyStackTrace.o ---
c++  -O2 -pipe -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/include -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/tools/clang/include -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support -I. -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd11.0\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd11.0\" -DDEFAULT_SYSROOT=\"/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp\" -MD -MF.depend.PrettyStackTrace.o -MTPrettyStackTrace.o -Qunused-arguments -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include  -std=c++11 -fno-exceptions -fno-rtti -stdlib=libc++ -Wno-c++11-extensions  -c /builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/PrettyStackTrace.cpp -o PrettyStackTrace.o
--- _bootstrap-tools-usr.bin/rpcgen ---
--- rpc_hout.o ---
cc -O2 -pipe  -g -MD  -MF.depend.rpc_hout.o -MTrpc_hout.o -std=gnu99  -Qunused-arguments  -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include -c /builds/FreeBSD_HEAD_amd64_gcc/usr.bin/rpcgen/rpc_hout.c -o rpc_hout.o
--- rpc_parse.o ---
cc -O2 -pipe  -g -MD  -MF.depend.rpc_parse.o -MTrpc_parse.o -std=gnu99  -Qunused-arguments  -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include -c /builds/FreeBSD_HEAD_amd64_gcc/usr.bin/rpcgen/rpc_parse.c -o rpc_parse.o
--- rpc_sample.o ---
cc -O2 -pipe  -g -MD  -MF.depend.rpc_sample.o -MTrpc_sample.o -std=gnu99  -Qunused-arguments  -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include -c /builds/FreeBSD_HEAD_amd64_gcc/usr.bin/rpcgen/rpc_sample.c -o rpc_sample.o
--- rpc_scan.o ---
cc -O2 -pipe  -g -MD  -MF.depend.rpc_scan.o -MTrpc_scan.o -std=gnu99  -Qunused-arguments  -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include -c /builds/FreeBSD_HEAD_amd64_gcc/usr.bin/rpcgen/rpc_scan.c -o rpc_scan.o
--- rpc_svcout.o ---
cc -O2 -pipe  -g -MD  -MF.depend.rpc_svcout.o -MTrpc_svcout.o -std=gnu99  -Qunused-arguments  -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include -c /builds/FreeBSD_HEAD_amd64_gcc/usr.bin/rpcgen/rpc_svcout.c -o rpc_svcout.o
--- rpc_tblout.o ---
cc -O2 -pipe  -g -MD  -MF.depend.rpc_tblout.o -MTrpc_tblout.o -std=gnu99  -Qunused-arguments  -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include -c /builds/FreeBSD_HEAD_amd64_gcc/usr.bin/rpcgen/rpc_tblout.c -o rpc_tblout.o
--- _bootstrap-tools-lib/clang/libllvmsupport ---
--- Process.o ---
c++  -O2 -pipe -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/include -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/tools/clang/include -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support -I. -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd11.0\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd11.0\" -DDEFAULT_SYSROOT=\"/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp\" -MD -MF.depend.Process.o -MTProcess.o -Qunused-arguments -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include  -std=c++11 -fno-exceptions -fno-rtti -stdlib=libc++ -Wno-c++11-extensions -DCLOCK_PROCESS_CPUTIME_ID=15 -c /builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Process.cpp -o Process.o
--- Program.o ---
c++  -O2 -pipe -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/include -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/tools/clang/include -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support -I. -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd11.0\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd11.0\" -DDEFAULT_SYSROOT=\"/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp\" -MD -MF.depend.Program.o -MTProgram.o -Qunused-arguments -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include  -std=c++11 -fno-exceptions -fno-rtti -stdlib=libc++ -Wno-c++11-extensions  -c /builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/Program.cpp -o Program.o
--- _bootstrap-tools-usr.bin/rpcgen ---
--- rpc_util.o ---
cc -O2 -pipe  -g -MD  -MF.depend.rpc_util.o -MTrpc_util.o -std=gnu99  -Qunused-arguments  -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include -c /builds/FreeBSD_HEAD_amd64_gcc/usr.bin/rpcgen/rpc_util.c -o rpc_util.o
--- rpcgen.full ---
cc -O2 -pipe -g -std=gnu99 -Qunused-arguments -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include  -static -L/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/lib -o rpcgen.full rpc_main.o rpc_clntout.o rpc_cout.o rpc_hout.o rpc_parse.o rpc_sample.o rpc_scan.o rpc_svcout.o rpc_tblout.o rpc_util.o  -legacy
--- rpcgen.debug ---
objcopy --only-keep-debug rpcgen.full rpcgen.debug
--- rpcgen ---
objcopy --strip-debug --add-gnu-debuglink=rpcgen.debug  rpcgen.full rpcgen
--- _proginstall ---
sh /builds/FreeBSD_HEAD_amd64_gcc/tools/install.sh  -s -o root -g wheel -m 555   rpcgen /builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/bin/rpcgen
sh /builds/FreeBSD_HEAD_amd64_gcc/tools/install.sh  -o root -g wheel -m 444  rpcgen.debug /builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/lib/debug/usr/bin/rpcgen.debug
--- _bootstrap-tools-lib/liby ---
===> lib/liby (obj,all,install)
--- obj ---
/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/builds/FreeBSD_HEAD_amd64_gcc/lib/liby created for /builds/FreeBSD_HEAD_amd64_gcc/lib/liby
--- main.o ---
cc  -O2 -pipe  -MD  -MF.depend.main.o -MTmain.o -std=gnu99  -Qunused-arguments  -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include -c /builds/FreeBSD_HEAD_amd64_gcc/lib/liby/main.c -o main.o
--- yyerror.o ---
cc  -O2 -pipe  -MD  -MF.depend.yyerror.o -MTyyerror.o -std=gnu99  -Qunused-arguments  -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include -c /builds/FreeBSD_HEAD_amd64_gcc/lib/liby/yyerror.c -o yyerror.o
--- liby.a ---
building static y library
ar -crD liby.a `NM='nm' NMFLAGS='' lorder main.o yyerror.o  | tsort -q` 
ranlib -D liby.a
--- _libinstall ---
sh /builds/FreeBSD_HEAD_amd64_gcc/tools/install.sh  -C -o root -g wheel -m 444   liby.a /builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/lib/
--- _bootstrap-tools-usr.bin/yacc ---
===> usr.bin/yacc (obj,all,install)
--- obj ---
/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/builds/FreeBSD_HEAD_amd64_gcc/usr.bin/yacc created for /builds/FreeBSD_HEAD_amd64_gcc/usr.bin/yacc
--- .depend ---
echo yacc.full: /usr/lib/libc.a /builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/lib/libegacy.a >> .depend
--- closure.o ---
cc -O2 -pipe  -DHAVE_FCNTL_H=1  -DHAVE_MKSTEMP=1  -DMAXTABLE=INT_MAX  -DMIXEDCASE_FILENAMES=1 -DYYPATCH=20160324 -g -MD  -MF.depend.closure.o -MTclosure.o -std=gnu99  -Qunused-arguments  -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include -c /builds/FreeBSD_HEAD_amd64_gcc/usr.bin/yacc/../../contrib/byacc/closure.c -o closure.o
--- error.o ---
cc -O2 -pipe  -DHAVE_FCNTL_H=1  -DHAVE_MKSTEMP=1  -DMAXTABLE=INT_MAX  -DMIXEDCASE_FILENAMES=1 -DYYPATCH=20160324 -g -MD  -MF.depend.error.o -MTerror.o -std=gnu99  -Qunused-arguments  -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include -c /builds/FreeBSD_HEAD_amd64_gcc/usr.bin/yacc/../../contrib/byacc/error.c -o error.o
--- graph.o ---
cc -O2 -pipe  -DHAVE_FCNTL_H=1  -DHAVE_MKSTEMP=1  -DMAXTABLE=INT_MAX  -DMIXEDCASE_FILENAMES=1 -DYYPATCH=20160324 -g -MD  -MF.depend.graph.o -MTgraph.o -std=gnu99  -Qunused-arguments  -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include -c /builds/FreeBSD_HEAD_amd64_gcc/usr.bin/yacc/../../contrib/byacc/graph.c -o graph.o
--- _bootstrap-tools-usr.bin/xinstall ---
===> usr.bin/xinstall (obj,all,install)
--- obj ---
/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/builds/FreeBSD_HEAD_amd64_gcc/usr.bin/xinstall created for /builds/FreeBSD_HEAD_amd64_gcc/usr.bin/xinstall
--- _bootstrap-tools-usr.bin/yacc ---
--- lalr.o ---
cc -O2 -pipe  -DHAVE_FCNTL_H=1  -DHAVE_MKSTEMP=1  -DMAXTABLE=INT_MAX  -DMIXEDCASE_FILENAMES=1 -DYYPATCH=20160324 -g -MD  -MF.depend.lalr.o -MTlalr.o -std=gnu99  -Qunused-arguments  -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include -c /builds/FreeBSD_HEAD_amd64_gcc/usr.bin/yacc/../../contrib/byacc/lalr.c -o lalr.o
--- _bootstrap-tools-usr.bin/xinstall ---
--- .depend ---
echo xinstall.full: /usr/lib/libc.a /usr/lib/libmd.a /builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/lib/libegacy.a >> .depend
--- xinstall.o ---
cc -O2 -pipe  -I/builds/FreeBSD_HEAD_amd64_gcc/usr.bin/xinstall/../../contrib/mtree -I/builds/FreeBSD_HEAD_amd64_gcc/usr.bin/xinstall/../../lib/libnetbsd -g -MD  -MF.depend.xinstall.o -MTxinstall.o -std=gnu99  -Qunused-arguments  -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include -c /builds/FreeBSD_HEAD_amd64_gcc/usr.bin/xinstall/xinstall.c -o xinstall.o
--- _bootstrap-tools-lib/clang/libllvmsupport ---
--- RWMutex.o ---
c++  -O2 -pipe -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/include -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/tools/clang/include -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support -I. -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd11.0\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd11.0\" -DDEFAULT_SYSROOT=\"/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp\" -MD -MF.depend.RWMutex.o -MTRWMutex.o -Qunused-arguments -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include  -std=c++11 -fno-exceptions -fno-rtti -stdlib=libc++ -Wno-c++11-extensions  -c /builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/RWMutex.cpp -o RWMutex.o
--- RandomNumberGenerator.o ---
c++  -O2 -pipe -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/include -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/tools/clang/include -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support -I. -I/builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/../../lib/clang/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fno-strict-aliasing -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd11.0\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd11.0\" -DDEFAULT_SYSROOT=\"/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp\" -MD -MF.depend.RandomNumberGenerator.o -MTRandomNumberGenerator.o -Qunused-arguments -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include  -std=c++11 -fno-exceptions -fno-rtti -stdlib=libc++ -Wno-c++11-extensions  -c /builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/RandomNumberGenerator.cpp -o RandomNumberGenerator.o
--- _bootstrap-tools-usr.bin/yacc ---
--- lr0.o ---
cc -O2 -pipe  -DHAVE_FCNTL_H=1  -DHAVE_MKSTEMP=1  -DMAXTABLE=INT_MAX  -DMIXEDCASE_FILENAMES=1 -DYYPATCH=20160324 -g -MD  -MF.depend.lr0.o -MTlr0.o -std=gnu99  -Qunused-arguments  -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include -c /builds/FreeBSD_HEAD_amd64_gcc/usr.bin/yacc/../../contrib/byacc/lr0.c -o lr0.o
--- _bootstrap-tools-usr.bin/xinstall ---
/builds/FreeBSD_HEAD_amd64_gcc/usr.bin/xinstall/xinstall.c:862:11: warning: implicit declaration of function 'utimensat' is invalid in C99 [-Wimplicit-function-declaration]
                                (void)utimensat(AT_FDCWD, tempfile, tsb, 0);
                                      ^
--- _bootstrap-tools-usr.bin/yacc ---
--- main.o ---
cc -O2 -pipe  -DHAVE_FCNTL_H=1  -DHAVE_MKSTEMP=1  -DMAXTABLE=INT_MAX  -DMIXEDCASE_FILENAMES=1 -DYYPATCH=20160324 -g -MD  -MF.depend.main.o -MTmain.o -std=gnu99  -Qunused-arguments  -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include -c /builds/FreeBSD_HEAD_amd64_gcc/usr.bin/yacc/../../contrib/byacc/main.c -o main.o
--- mkpar.o ---
cc -O2 -pipe  -DHAVE_FCNTL_H=1  -DHAVE_MKSTEMP=1  -DMAXTABLE=INT_MAX  -DMIXEDCASE_FILENAMES=1 -DYYPATCH=20160324 -g -MD  -MF.depend.mkpar.o -MTmkpar.o -std=gnu99  -Qunused-arguments  -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include -c /builds/FreeBSD_HEAD_amd64_gcc/usr.bin/yacc/../../contrib/byacc/mkpar.c -o mkpar.o
--- _bootstrap-tools-usr.bin/xinstall ---
1 warning generated.
--- getid.o ---
cc -O2 -pipe  -I/builds/FreeBSD_HEAD_amd64_gcc/usr.bin/xinstall/../../contrib/mtree -I/builds/FreeBSD_HEAD_amd64_gcc/usr.bin/xinstall/../../lib/libnetbsd -g -MD  -MF.depend.getid.o -MTgetid.o -std=gnu99  -Qunused-arguments  -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include -c /builds/FreeBSD_HEAD_amd64_gcc/usr.bin/xinstall/../../contrib/mtree/getid.c -o getid.o
--- _bootstrap-tools-usr.bin/yacc ---
--- mstring.o ---
cc -O2 -pipe  -DHAVE_FCNTL_H=1  -DHAVE_MKSTEMP=1  -DMAXTABLE=INT_MAX  -DMIXEDCASE_FILENAMES=1 -DYYPATCH=20160324 -g -MD  -MF.depend.mstring.o -MTmstring.o -std=gnu99  -Qunused-arguments  -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include -c /builds/FreeBSD_HEAD_amd64_gcc/usr.bin/yacc/../../contrib/byacc/mstring.c -o mstring.o
--- output.o ---
cc -O2 -pipe  -DHAVE_FCNTL_H=1  -DHAVE_MKSTEMP=1  -DMAXTABLE=INT_MAX  -DMIXEDCASE_FILENAMES=1 -DYYPATCH=20160324 -g -MD  -MF.depend.output.o -MToutput.o -std=gnu99  -Qunused-arguments  -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include -c /builds/FreeBSD_HEAD_amd64_gcc/usr.bin/yacc/../../contrib/byacc/output.c -o output.o
--- _bootstrap-tools-usr.bin/xinstall ---
--- xinstall.full ---
cc -O2 -pipe -I/builds/FreeBSD_HEAD_amd64_gcc/usr.bin/xinstall/../../contrib/mtree -I/builds/FreeBSD_HEAD_amd64_gcc/usr.bin/xinstall/../../lib/libnetbsd -g -std=gnu99 -Qunused-arguments -I/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/include  -static -L/builds/FreeBSD_HEAD_amd64_gcc/obj/builds/FreeBSD_HEAD_amd64_gcc/tmp/legacy/usr/lib -o xinstall.full xinstall.o getid.o   -lmd -legacy
xinstall.o: In function `install':
/builds/FreeBSD_HEAD_amd64_gcc/usr.bin/xinstall/xinstall.c:919: undefined reference to `utimensat'
/builds/FreeBSD_HEAD_amd64_gcc/usr.bin/xinstall/xinstall.c:862: undefined reference to `utimensat'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [xinstall.full] Error code 1

bmake[3]: stopped in /builds/FreeBSD_HEAD_amd64_gcc/usr.bin/xinstall
1 error

bmake[3]: stopped in /builds/FreeBSD_HEAD_amd64_gcc/usr.bin/xinstall
*** [_bootstrap-tools-usr.bin/xinstall] Error code 2

bmake[2]: stopped in /builds/FreeBSD_HEAD_amd64_gcc
--- _bootstrap-tools-lib/clang/libllvmsupport ---
A failure has been detected in another branch of the parallel make

bmake[3]: stopped in /builds/FreeBSD_HEAD_amd64_gcc/lib/clang/libllvmsupport
*** [_bootstrap-tools-lib/clang/libllvmsupport] Error code 2

bmake[2]: stopped in /builds/FreeBSD_HEAD_amd64_gcc
--- _bootstrap-tools-usr.bin/yacc ---
A failure has been detected in another branch of the parallel make

bmake[3]: stopped in /builds/FreeBSD_HEAD_amd64_gcc/usr.bin/yacc
*** [_bootstrap-tools-usr.bin/yacc] Error code 2

bmake[2]: stopped in /builds/FreeBSD_HEAD_amd64_gcc
--- _bootstrap-tools-lib/libsqlite3 ---
A failure has been detected in another branch of the parallel make

bmake[3]: stopped in /builds/FreeBSD_HEAD_amd64_gcc/lib/libsqlite3
*** [_bootstrap-tools-lib/libsqlite3] Error code 2

bmake[2]: stopped in /builds/FreeBSD_HEAD_amd64_gcc
4 errors

bmake[2]: stopped in /builds/FreeBSD_HEAD_amd64_gcc
*** [_bootstrap-tools] Error code 2

bmake[1]: stopped in /builds/FreeBSD_HEAD_amd64_gcc
1 error

bmake[1]: stopped in /builds/FreeBSD_HEAD_amd64_gcc
*** [buildworld] Error code 2

make: stopped in /builds/FreeBSD_HEAD_amd64_gcc
1 error

make: stopped in /builds/FreeBSD_HEAD_amd64_gcc
Build step 'Execute shell' marked build as failure
[WARNINGS] Skipping publisher since build result is FAILURE
IRC notifier plugin: Sending notification to: #freebsd-commits
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
Received on Mon May 16 2016 - 08:58:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:04 UTC