FreeBSD/ports 485358head/devel Makefile ignition-msgs, head/devel/ignition-msgs pkg-plist Makefile

New port: devel/ignition-msgs: Protobuf messages and functions for robot applications

FreeBSD/ports 485357head/textproc/ibus-typing-booster pkg-message

x11-fonts/emojione-color-font-ttf must be replaced by
x11-fonts/twemoji-color-font-ttf.

LLVM/llvm 347255llvm/trunk/lib/CodeGen/SelectionDAG DAGCombiner.cpp

[DAGCombine] SimplifyNodeWithTwoResults - ensure same legalization for LO/HI operands 
(PR21207)

Consistently use (!LegalOperations || isOperationLegalOrCustom) for all node pairs.

Differential Revision: https://reviews.llvm.org/D53478

LLVM/llvm 347254lldb/trunk/lit lit.cfg.py, llvm/trunk/utils/lit/lit TestingConfig.py

Fix clang test suite on Windows by reverting part of r347216

Otherwise, the clang analyzer tests fail on Windows when attempting to
unpickle AnalyzerTest objects in the worker processes. The pattern of,
add to path, import, remove from path, serialize, deserialize, doesn't
work. Once something gets added to the path, if we want to move it
across the wire for multiprocessing, we need to keep the module on
sys.path.

FreeNAS/freenas 106aa9dsrc/freenas/boot loader.conf

Merge pull request #2095 from freenas/FIX-54693-2

tkt-2: Tkt-54693: Swap being used up while memory is not used completely

FreeBSD/ports 485356head/devel/ignition-tools Makefile

devel/ignition-tools: Fix typo

FreeBSD/ports 485355head MOVED, head/x11-fonts Makefile emojione-color-font-ttf

Remove expired port:
2018-11-18 x11-fonts/emojione-color-font-ttf: EOL upstream, please use 
x11-fonts/twemoji-color-font-ttf instead

HardenedBSD/hardenedbsd 2c0733blib/libc/amd64 Makefile.inc, libexec/rtld-elf/amd64 Makefile.inc

HBSD: Disable BIND_NOW for libc and the RTLD

ifuncs can be incompatible with BIND_NOW in certain cases[1]. This would
be the case for libc and the RTLD. As such, we should disable BIND_NOW
for both libc and the RTLD.

Unfortunately, using ifuncs in libc opens up a potential attack vector
due to libc's PLT/GOT not using full RELRO (RELRO + BIND_NOW).

From the ifunc documentation[1]:

"When LD_BIND_NOW=1 or -Wl,z,now is in effect symbols must be
immediately resolved at startup. In cases where an external function
call depends needs to be made that may fail if such a call has not been
initialized yet (PLT-based relocation which is processed later). For
example calling strlen in an IFUNC resolver built with -Wl,z,now may
lead to a segfault because the PLT is not yet resolved."

[1]: https://sourceware.org/glibc/wiki/GNU_IFUNC

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
Sponsored-by:   SoldierX
github-issue:   #357
MFC-to:        12-STABLE
(cherry picked from commit ccb4ab6b7607a05b680b167fc899abb27673b3c1)
Signed-off-by: Shawn Webb <shawn.webb at hardenedbsd.org>

HardenedBSD/hardenedbsd 0bb2139share/mk bsd.prog.mk src.opts.mk

HBSD: Properly set BIND_NOW

Certain HardenedBSD features require using both clang and lld. At this
point, clang and lld 4.0 are effectively the minimum required compiler
toolchain components with which to build HardenedBSD. lld sets RELRO by
default, so we can get rid of our MK_RELRO toggle.

Remove FreeBSD's MK_BIND_NOW toggle in bsd.opts.mk (which defaulted to
"no") to our toggle in src.opts.mk (which defaulted to "yes"). When
Ed Maste from FreeBSD added their MK_BIND_NOW toggle, it overwrote our
toggle, effectively disabling BIND_NOW in HardenedBSD.

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
Sponsored-by:   SoldierX
MFC-to:        12-STABLE
github-issue:   #357
(cherry picked from commit 444d19dca3bd6cc270a3535e03997e1b303b26e7)
Signed-off-by: Shawn Webb <shawn.webb at hardenedbsd.org>

FreeBSD/ports 485354head/math Makefile, head/math/ignition-math pkg-plist Makefile

New port: math/ignition-math: General purpose math library for robot applications

LLVM/llvm 347253llvm/trunk/lib/CodeGen MachineOutliner.cpp

Fix Wdocumentation warning. NFCI.

LLVM/llvm 347252llvm/trunk/lib/CodeGen InterleavedLoadCombinePass.cpp

Fix unused function warning.

LLVM/llvm 347251llvm/trunk/lib/CodeGen/SelectionDAG TargetLowering.cpp, llvm/trunk/test/CodeGen/Mips/msa f16-llvm-ir.ll

