Displaying 1 50 of 5,130,332 commits (0.233s)

FreeBSD — head/share/mk src.opts.mk

Enable OFED build (without extras) by default.

Reviewed by:        bdrewery, hselasky (previous version)
Sponsored by:        Mellanox Technologies
MFC after:        2 weeks
Release notes:        yes
Differential revision:        https://reviews.freebsd.org/D16230
Delta File
+1 -1 head/share/mk/src.opts.mk
+1 -1 1 file

FreeBSD — head/share/mk src.opts.mk, head/tools/build/options WITH_OFED_EXTRA

Move mostly useless examples binaries from OFED, as well as the Subnet
Manager, under the new option WITH_OFED_EXTRA, disabled by default.

Reviewed by:        bdrewery, hselasky (previous version)
Sponsored by:        Mellanox Technologies
MFC after:        2 weeks
Differential revision:        https://reviews.freebsd.org/D16230

FreeBSD — head ObsoleteFiles.inc, head/lib/ofed/libibverbs Makefile

Move OFED libraries libmlx5.so.1 and libibverbs.so.1 to /lib.

The is required because libpcap.so depends on the libraries when OFED
is enabled.

Reviewed by:        bdrewery, hselasky
Sponsored by:        Mellanox Technologies
MFC after:        2 weeks
Differential revision:        https://reviews.freebsd.org/D16230

SmartOS — src/img/lib common.js

do it
Delta File
+1 -1 src/img/lib/common.js
+1 -1 1 file

LLVM — cfe/trunk/lib/CodeGen CGDecl.cpp

[NFC] CodeGen: rename memset to bzero

The optimization looks for opportunities to emit bzero, not memset. Rename the functions 
accordingly (and clang-format the diff) because I want to add a fallback optimization 
which actually tries to generate memset. bzero is still better and it would confuse the 
code to merge both.
Delta File
+27 -30 cfe/trunk/lib/CodeGen/CGDecl.cpp
+27 -30 1 file

LLVM — cfe/trunk/lib/Driver/ToolChains Darwin.cpp Darwin.h, cfe/trunk/test/Driver fsanitize.c darwin-sanitizer-ld.c

[Driver] Sanitizer support based on runtime library presence

The runtime libraries of sanitizers are built in compiler-rt, and Clang
can be built without compiler-rt, or compiler-rt can be configured to
only build certain sanitizers. The driver should provide reasonable
diagnostics and not a link-time error when a runtime library is missing.

This patch changes the driver for OS X to only support sanitizers of
which we can find the runtime libraries. The discussion for this patch
explains the rationale

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

LLVM — lld/trunk/COFF Driver.cpp, lld/trunk/ELF Driver.cpp

Omit path to lld binary from lld's error, warning, and log output.

lld currently prepends the absolute path to itself to every diagnostic it
emits. This path can be longer than the diagnostic, and makes the actual error
message hard to read.

There isn't a good reason for printing this path: if you want to know which lld
you're running, pass -v to clang – chances are that if you're unsure of this,
you're not only unsure when it errors out. Some people want an indication that
the diagnostic is from the linker though, so instead print just the basename of
the linker's path.

Before:

