FreeBSD_HEAD_amd64_gcc4.9 - Build #1123 - Fixed:

Build information:
Full change log:
Full build log:

Change summaries:

296718 by trasz:
Use S_BLKSIZE instead of magic constant.

MFC after:      1 month
Sponsored by:   The FreeBSD Foundation

296717 by trasz:
Refactor the way we restore cn_lkflags; no functional changes.

MFC after:      1 month
Sponsored by:   The FreeBSD Foundation

296716 by trasz:
Remove cn_consume from 'struct componentname'. It was never set to anything
other than 0.

Reviewed by:    kib@
MFC after:      1 month
Sponsored by:   The FreeBSD Foundation
Differential Revision:

296715 by trasz:
Fix autofs triggering problem.  Assume you have an NFS server,, with share "share". This commit fixes a problem
where "mkdir /net/" would return spurious
error instead of creating the directory if the target filesystem
wasn't mounted yet; subsequent attempts would work correctly.

The failure scenario is kind of complicated to explain, but it all
boils down to calling VOP_MKDIR() for the target filesystem (NFS)
with wrong dvp - the autofs vnode instead of the filesystem root
mounted over it.

Reviewed by:    kib@
MFC after:      1 month
Sponsored by:   The FreeBSD Foundation
Differential Revision:

296714 by jhb:
Remove entries for old AIO system calls for FreeBSD 6 compat.

These entries should have never been present since they only exist for
compat with FreeBSD 6.x (and older) binaries.  This was missed in r296572.
Technically this breaks the ABI by removing versioned symbols.  However,
no binaries should be linked against these symbols.  No release has
shipped with a header that contained a prototype for these functions.

Reviewed by:    kib
Differential Revision:

296713 by andrew:
Print the correct size of loader.efi when failing to load it into memory.

Obtained from:  AsiaBSDCon
Sponsored by:   ABT Systems Ltd

296711 by np:
cxgbe(4): Fix typo in previous commit.

296710 by np:
cxgbe(4): Catch up with the latest list of card capabilities as reported
by the firmware.

296709 by bdrewery:
Move Makefile.lib32 to Makefile.libcompat and generalize it.

This is in preparation for LIBSOFT.

This file only supports *1* LIBCOMPAT value currently and must be capitalized.
In Makefile.libcompat given LIBCOMPAT=FOO there can be values set for
and LIBFOODTRACE.  These will have the standard cross-build values appended
onto them.

This could be extended to support multiple libcompat libraries in the future
once there is a need.

Reviewed by:    imp
Sponsored by:   EMC / Isilon Storage Division
Differential Revision:

296708 by bdrewery:
DIRDEPS_BUILD: Update dependencies.

Sponsored by:   EMC / Isilon Storage Division

296707 by bdrewery:
Add missing CLEANFILES.

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

296706 by bdrewery:
Add more .NOMETA missed in r291320

Sponsored by:   EMC / Isilon Storage Division

296705 by bdrewery:
Revert r269030. CLEANFILES is already added to .NOPATH since r241298.

Sponsored by:   EMC / Isilon Storage Division

296704 by bdrewery:
Remove bogus .ORDER.

This is not SUBDIR_PARALLEL and if it were this .ORDER would not work
since the targets are <target>_subdir_<subdir> not <subdir>.

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

296703 by bdrewery:
Don't even define or append subdir targets with NO_SUBDIR.

No functional change.

This prevents adding empty targets to the main called target which is
confusing for debugging.

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

296702 by bdrewery:
Remove exists() checks so normal out-of-date handling can be used.

This also fixes META MODE rebuilding these because the 'number of build 
changed from the previous build.

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

296701 by bdrewery:
META_MODE: We can only use a cookie if filemon is being used.

Sponsored by:   EMC / Isilon Storage Divsion

296700 by bdrewery:
META_MODE: Simplify the META_COOKIE handling to use .USE/.USEBEFORE.

Extend it to other cases of meta mode cookies so they get the proper rm
cookie behavior when a .meta file detects it needs to rebuild and fails.

Sponsored by:   EMC / Isilon Storage Division

296699 by bdrewery:
DIRDEPS_BUILD: Add a sure way to prohibit building 'all' during dirdeps phase.

This obsoletes the _SKIP_BUILD check but keeps it for now until it
proves to be enough.

In the dirdeps build the first 'make all' or 'make' ran would invoke
'make dirdeps' which builds dependencies and then builds the current
directory in a sub-make (when BUILD_AT_LEVEL0 is no, which for us it
is).  This behavior causes things attached to 'all:' to build in the
dirdeps phase AND the sub-make phase which creates all kinds of problems
for staging, meta file tracking, and races.

Sponsored by:   EMC / Isilon Storage Division

296698 by bdrewery:
DIRDEPS_BUILD: Reduce restaging here.