[TargetLowering] expandFP_TO_UINT - improve fp16 support

As discussed on D53794, for float types with ranges smaller than the destination integer 
type, then we should be able to just use a regular FP_TO_SINT opcode.

I thought we'd need to provide MSA test cases for very small integer types as well (fp16 
-> i8 etc.), but it turns out that promotion will kick in so they're unnecessary.

Differential Revision: https://reviews.llvm.org/D54703

NetBSD/src fHWnIXTdistrib/sets/lists/comp md.amd64

   add nvmm lint library
VersionDeltaFile
1.263+2-1distrib/sets/lists/comp/md.amd64
+2-11 files

LLVM/llvm 347250llvm/trunk/include/llvm/IR DebugInfoMetadata.h

[IR] DISubprogram::toSPFlags(): fix "enumeral and non-enumeral type in conditional 
expression"

/build/llvm/include/llvm/IR/DebugInfoMetadata.h: In static member function ‘static 
llvm::DISubprogram::DISPFlags llvm::DISubprogram::toSPFlags(bool, bool, bool, unsigned 
int)’:
/build/llvm/include/llvm/IR/DebugInfoMetadata.h:1636:50: warning: enumeral and 
non-enumeral type in conditional expression [-Wextra]
                                   (IsLocalToUnit ? SPFlagLocalToUnit : 0) |
                                    ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/build/llvm/include/llvm/IR/DebugInfoMetadata.h:1637:49: warning: enumeral and 
non-enumeral type in conditional expression [-Wextra]
                                   (IsDefinition ? SPFlagDefinition : 0) |
                                    ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/build/llvm/include/llvm/IR/DebugInfoMetadata.h:1638:48: warning: enumeral and 
non-enumeral type in conditional expression [-Wextra]
                                   (IsOptimized ? SPFlagOptimized : 0));
                                    ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~

FreeBSD/ports 485353head/devel/ignition-cmake pkg-plist Makefile

devel/ignition-cmake: Adjust the version, the latest version is 2.0.0

FreeBSD/src 340648stable 11, stable/11/sys/kern kern_environment.c

MFC r340392: Add dynamic_kenv assertion to init_static_kenv

Both to formally document the requirement that this not be called after the
dynamic kenv is setup, and to perhaps help static analyzers figure out
what's going on. While calling init_static_kenv this late isn't fatal, there
are some caveats that the caller should be aware of:

- Late calls are effectively a no-op, as far as default FreeBSD is
concerned, as everything will switch to searching the dynamic kenv once it's
available.

- Each of the kern_getenv calls will leak memory, as it's assumed that
these are searching static environment and allocations will not be made.

As such, this usage is not sensible and should be detected.

FreeBSD/src 340647stable 12, stable/12/sys/kern kern_environment.c

MFC r340392: Add dynamic_kenv assertion to init_static_kenv

Both to formally document the requirement that this not be called after the
dynamic kenv is setup, and to perhaps help static analyzers figure out
what's going on. While calling init_static_kenv this late isn't fatal, there
are some caveats that the caller should be aware of:

- Late calls are effectively a no-op, as far as default FreeBSD is
concerned, as everything will switch to searching the dynamic kenv once it's
available.

- Each of the kern_getenv calls will leak memory, as it's assumed that
these are searching static environment and allocations will not be made.

As such, this usage is not sensible and should be detected.

FreeBSD/src 340646stable/12/sys/dts Makefile.inc, stable/12/sys/dts/arm Makefile.inc

MFC r340390: Fix test-dts{,o} targets

There were two main problems here:

1.) sys/dts/Makefile.inc is not included from various */overlays directories
    by default, only ../Makefile.inc
2.) When shelling out for DTS/DTSO, cwd != .CURDIR, so enumeration always
    failed

These changes allow make test-dts and make test-dtso to function in their
respective directories.

FreeBSD/src 340645head/tools/build Makefile

Add capsicum_helpers.h to -legacy if needed

This fixes bootstrap of capsicumized strings on FreeBSD 11.

Reviewed By:    oshogbo, bdrewery
Differential Revision: https://reviews.freebsd.org/D17971

LLVM/llvm 347249llvm/trunk/lib/CodeGen InterleavedLoadCombinePass.cpp

Add missing stream operator for Polynomial class to fix debug builds.

LLVM/llvm 347248llvm/trunk/lib/Target/X86 X86TargetTransformInfo.cpp

[X86][CostModel] Don't lookup intrinsic cost tables if the intrinsic isn't one we care 
about

We're seeing some issues internally where we sent some intrinsics into the cost model that 
the getTypeLegalizationCost call fails on, but X86 specific tables don't care about. Our 
base class implementation takes care of them. We'd just like X86 backend to ignore them.