```
$ out/bin/clang -target x86_64-unknown-linux -x c++ /dev/null -fuse-ld=lld 
/Users/thakis/src/llvm-mono/out/bin/ld.lld: error: cannot open crt1.o: No such file or 
directory
/Users/thakis/src/llvm-mono/out/bin/ld.lld: error: cannot open crti.o: No such file or 
directory
/Users/thakis/src/llvm-mono/out/bin/ld.lld: error: cannot open crtbegin.o: No such file or 
directory
/Users/thakis/src/llvm-mono/out/bin/ld.lld: error: unable to find library -lgcc
/Users/thakis/src/llvm-mono/out/bin/ld.lld: error: unable to find library -lgcc_s
/Users/thakis/src/llvm-mono/out/bin/ld.lld: error: unable to find library -lc

    [27 lines not shown]

LLVM — lld/trunk/COFF InputFiles.cpp

Simplify; no behavior change.

Reviewed as part of https://reviews.llvm.org/D49189
Delta File
+2 -4 lld/trunk/COFF/InputFiles.cpp
+2 -4 1 file

FreeBSD — head/usr.sbin/binmiscctl binmiscctl.8

Improve the binmiscctl manual page

- Use "Fl -" instead of "Cm --" for long options.
- Sort options alphabetically.
- Pet "mandoc -Tlint".
- Clean up the description of the "--interpreter" option.
- Clean up the description of the first example in the examples section.
- Use ".Bd -literal -offset indent" for all example code blocks for consistency.
- Use "Nm" instead of "Cm binmiscctl".
- Indent all examples for consistency.

Reviewed by:        allanjude
Approved by:        mat (mentor)
Differential Revision:        https://reviews.freebsd.org/D15589
Delta File
+65 -49 head/usr.sbin/binmiscctl/binmiscctl.8
+65 -49 1 file

LLVM — libcxx/trunk/cmake/Modules HandleLibCXXABI.cmake

[CMake] Install C++ ABI headers into the right location

This is a follow-up to r335809 and r337118. While libc++ headers are now
installed into the right location in both standard as well as multiarch
runtimes layout, turned out C++ ABI headers are still installed into the
old location in the latter case. This change addresses that.

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

LLVM — cfe/trunk/lib/CodeGen CGCUDANV.cpp, cfe/trunk/test/CodeGenCUDA device-stub.cu

[HIP] Register/unregister device fat binary only once

HIP generates one fat binary for all devices after linking. However, for each compilation
unit a ctor function is emitted which register the same fat binary. Measures need to be
taken to make sure the fat binary is only registered once.

Currently each ctor function calls __hipRegisterFatBinary and stores the returned value
to __hip_gpubin_handle. This patch changes the linkage of __hip_gpubin_handle to be 
linkonce
so that they are shared between LLVM modules. Then this patch adds check of value of
__hip_gpubin_handle to make sure __hipRegisterFatBinary is only called once. The code
is equivalent to

void *_gpubin_handle;
void ctor() {
  if (__hip_gpubin_handle == 0) {
    __hip_gpubin_handle = __hipRegisterFatBinary(...);
  }
  // register kernels and variables.
}
The patch also does similar change to dtors so that __hipUnregisterFatBinary
is called once.

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

FreeBSD — head/share/man/man5 src.conf.5

Regenerate src.conf.5 after several accumulated changes.

The larger is the removal of arm/armeb architecture.  Also noted is
the addition of WITHOUT_SERVICESDB and default change for WITH_CXX.

Sponsored by:        Mellanox Technologies
Delta File
+40 -56 head/share/man/man5/src.conf.5
+40 -56 1 file

LLVM — cfe/trunk/test/Driver crash-report-modules.m

Disable clang crash-report-modules.m test on Windows again

It still appears to be failing:
http://lab.llvm.org:8011/builders/clang-x86-windows-msvc2015/builds/12825

$ "rm" "-rf" 
"C:\b\slave\clang-x86-windows-msvc2015\clang-x86-windows-msvc2015\stage1\tools\clang\test\Driver\Output/crmdir"
Error: 'rm' command failed, [Error 3] The system cannot find the path specified: 
'C:\\b\\slave\\clang-x86-windows-msvc2015\\clang-x86-windows-msvc2015\\stage1\\tools\\clang\\test\\Driver\\Output/crmdir\\crash-report-modules-300567.cache\\vfs\\b\\slave\\clang-x86-windows-msvc2015\\clang-x86-windows-msvc2015\\llvm\\tools\\clang\\test\\Driver\\Inputs\\module\\module.modulemap'
error: command failed with exit status: 1

LLVM — lld/trunk/COFF DriverUtils.cpp Driver.cpp, lld/trunk/test/COFF pdb-linker-module.test

[PDB] Write the command line after response file expansion

Summary: Fixes PR38085

Reviewers: ruiu, zturner

Subscribers: llvm-commits

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

LLVM — cfe/trunk/include/clang/Basic DiagnosticSemaKinds.td, cfe/trunk/lib/Sema SemaInit.cpp SemaDeclCXX.cpp

Fold dangling-field warning into general initialization lifetime checks.

LLVM — llvm/trunk/include/llvm/ExecutionEngine/Orc Core.h Legacy.h, llvm/trunk/lib/ExecutionEngine/Orc Core.cpp RTDyldObjectLinkingLayer.cpp

Re-apply r337595 with fix for LLVM_ENABLE_THREADS=Off.

LLVM — llvm/trunk/unittests/ADT AnyTest.cpp

[ADT] Only run death tests in !NDEBUG

These invoke undefined behavior.

FreeBSD Ports — head/x11/xprintidle distinfo Makefile

x11/xprintidle: Change to a more recent fork that has version 2.1

LLVM — llvm/trunk/test/CodeGen/Hexagon vec-call-full1.ll

[Hexagon] Disable packets in test to avoid ordering issues in checks

FreeNAS — src/middlewared/middlewared/plugins cloud_sync.py

Pass environment variables to cloud sync hooks

Ticket: #29908

FreeBSD — head/etc/defaults devfs.rules, head/sys/fs/fuse fuse_main.c

Allow mounting FUSE filesystems in jails

Reviewed by:        jamie
MFC after:        2 weeks
Relnotes:        yes
Differential Revision:        https://reviews.freebsd.org/D16371

HardenedBSD — etc/defaults devfs.rules, sys/fs/fuse fuse_main.c

Allow mounting FUSE filesystems in jails

Reviewed by:        jamie
MFC after:        2 weeks
Relnotes:        yes
Differential Revision:        https://reviews.freebsd.org/D16371

FreeNAS — src/middlewared/middlewared/plugins mail.py

Make mail.send_raw private

Ticket: #26361

FreeBSD Ports — head/mail/trojita Makefile

mail/trojita: add USES=localbase

security/qtkeychain now by default depends on libsecret, and the cmake
target unfortunately only contains the library names. Therefore also
add localbase here.
Delta File
+2 -1 head/mail/trojita/Makefile
+2 -1 1 file

FreeBSD Ports — head/science/paraview Makefile, head/science/paraview/files patch-CMake_ParaViewMacros.cmake

science/paraview: Add patch to fix build with upcomeing cmake-3.12

The behaviour of cmake's copy_directory was changed, so that it
now fails if the source directory does not exist.

Further add missing dependency on xmlpatterns.

PR:                229854
Reported by:        antoine

PC-BSD — release Makefile, release/amd64 mkisoimages.sh

NAME is set to disc1.iso, not disc1

LLVM — llvm/trunk/lib/Target/AMDGPU SIShrinkInstructions.cpp

AMDGPU: Use existing function to check for VGPRs

PC-BSD — usr.sbin/portsnap/portsnap portsnap.sh portsnap.8

Lets make portsnap great again. Large overhaul of PS which switches
from using FreeBSD's ports tree to using the default git repo / branches
for TrueOS. This can be overridden in portsnap.conf similar to old
usage. Flags kept mainly the same so we don't violate POLA for folks
used to the old ways.

Hat-tip to @jhixson74 for helping me remember this was an issue ;)

Fixes #121

LLVM — cfe/trunk/docs ReleaseNotes.rst

fix typo
Delta File
+1 -1 cfe/trunk/docs/ReleaseNotes.rst
+1 -1 1 file

FreeNAS — src/middlewared/middlewared/plugins mdns.py

 

Merge pull request #1581 from freenas/master-mdns-dns-fixes

Wait for /etc/resolv.conf to be available and valid
∈ John Hixson - 187f7fdb - 2018-07-20 21:00:45
Fix some copy over errors

LLVM — cfe/trunk/lib/Headers intrin.h, cfe/trunk/test/Headers ms-intrin.cpp

[ms] Add __shiftleft128 / __shiftright128 intrinsics

Carefully match the pattern matched by ISel so that this produces shld / shrd
(unless Subtarget->isSHLDSlow() is true).

Thanks to Craig Topper for providing the LLVM IR pattern that gets successfully
matched.

Fixes PR37755.

LLVM — llvm/trunk/lib/Target/X86 X86ISelLowering.cpp X86ISelLowering.h

Revert "[X86][AVX] Convert X86ISD::VBROADCAST demanded elts combine to use 
SimplifyDemandedVectorElts"

This reverts commit r337547. It triggers an infinite loop.

pfSense — src/usr/local/www services_acb_settings.php services_acb.php

ELiminate 8 char restriction on "legacy" password
Fix spelling error

LLVM — cfe/trunk/lib/CodeGen CGDebugInfo.cpp, cfe/trunk/test/CodeGenCXX debug-info-codeview-var-templates.cpp

[codeview] Don't emit variable templates as class members

MSVC doesn't, so neither should we.

Fixes PR38004, which is a crash that happens when we try to emit debug
info for a still-dependent partial variable template specialization.

As a follow-up, we should review what we're doing for function and class
member templates. It looks like we don't filter those out, but I can't
seem to get clang to emit any.

FreeBSD Ports — head/net-p2p/transmission-gtk pkg-plist

net-p2p/transmission-gtk: fix NLS plist

Submitted by:        Alexandre C. Guimarães <lebarondemerde at privacychain.ch> (maintainer)
Reported by:        tijl
Delta File
+88 -88 head/net-p2p/transmission-gtk/pkg-plist
+88 -88 1 file

NetBSD — external/bsd/libproc/dist proc_bkpt.c, external/bsd/libproc/dist/tests proc_test.c

unbreak aarch64

FreeBSD Ports — head/audio Makefile faust-lv2, head/audio/faust-lv2 pkg-plist Makefile

New port: audio/faust-lv2: LV2 plugin architecture for the Faust programming language

PR:                221685

NetBSD — sys/arch/aarch64/include ptrace.h

flip the byte order
Delta File
+2 -2 sys/arch/aarch64/include/ptrace.h
+2 -2 1 file

FreeNAS — src/middlewared/middlewared/plugins mdns.py

PEP8 does not agree with me

LLVM — llvm/trunk/tools/llvm-undname llvm-undname.cpp

[llvm-undname] Remove a superfluous semicolon. NFC.

LLVM — llvm/trunk/lib/Object COFFImportFile.cpp

[COFF] Use symbolic constants instead of hardcoded numbers. NFCI.

Patch by Martell Malone.

LLVM — llvm/trunk/include/llvm/Object COFF.h, llvm/trunk/lib/Object COFFObjectFile.cpp ArchiveWriter.cpp

[COFF] Adjust how we flag weak externals

This fixes PR36096.

Originally based on a patch by Martell Malone.

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

LLVM — cfe/trunk/lib/Driver/ToolChains AMDGPU.h, cfe/trunk/test/Driver amdgpu-toolchain.c

AMDGPU: Switch default dwarf version to 2

There were some problems unearthed with version 5,
which I am going to look at.

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

FreeBSD Ports — head/net-im/psi files, head/net-im/psi/files patch-src_contactmanager_CMakeLists.txt patch-src_sxe_CMakeLists.txt

net-im/psi: Add patches to fix build

Add dependencies on the ui-gen target, this
should fix the race condition during the build.

PR:                229854
Reported by:        antoine

LLVM — cfe/trunk/lib/StaticAnalyzer/Checkers CStringSyntaxChecker.cpp, cfe/trunk/test/Analysis cstring-syntax.c

[CStringSyntaxChecker] Fix build bot builds != x86 archs

Reviewers: NoQ,george.karpenkov

Reviewed By: NoQ

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

FreeNAS — src/middlewared/middlewared/plugins mdns.py

Wait for /etc/resolv.conf to be available and valid

Ticket: #38265

FreeBSD Ports — head/graphics/podofo/files patch-test_TokenizerTest_CMakeLists.txt

graphics/podofo: Add patch to fix build with upcomeing cmake-3.12

The behaviour of cmake's copy_directory was changed, so that it
now fails if the source directory does not exist.

PR:                229854
Reported by:        antoine

NetBSD — sys/dev/usb if_urtwn.c, sys/net80211 ieee80211_netbsd.c ieee80211_ioctl.c

State save:
  urtwn: ifp->if_softc points to a vap, not the urtwn softc, fix code for this.
         add missing routines, need to get them filled out correctly.
  80211: Add back some NetBSD ioctls, start working on the sysctl tree.

LLVM — lld/trunk/ELF SyntheticSections.cpp SyntheticSections.h, lld/trunk/test/ELF eh-frame-pcrel-overflow.s eh-frame-pcaddr-overflow.s

[ELF] Check eh_frame_hdr overflow with PC offsets instead of PC absolute addresses

Reviewers: grimar, ruiu, espindola

Subscribers: emaste, arichardson, llvm-commits

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

LLVM — llvm/trunk/docs/CommandGuide FileCheck.rst, llvm/trunk/test/FileCheck verbose_mode.txt

[FileCheck] Provide an option for FileCheck to dump original input to stderr on failure

The option can be either set using environment variable (e.g. env
FILECHECK_DUMP_INPUT_ON_FAILURE=1 ninja check-fuzzer) or with a
FileCheck flag.

This can be extremely useful for debugging, cf.
https://groups.google.com/forum/#!topic/llvm-dev/kLrzg8OM_h8 for
discussion.

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