This also fixes meta tracking for the beforeinstall since it had been
marked .PHONY before (in

Sponsored by:   EMC / Isilon Storage Division

296697 by bdrewery:
DIRDEPS_BUILD: Fix building during dirdeps.

Sponsored by:   EMC / Isilon Storage Division

296696 by bdrewery:
DIRDEPS_BUILD: Avoid rebuilds due to changed build commands with newly staged 

This is a follow-up to r291561 which reworked the bootstrap tool PATH

An example of this is when building lib/clang/libclangedit.  At first
clang-tblgen will not be staged in the host tree so it will have
CLANG_TBLGEN=clang-tblgen set and exported.  During the build though it
will stage clang-tblgen and then find it via the PATH.  On the next
build it finds clang-tblgen in the stage directory and would set
CLANG_TBLGEN=<stagedir/usr/bin>/clang-tblgen thus causing the build
command to change.  In both cases the same exact tool was used though so
there is no need to rebuild.  If the tool did change the normal
meta/filemon handling would pick that up via timestamp comparisons and

Sponsored by:   EMC / Isilon Storage Division

296695 by bdrewery:
DIRDEPS_BUILD: Fix staging of share/sendmail and share/examples.

Sponsored by:   EMC / Isilon Storage Division

296694 by bdrewery:

An example of where this is needed is in share/examples which for
'etc-examples' runs 'make -C SRCTOP/etc etc-examples' which installs
to the default DESTDIR otherwise.

Sponsored by:   EMC / Isilon Storage Division

296693 by bdrewery:
DIRDEPS_BUILD: Extend beforeinstall: staging hack.

Most beforeinstall: usage is not adding commands but only adding
targets, such as in share/sendmail.

Sponsored by:   EMC / Isilon Storage Division

296692 by bdrewery:
Remove out-of-place make(buildincludes) check.

This came in r239572 for META_MODE handling but it doesn't make sense
since the staging is always done in make(all); make(buildincludes)
is never actually ran in the META_MODE build.

Reported by:    bapt
Sponsored by:   EMC / Isilon Storage Division

296691 by bdrewery:
DIRDEPS_BUILD: None of this is needed anymore.

This file is using stage-install, so all of the .dirdep files
are properly handled.  The cookie handling also properly
handles rebuilds with .meta files.  DESTDIR from is also
respected for staging.  This logic came in r239572.

Sponsored by:   EMC / Isilon Storage Division

296690 by bdrewery:
DIRDEPS_BUILD: Remove the cookie when target is out-of-date.

The meta file may decide the target is out of date but nothing
ensures that the *next* build will build this target if it
fails this time for some reason; it is still out-of-date
until it succeeds.

Convert the include/ cookie usage to the global versions.

Sponsored by:   EMC / Isilon Storage Division

296689 by np:
cxgbe(4): sysctls to display the TOE's TCP timers.

cask:~# sysctl -d dev.t5nex.0.toe
dev.t5nex.0.toe.finwait2_timer: FINWAIT2 timer (us)
dev.t5nex.0.toe.initial_srtt: Initial SRTT (us)
dev.t5nex.0.toe.keepalive_intvl: Keepidle interval (us)
dev.t5nex.0.toe.keepalive_idle: Keepidle idle timer (us)
dev.t5nex.0.toe.persist_max: Persist timer max (us)
dev.t5nex.0.toe.persist_min: Persist timer min (us)
dev.t5nex.0.toe.rexmt_max: Retransmit max (us)
dev.t5nex.0.toe.rexmt_min: Retransmit min (us)
dev.t5nex.0.toe.dack_timer: DACK timer (us)
dev.t5nex.0.toe.dack_tick: DACK tick (us)
dev.t5nex.0.toe.timestamp_tick: TCP timestamp tick (us)
dev.t5nex.0.toe.timer_tick: TP timer tick (us)

cask:~# sysctl dev.t5nex.0.toe
dev.t5nex.0.toe.finwait2_timer: 9765440
dev.t5nex.0.toe.initial_srtt: 244128
dev.t5nex.0.toe.keepalive_intvl: 73240800
dev.t5nex.0.toe.keepalive_idle: 7031116800
dev.t5nex.0.toe.persist_max: 9765440
dev.t5nex.0.toe.persist_min: 976544
dev.t5nex.0.toe.rexmt_max: 9765440
dev.t5nex.0.toe.rexmt_min: 244128
dev.t5nex.0.toe.dack_timer: 19520
dev.t5nex.0.toe.dack_tick: 32.768
dev.t5nex.0.toe.timestamp_tick: 1048.576
dev.t5nex.0.toe.timer_tick: 32.768

296688 by jhb:
Use SI_SUB_LAST instead of SI_SUB_SMP as the "catch-all" subsystem.

Reviewed by:    kib
Sponsored by:   Netflix
Differential Revision:

296687 by dim:
Pull in r250279 from upstream libc++ trunk (by Eric Fiselier):

  Fix GCC atomic implementation in C++03

Pull in r250802 from upstream libc++ trunk (by Eric Fiselier):

  Detect relaxed constexpr rules for gcc versions

Pull in r255585 from upstream libc++ trunk (by Eric Fiselier):

  Fix various GCC mis-configurations for newer versions.

  This patch goes through and enables C++11 and C++14 features for newer GCC's.
  The main changes are:

  1. Turn on variable templates. (Uses __cpp_variable_templates)
  2. Assert atomic<Tp> is trivially copyable (Uses _GNUC_VER >= 501).
  3. Turn on trailing return support for GCC. (Uses _GNUC_VER >= 404)
  4. XFAIL void_t test for GCC 5.1 and 5.2. Fixed in GCC 6.

Together, these should fix building clang 3.8.0 as part of building
world with recent versions of gcc (e.g. the devel/*-xtoolchain-gcc

296685 by emaste:
libelf: correct byte count in cross-endian note translation

MFC after:      1 month
Sponsored by:   The FreeBSD Foundation

296684 by bdrewery:
Add more casper leftover files.

Reported by:    jhb

296683 by glebius:
Allow minimum and maximum sweep size be the same.

Submitted by:   maxim

296682 by gonzo:
Make it possible for operations to refer to GPIO pins by name

- Try to guess what is provided as a pin spec for -t or for get/set
    operation: number or name. Fails in case of ambiguity.
- Add -p and -N switches to force pin specification interpretation:
    -p forces spec to be pin number, -N forces it to be name

Submitted by:   Emmanuel Vadot <>
Differential Revision:

296681 by dumbbell:
drm/i915: Fix malloc type in i915_gem_object_bind_to_gtt()

drm_mm.c expects DRM_MEM_MM, not DRM_I915_GEM.

296679 by dim:
Pull in r246280 from upstream libc++ trunk (by Eric Fiselier):

  Fix most GCC warnings during build. Only -Wattribute left.

This helps to fix a number of -Werror warnings when building world with
recent versions of gcc (e.g. the devel/*-xtoolchain-gcc ports).

296677 by jhibbits:
Add to CFLAGS, rather than replacing.

This allows additional CFLAGS, as set in, to go through.

296676 by bdrewery:
Avoid MK_TESTS error on stable/10 by just preventing SUBDIR recursion.

296675 by bdrewery:
Avoid bmake upgrade NO_MAN warning by just setting MAN to empty.

Suggested by:   imp

296674 by dumbbell:
drm: Fix dev->ioctl_count references leak

This fixes the following error:
kernel: error: [drm:pid1167:drm_release] *ERROR* Device busy: 2

Because of that, drm_lastclose() was not called, leading to a few memory
leaks once the driver was unloaded.

MFC after:      1 week

296673 by mav:
Oops, remove debugging forgotten in r296655.

MFC after:      2 weeks

296672 by dim:
In nvmecontrol, fix gcc warnings about the local 'power' variables
shadowing a global declaration.

296671 by bdrewery:
Revert r296645 as it breaks stable/10->head builds.

296670 by bdrewery:

296669 by bdrewery:

296668 by bdrewery:
Enable FAST_DEPEND by default.

Discussed on:   arch
Sponsored by:   EMC / Isilon Storage Division

296663 by emaste:
libdwarf: fix SHT_REL relocation processing

Relocation of type SHT_REL must use the current value as addend.

PR:             204084
Obtained from:  NetBSD libdwarf_elf_init.c v1.4

296662 by maxim:
o Kill EoL whitespaces.  No functional changes.

296661 by maxim:
o Xr icmp(4).

296660 by maxim:
o Document net.inet.icmp.maskfake and net.inet.icmp.tstamprepl sysctls.

296659 by des:
Apply upstream r3651: the IPv6 address of the L root has changed.

296657 by des:
Not ready for level 6 yet due to -Wredundant-decls.

296656 by mav:
Don't bother to invoke gmirror or zpool if the module is not loaded.

296655 by mav:
Unify and improve metadata wiping.

MFC after:      2 weeks

296654 by mav:
Use `geom disk list` instead `camcontrol identify`.

The new way works for almost any disk, while the old only for ATA.

MFC after:      2 weeks

296653 by mav:
Allow standard commands for "unknown" classes in RESCUE mode.

For example, it allows quite useful `geom disk list` command.

MFC after:      1 week

296652 by kib:
Do not perform unneccessary shared recursion on the allproc_lock in
pfs_visible().  The recursion does not cause deadlock because the sx
implementation does not prefer exclusive waiters over the shared, but
this is an implementation detail.

Reported by:    pho, Matthew Bryan <>
Reviewed by:    jhb
Tested by:      pho
Approved by:    des (pseudofs maintainer)
Sponsored by:   The FreeBSD Foundation
MFC after:      2 weeks

296651 by des:
Define __bounded__ to fix the gcc build.  While there, raise WARNS.

_______________________________________________ mailing list
To unsubscribe, send any mail to ""

Reply via email to