This patch makes sure the switch returned something X86 cares about and skips the table 
lookups and type legalization call if not. Probably more efficient too since we don't go 
scanning the tables for every intrinsic we could possibly see.

Differential Revision: https://reviews.llvm.org/D54711

LLVM/llvm 347247llvm/trunk/include/llvm/IR DebugInfoMetadata.h

Add missing closing bracket.

LLVM/llvm 347246llvm/trunk/examples/Kaleidoscope/Chapter9 toy.cpp, llvm/trunk/include/llvm/IR DebugInfoMetadata.h

Fix build break from r347239

LLVM/llvm 347245llvm/trunk/include/llvm/Support FileCheck.h

Fix Wdocumentation warning. NFCI.

OpenBSD/ports r98LyBpgraphics/freeimage Makefile, graphics/freeimage/patches patch-Makefile_gnu

   build code for shared lib with -fPIC on all archs, link C++ code with CXX,
   don't link explicitly with libstdc++

LLVM/llvm 347244libcxx/trunk/utils/docker build_docker_image.sh, libcxx/trunk/utils/docker/debian9 Dockerfile

Add docker configurations used by the buildbots.

These are the scripts I use to create the docker images for
the build bots and run them.

LLVM/llvm 347243lldb/trunk/packages/Python/lldbsuite/test/make Makefile.rules

[lldbsuite] Invoke sed on Windows to determine the cache dir for clang

Summary: In order to invoke sed on Windows, we need to quote the command correctly. Since 
we already have commands which do that, move the definitions at the beginning of the file 
and then re-use them for each command.

Reviewers: aprantl, zturner

Subscribers: teemperor, lldb-commits

Differential Revision: https://reviews.llvm.org/D54709

LLVM/llvm 347242llvm/trunk/lib/Target/X86 X86ISelLowering.cpp, llvm/trunk/test/CodeGen/X86 vector-lzcnt-128.ll vector-lzcnt-256.ll

[X86][SSE] Remove unnecessary bit-and in pshufb vector ctlz (PR39703)

SSE PSHUFB vector ctlz lowering works at the i4 nibble level. As detailed in PR39703, we 
were masking the lower nibble off but we only actually use it in the case where the upper 
nibble is known to be zero, making it safe to remove the mask and save an instruction.

Differential Revision: https://reviews.llvm.org/D54707

LLVM/llvm 347241llvm/trunk/lib/CodeGen InterleavedLoadCombinePass.cpp

[InterleavedLoadCombine] Fix warnings

* remove unused function
* fix compare

LLVM/llvm 347240llvm/trunk/lib/Target/X86 X86ISelLowering.cpp, llvm/trunk/test/CodeGen/X86 vector-reduce-mul.ll pmul.ll

[X86] Attempt to improve v32i8/v64i8 multiply lowering by applying the v16i8 non-avx2 
algorithm to each 128-bit lane.

Previously we split the vectors in half to allow the two halves to be any extended then 
concatenated the results back together.

This patch instead instead extends the v16i8 sse algorithm to extend half of each 128-bit 
lane using punpcklbw/punpckhbw. Multiplies all the low half lanes and high half lanes 
together in separate operations. Then merges the half lane results back together using 
packuswb.

Unfortunately, some of the cases in vector-reduce-mul.ll regress because we aren't 
narrowing the vector width of the multiplies as we reduce. The splitting was somewhat 
making up for that before by causing halves to be discarded after the split.

Differential Revision: https://reviews.llvm.org/D54668

NetBSD/src 7E0Mfbbshare/misc acronyms.comp

   "What You See Is All You Get" - Brian Kernighan
VersionDeltaFile
1.217+2-1share/misc/acronyms.comp
+2-11 files

LLVM/llvm 347239cfe/trunk/lib/CodeGen CGDebugInfo.cpp, llvm/trunk/include/llvm/IR DebugInfoMetadata.h DIBuilder.h

[DebugInfo] DISubprogram flags get their own flags word. NFC.
This will hold flags specific to subprograms. In the future
we could potentially free up scarce bits in DIFlags by moving
subprogram-specific flags from there to the new flags word.

This patch does not change IR/bitcode formats, that will be
done in a follow-up.

Differential Revision: https://reviews.llvm.org/D54597

FreeBSD/ports 485352head/cad/openvsp distinfo Makefile

cad/openvsp: update to 3.16.2

Announcement: http://openvsp.org/blogs/announcements/2018/10/29/openvsp-3-16-2-released

Features:

* DegenGeom additions
* API Animation support
* Four digit modified airfoils
* Five digit & modified airfoils
* 16 series airfoils
* Fuselage and stack end caps
* BOR support in API
* General API cleanups

Bug Fixes:

* Many small fixes
* Fuse file xsec symmetry problem
* Fix point clustering on airfoil export

FreeBSD/src 340644head/sys/dev/acpica acpi_ec.c, head/sys/kern subr_bus.c

acpi: fix acpi_ec_probe to only check EC devices

This patch utilizes the fixed_devclass attribute in order to make sure
other acpi devices with params don't get confused for an EC device.

The existing code assumes that acpi_ec_probe is only ever called with a
dereferencable acpi param. Aside from being incorrect because other
devices of ACPI_TYPE_DEVICE may be probed here which aren't ec devices,
(and they may have set acpi private data), it is even more nefarious if
another ACPI driver uses private data which is not dereferancable. This
will result in a pointer deref during boot and therefore boot failure.

On X86, as it stands today, no other devices actually do this (acpi_cpu
checks for PROCESSOR type devices) and so there is no issue. I ran into
this because I am adding such a device which gets probed before
acpi_ec_probe and sets private data. If ARM ever has an EC, I think
they'd run into this issue as well.

There have been several iterations of this patch. Earlier
iterations had ECDT enumerated ECs not call into the probe/attach
functions of this driver. This change was Suggested by: jhb@.

Reviewed by:    jhb
Approved by:    emaste (mentor)
Differential Revision:  https://reviews.freebsd.org/D16635

FreeBSD/src 340643stable 12, stable/12/sys/dev/pci pci_user.c

MFC r340489-r340490

r340489:
Fix freebsd32 support for PCIOCGETCONF.

This fixes regresssions in pciconf -l and some ports as reported on
freebsd-current:

https://lists.freebsd.org/pipermail/freebsd-current/2018-November/072144.html

Reported by:    jbeich
Reviewed by:    kib (also proposed an idential patch)
Tested by:      jbeich
Sponsored by:   DARPA, AFRL
Differential Revision:  https://reviews.freebsd.org/D18011

r340490:
Fix stray tab.

Reported by:    jbeich
MFC with:       r340489
Sponsored by:   DARPA, AFRL
Differential Revision:  https://reviews.freebsd.org/D18011

FreeBSD/ports 485351head/dns/amass distinfo Makefile

dns/amass: Update 2.8.0 -> 2.8.3-4

Reported by:    upstream heads-up (portscout fails to see the update)

FreeBSD/src 340642head/lib/libthr/thread thr_init.c

Make libthr(3) use sysconf(_SC_NPROCESSORS_CONF); this shaves off
two calls to sysctl(2) from the binary startup.

Reviewed by:    kib
MFC after:      2 weeks
Sponsored by:   DARPA, AFRL
Differential Revision:  https://reviews.freebsd.org/D18046

FreeBSD/ports 485350head/www/hiawatha distinfo Makefile, head/www/hiawatha/files pkg-message.in

www/hiawatha: Update to 10.8.3

- Tweak pkg-message a bit

PR:            232980
Submitted by:   Chris Petrik <christopherpetrik335 at student.athenstech.edu>
Approved by:    portmaster at BSDforge.com (maintainer timeout, 2 weeks)

FreeBSD/src 340641head/lib/libc/gen sysconf.c

Make sysconf(_SC_PAGESIZE) return the value from getpagesize(3).
That avoids a syscall - getpagesize(3) gets the value from the ELF
aux strings.

Reviewed by:    kib
MFC after:      2 weeks
Sponsored by:   DARPA, AFRL
Differential Revision:  https://reviews.freebsd.org/D17989

FreeBSD/ports 485349head/math/ntl Makefile distinfo

math/ntl: Update to 11.3.2

Also fix order of some variables

PR:     233263
Submitted by:   ndowens at yahoo.com (maintainer)

FreeBSD/ports 485348head/www/rubygem-passenger Makefile

Mark CONFLICTS_INSTALL among flavors (apache nginx)

Approved by:    portmgr (blanket)

FreeBSD/ports 485347head/www/py-notebook distinfo Makefile

FreeBSD/ports 485346head/textproc/p5-Pod-POM-View-HTML-Filter Makefile

Add NO_ARCH

FreeBSD/ports 485345head/print/a2pdf Makefile

Add NO_ARCH

- Sort *_DEPENDS

FreeBSD/ports 485344head/devel/p5-Test-PerlTidy Makefile

Add NO_ARCH

Approved by:    portmgr (blanket)

FreeBSD/ports 485343head/devel/p5-Data-Dumper-Perltidy Makefile

Add NO_ARCH

Approved by:    portmgr (blanket)

FreeBSD/ports 485342head/devel/p5-Perl-Tidy Makefile pkg-plist

Install perltidy to fix build for dependent ports

- Bump PORTREVISION for package change

Notified by:    antoine

FreeBSD/ports 485341head/textproc/sk-mythes distinfo Makefile

Update to 2018.11.16

FreeBSD/ports 485340head/german/mythes distinfo Makefile

Update to 2018.11.16