Re: svn commit: r308181 - in head: . share/mk

2016-11-01 Thread Dimitry Andric
On 01 Nov 2016, at 22:27, Jonathan Anderson wrote: > > Author: jonathan > Date: Tue Nov 1 21:27:42 2016 > New Revision: 308181 > URL: https://svnweb.freebsd.org/changeset/base/308181 > > Log: > Add rules to build LLVM IR binaries and libraries. > > Running `make

svn commit: r308003 - head/share/mk

2016-10-27 Thread Dimitry Andric
Author: dim Date: Thu Oct 27 18:46:52 2016 New Revision: 308003 URL: https://svnweb.freebsd.org/changeset/base/308003 Log: Revert r307823 (Use upstream suffixes for LLVM IR) for now. It causes a number of ports to fail, which use bmake, and use .ll file extensions (usually for for

svn commit: r307823 - head/share/mk

2016-10-23 Thread Dimitry Andric
Author: dim Date: Sun Oct 23 14:28:29 2016 New Revision: 307823 URL: https://svnweb.freebsd.org/changeset/base/307823 Log: Use upstream suffixes for LLVM IR In r307676, several make rules were added for LLVM IR files, both in text and binary format. Unfortunately these use different

Re: svn commit: r307756 - in head: include sys/sys

2016-10-22 Thread Dimitry Andric
On 22 Oct 2016, at 16:00, Dimitry Andric <d...@freebsd.org> wrote: > > On 22 Oct 2016, at 02:00, Brooks Davis <bro...@freebsd.org> wrote: ... >> Ideally I'd add a void * as well since that will support systems like >> CHERI where pointers are the largest type. >

Re: svn commit: r307756 - in head: include sys/sys

2016-10-22 Thread Dimitry Andric
On 22 Oct 2016, at 02:00, Brooks Davis wrote: > > On Fri, Oct 21, 2016 at 11:50:02PM +, John Baldwin wrote: >> Author: jhb >> Date: Fri Oct 21 23:50:02 2016 >> New Revision: 307756 >> URL: https://svnweb.freebsd.org/changeset/base/307756 >> >> Log: >> Define max_align_t

svn commit: r307754 - head/share/mk

2016-10-21 Thread Dimitry Andric
Author: dim Date: Fri Oct 21 21:52:22 2016 New Revision: 307754 URL: https://svnweb.freebsd.org/changeset/base/307754 Log: Fix building of many ports that use make from base, such as devel/apr1, after r307676, which added transformation rules for .llo and .bco files. These suffixes also

Re: svn commit: r307676 - head/share/mk

2016-10-21 Thread Dimitry Andric
On 20 Oct 2016, at 17:14, Jonathan Anderson wrote: > > Author: jonathan > Date: Thu Oct 20 15:14:21 2016 > New Revision: 307676 > URL: https://svnweb.freebsd.org/changeset/base/307676 > > Log: > Add make rules to build LLVM IR from C/C++ sources. > > As a foundation for

Re: svn commit: r307231 - head/lib/libgcc_s

2016-10-14 Thread Dimitry Andric
On 14 Oct 2016, at 04:06, Ed Maste wrote: > > Hi Bruce, thank you for the detailed response. > > On 14 October 2016 at 01:53, Bruce Evans wrote: >>> compiler-rt's complex division support routines contain calls to >>> compiler builtins such as

svn commit: r305430 - head/contrib/gcclibs/libcpp

2016-09-05 Thread Dimitry Andric
Author: dim Date: Mon Sep 5 18:02:37 2016 New Revision: 305430 URL: https://svnweb.freebsd.org/changeset/base/305430 Log: Define libcpp's HAVE_DESIGNATED_INITIALIZERS in a defined and portable way. MFC after:3 days Modified: head/contrib/gcclibs/libcpp/system.h Modified:

svn commit: r305396 - head/contrib/libcxxrt

2016-09-04 Thread Dimitry Andric
Author: dim Date: Sun Sep 4 21:48:58 2016 New Revision: 305396 URL: https://svnweb.freebsd.org/changeset/base/305396 Log: Add _US_ACTION_MASK to libcxxrt's arm-specific unwind header. This value is used in newer versions of compiler-rt. MFC after:3 days Modified:

Re: svn commit: r305392 - head/sys/conf

2016-09-04 Thread Dimitry Andric
> Assuming we'd like to enable building with both compilers for now, > isn't it better to use a form both accept? > > Best, > Conrad > > On Sun, Sep 4, 2016 at 12:31 PM, Dimitry Andric <d...@freebsd.org> wrote: >> On 04 Sep 2016, at 20:57, Conrad Meyer <c...@

Re: svn commit: r305392 - head/sys/conf

2016-09-04 Thread Dimitry Andric
On 04 Sep 2016, at 20:57, Conrad Meyer <c...@freebsd.org> wrote: > > On Sun, Sep 4, 2016 at 10:55 AM, Dimitry Andric <d...@freebsd.org> wrote: >> Author: dim >> Date: Sun Sep 4 17:55:22 2016 >> New Revision: 305392 >> URL: https://svnweb.fr

svn commit: r305393 - in head/sys: conf modules/bwn

2016-09-04 Thread Dimitry Andric
Author: dim Date: Sun Sep 4 17:56:55 2016 New Revision: 305393 URL: https://svnweb.freebsd.org/changeset/base/305393 Log: Make some additional -Wconstant-conversion warnings from clang 3.9.0 in bwn(4) non-fatal for now. Modified: head/sys/conf/files head/sys/modules/bwn/Makefile

svn commit: r305392 - head/sys/conf

2016-09-04 Thread Dimitry Andric
Author: dim Date: Sun Sep 4 17:55:22 2016 New Revision: 305392 URL: https://svnweb.freebsd.org/changeset/base/305392 Log: For kernel builds, instead of suppressing certain clang warnings, make them non-fatal, so there is some incentive to fix them eventually. Modified:

svn commit: r305389 - head/sys/netinet

2016-09-04 Thread Dimitry Andric
Author: dim Date: Sun Sep 4 17:23:10 2016 New Revision: 305389 URL: https://svnweb.freebsd.org/changeset/base/305389 Log: With clang 3.9.0, compiling sys/netinet/igmp.c results in the following warning: sys/netinet/igmp.c:546:21: error: implicit conversion from 'int' to 'char' changes

svn commit: r305388 - head/sys/dev/usb/serial

2016-09-04 Thread Dimitry Andric
Author: dim Date: Sun Sep 4 16:59:35 2016 New Revision: 305388 URL: https://svnweb.freebsd.org/changeset/base/305388 Log: With clang 3.9.0, compiling uplcom results in the following warnings: sys/dev/usb/serial/uplcom.c:543:29: error: implicit conversion from 'int' to 'int8_t' (aka

svn commit: r305360 - head/sys/dev/cxgb

2016-09-03 Thread Dimitry Andric
Author: dim Date: Sat Sep 3 19:01:11 2016 New Revision: 305360 URL: https://svnweb.freebsd.org/changeset/base/305360 Log: With clang 3.9.0, compiling cxgb results in the following warning: sys/dev/cxgb/cxgb_sge.c:2873:44: error: implicit conversion from 'int' to 'char' changes value

svn commit: r305345 - head/sys/dev/ppbus

2016-09-03 Thread Dimitry Andric
Author: dim Date: Sat Sep 3 13:48:44 2016 New Revision: 305345 URL: https://svnweb.freebsd.org/changeset/base/305345 Log: With clang 3.9.0, compiling ppbus(4) results in the following warnings: sys/dev/ppbus/ppb_1284.c:296:46: error: implicit conversion from 'int' to 'char' changes

svn commit: r305344 - head/sys/dev/drm2

2016-09-03 Thread Dimitry Andric
Author: dim Date: Sat Sep 3 13:33:28 2016 New Revision: 305344 URL: https://svnweb.freebsd.org/changeset/base/305344 Log: Define drmP.h's __OS_HAS_AGP and __OS_HAS_MTRR macros in a defined and portable way. Reviewed by: dumbbell MFC after:3 days Differential Revision:

svn commit: r305218 - head/contrib/llvm/lib/Target/AArch64

2016-09-01 Thread Dimitry Andric
Author: dim Date: Thu Sep 1 18:11:44 2016 New Revision: 305218 URL: https://svnweb.freebsd.org/changeset/base/305218 Log: Pull in r277331 from upstream llvm trunk (by Diana Picus): [AArch64] Return the correct size for TLSDESC_CALLSEQ The branch relaxation pass is computing the

Re: svn commit: r304510 - head/sys/dev/ixl

2016-08-31 Thread Dimitry Andric
On 31 Aug 2016, at 18:53, Ed Maste wrote: > > On 19 August 2016 at 20:08, Eric Joyner wrote: >> Author: erj >> Date: Sat Aug 20 00:08:10 2016 >> New Revision: 304510 >> URL: https://svnweb.freebsd.org/changeset/base/304510 >> >> Log: >> ixlv(4): Fix

svn commit: r305086 - head/contrib/telnet/telnet

2016-08-30 Thread Dimitry Andric
Author: dim Date: Tue Aug 30 20:27:22 2016 New Revision: 305086 URL: https://svnweb.freebsd.org/changeset/base/305086 Log: Fix warnings in telnet about invalid constant conversions, e.g.: contrib/telnet/telnet/commands.c:2914:13: error: implicit conversion from 'int' to 'char' changes

svn commit: r305085 - head/contrib/tnftp/src

2016-08-30 Thread Dimitry Andric
Author: dim Date: Tue Aug 30 20:24:50 2016 New Revision: 305085 URL: https://svnweb.freebsd.org/changeset/base/305085 Log: Fix warnings in tnftp about invalid constant conversions, e.g.: contrib/tnftp/src/ftp.c:2067:11: error: implicit conversion from 'int' to 'char' changes value from

svn commit: r305077 - in head: contrib/telnet/libtelnet usr.bin/newkey

2016-08-30 Thread Dimitry Andric
Author: dim Date: Tue Aug 30 19:02:15 2016 New Revision: 305077 URL: https://svnweb.freebsd.org/changeset/base/305077 Log: Squelch clang 3.9.0 warnings about BASE (which is 32768) being converted to -32768 when it is used as an argument to mp_itom(), in both libtelnet and newkey. This code

svn commit: r305023 - head/usr.sbin/bluetooth/btpand

2016-08-29 Thread Dimitry Andric
Author: dim Date: Mon Aug 29 19:40:46 2016 New Revision: 305023 URL: https://svnweb.freebsd.org/changeset/base/305023 Log: Avoid undefined behavior when calling va_start() in bnep_send_control(), by making the 'type' parameter a plain unsigned. MFC after:3 days Modified:

svn commit: r305016 - head/cddl/usr.sbin/zfsd/tests

2016-08-29 Thread Dimitry Andric
Author: dim Date: Mon Aug 29 18:55:06 2016 New Revision: 305016 URL: https://svnweb.freebsd.org/changeset/base/305016 Log: Fix the zfsd unittest: * TESTSDIR is supposed to be under cddl/usr.sbin, not cddl/sbin * DevdCtl::EventBuffer no longer exists, so remove its forward declaration

svn commit: r304969 - head/sbin/hastd

2016-08-28 Thread Dimitry Andric
Author: dim Date: Sun Aug 28 21:26:11 2016 New Revision: 304969 URL: https://svnweb.freebsd.org/changeset/base/304969 Log: Define hastd's STRICT_ALIGN macro in a defined and portable way. MFC after:3 days Modified: head/sbin/hastd/lzf.h Modified: head/sbin/hastd/lzf.h

Re: svn commit: r304953 - head/sys/contrib/ipfilter/netinet

2016-08-28 Thread Dimitry Andric
On 28 Aug 2016, at 18:27, Ngie Cooper (yaneurabeya) <yaneurab...@gmail.com> wrote: > >> On Aug 28, 2016, at 4:51 AM, Dimitry Andric <d...@freebsd.org> wrote: >> >> Author: dim >> Date: Sun Aug 28 11:51:46 2016 >> New Revision: 304953 >> UR

svn commit: r304964 - in head: contrib/ipfilter sys/contrib/ipfilter/netinet

2016-08-28 Thread Dimitry Andric
Author: dim Date: Sun Aug 28 19:35:29 2016 New Revision: 304964 URL: https://svnweb.freebsd.org/changeset/base/304964 Log: Follow-up to r304953, in which I broke the build: apparently the SOLARIS macro is defined in lots of different places in ipfilter, so replace all of the nonportable

svn commit: r304953 - head/sys/contrib/ipfilter/netinet

2016-08-28 Thread Dimitry Andric
Author: dim Date: Sun Aug 28 11:51:46 2016 New Revision: 304953 URL: https://svnweb.freebsd.org/changeset/base/304953 Log: Define ipfilter's SOLARIS macro in a defined and portable way. Reviewed by: cy MFC after:3 days Differential Revision: https://reviews.freebsd.org/D7671

svn commit: r304920 - head/contrib/ncurses/ncurses/tinfo

2016-08-27 Thread Dimitry Andric
Author: dim Date: Sat Aug 27 20:33:19 2016 New Revision: 304920 URL: https://svnweb.freebsd.org/changeset/base/304920 Log: In ncurses baudrate definitions, avoid warnings about implicit conversions from int to short changing the values. This applies to B38400 and higher, since their values

svn commit: r304696 - head/share/mk

2016-08-23 Thread Dimitry Andric
Author: dim Date: Tue Aug 23 19:31:43 2016 New Revision: 304696 URL: https://svnweb.freebsd.org/changeset/base/304696 Log: In addition to creating subdirectories under .OBJDIR for SRCS with relative paths, also create them for DPSRCS. This is needed for builds that generate files during

svn commit: r304530 - in head: contrib/llvm/lib/Target/ARM/MCTargetDesc lib/clang

2016-08-20 Thread Dimitry Andric
Author: dim Date: Sat Aug 20 14:04:51 2016 New Revision: 304530 URL: https://svnweb.freebsd.org/changeset/base/304530 Log: Pull in r265122 from upstream llvm trunk (by James Molloy): Fix for pr24346: arm asm label calculation error in sub Some ARM instructions encode 32-bit

svn commit: r304319 - in head: contrib/llvm/lib/Target/X86 contrib/llvm/tools/clang/lib/Basic lib/clang

2016-08-17 Thread Dimitry Andric
Author: dim Date: Wed Aug 17 21:57:11 2016 New Revision: 304319 URL: https://svnweb.freebsd.org/changeset/base/304319 Log: Pull in r262772 from upstream clang trunk (by Simon Pilgrim): [X86] AMD Bobcat CPU (btver1) doesn't support XSAVE btver1 is a SSSE3/SSE4a only CPU - it

svn commit: r303676 - head/usr.bin/grep/regex

2016-08-02 Thread Dimitry Andric
Author: dim Date: Tue Aug 2 20:25:22 2016 New Revision: 303676 URL: https://svnweb.freebsd.org/changeset/base/303676 Log: Fix a segfault in bsdgrep when parsing the invalid extended regexps "?" or "+" (these are invalid, because there is no preceding operand). When bsdgrep attempts to

svn commit: r303631 - head/usr.sbin/bsdinstall/scripts

2016-08-01 Thread Dimitry Andric
Author: dim Date: Mon Aug 1 19:49:42 2016 New Revision: 303631 URL: https://svnweb.freebsd.org/changeset/base/303631 Log: Fix non-functional bsdinstall services dialog. The most recent version of bsdinstall does not seem to respect any of the checkboxes in the "Choose the services you

svn commit: r303456 - head

2016-07-28 Thread Dimitry Andric
Author: dim Date: Thu Jul 28 18:40:43 2016 New Revision: 303456 URL: https://svnweb.freebsd.org/changeset/base/303456 Log: Add tblgen to ObsoleteFiles.inc, as it was renamed to llvm-tblgen. Noticed by: pluknet MFC after:3 days Modified: head/ObsoleteFiles.inc Modified:

svn commit: r302784 - head/sys/netinet6

2016-07-13 Thread Dimitry Andric
Author: dim Date: Wed Jul 13 19:41:19 2016 New Revision: 302784 URL: https://svnweb.freebsd.org/changeset/base/302784 Log: Fix a page fault in ip6_setpktopt(), occurring when the pflog module is loaded, and syncthing is started, which uses setsockopt(IPV6_PKGINFO). This is because pflog

svn commit: r301277 - in head: . lib/clang lib/clang/include/clang/Basic lib/clang/libclangbasic

2016-06-03 Thread Dimitry Andric
Author: dim Date: Fri Jun 3 16:17:36 2016 New Revision: 301277 URL: https://svnweb.freebsd.org/changeset/base/301277 Log: For clang, move the definition of FREEBSD_CC_VERSION into its own header file, lib/clang/freebsd_cc_version.h, instead of reusing Version.inc. The header is only

svn commit: r301227 - in head: contrib/llvm/lib/Target/X86 lib/clang/include/clang/Basic

2016-06-02 Thread Dimitry Andric
Author: dim Date: Thu Jun 2 19:54:38 2016 New Revision: 301227 URL: https://svnweb.freebsd.org/changeset/base/301227 Log: Pull in r271548 from upstream llvm trunk (by me): Only attempt to detect AVG if SSE2 is available Summary: In PR29973 Sanjay Patel reported an assertion

svn commit: r300984 - head/lib/clang/include/clang/Basic

2016-05-30 Thread Dimitry Andric
Author: dim Date: Mon May 30 06:44:10 2016 New Revision: 300984 URL: https://svnweb.freebsd.org/changeset/base/300984 Log: Bump __FreeBSD_cc_version after r300974. Modified: head/lib/clang/include/clang/Basic/Version.inc Modified: head/lib/clang/include/clang/Basic/Version.inc

svn commit: r300974 - head/contrib/llvm/lib/Transforms/Vectorize

2016-05-29 Thread Dimitry Andric
Author: dim Date: Sun May 29 20:54:16 2016 New Revision: 300974 URL: https://svnweb.freebsd.org/changeset/base/300974 Log: Pull in r269908 from upstream llvm trunk (by James Molloy): [VectorUtils] Fix nasty use-after-free In truncateToMinimalBitwidths() we were RAUW'ing an

svn commit: r300967 - head/sys/sys

2016-05-29 Thread Dimitry Andric
Author: dim Date: Sun May 29 17:32:19 2016 New Revision: 300967 URL: https://svnweb.freebsd.org/changeset/base/300967 Log: Stop exposing the C11 _Atomic() macro in , when compiling for C++. It clashes with the one in libc++'s header. (Previously, the _Atomic() macro was defined in ,

svn commit: r300873 - in head/lib: libc++ libcxxrt

2016-05-27 Thread Dimitry Andric
Author: dim Date: Fri May 27 20:45:32 2016 New Revision: 300873 URL: https://svnweb.freebsd.org/changeset/base/300873 Log: After r300770, for libc++ and libcxxrt, use -isystem instead of -I. This should fix builds with external gcc toolchains from ports, which also use -isystem to work

Re: svn commit: r300770 - in head: . contrib/libc++/include contrib/libc++/include/experimental contrib/libc++/include/ext contrib/libc++/src contrib/libc++/src/include contrib/libc++/src/support lib/

2016-05-27 Thread Dimitry Andric
On 27 May 2016, at 18:01, Alan Somers <asom...@freebsd.org> wrote: > > On Fri, May 27, 2016 at 9:42 AM, Dimitry Andric <d...@freebsd.org> wrote: ... >> My guess is that either ${MAKEOBJDIRPREFIX}/usr/include/c++/v1 needs to >> be added to the C++ include path,

Re: svn commit: r300770 - in head: . contrib/libc++/include contrib/libc++/include/experimental contrib/libc++/include/ext contrib/libc++/src contrib/libc++/src/include contrib/libc++/src/support lib/

2016-05-27 Thread Dimitry Andric
On 27 May 2016, at 17:32, Alan Somers <asom...@freebsd.org> wrote: > > On Fri, May 27, 2016 at 9:28 AM, Dimitry Andric <d...@freebsd.org> wrote: >> On 27 May 2016, at 16:49, Alan Somers <asom...@freebsd.org> wrote: >>> >>> I think this change i

Re: svn commit: r300770 - in head: . contrib/libc++/include contrib/libc++/include/experimental contrib/libc++/include/ext contrib/libc++/src contrib/libc++/src/include contrib/libc++/src/support lib/

2016-05-27 Thread Dimitry Andric
On 27 May 2016, at 16:49, Alan Somers wrote: > > I think this change is breaking the build of C++ applications. Below > is a snippet of my amd64 buildworld, with the changes in D6564. it > built fine a few days ago. > > ===> lib/libdevdctl (all) > In file included from >

svn commit: r300770 - in head: . contrib/libc++/include contrib/libc++/include/experimental contrib/libc++/include/ext contrib/libc++/src contrib/libc++/src/include contrib/libc++/src/support lib/l...

2016-05-26 Thread Dimitry Andric
Author: dim Date: Thu May 26 18:52:49 2016 New Revision: 300770 URL: https://svnweb.freebsd.org/changeset/base/300770 Log: Update libc++ to 3.8.0. Excerpted list of fixes (with upstream revision numbers): r242679 Implement the plugin-based version of std::search. There are no

svn commit: r300314 - head/contrib/llvm/tools/clang/lib/Basic

2016-05-20 Thread Dimitry Andric
Author: dim Date: Fri May 20 17:38:45 2016 New Revision: 300314 URL: https://svnweb.freebsd.org/changeset/base/300314 Log: Pull in r270240 from upstream clang trunk (by me): Make __FreeBSD_cc_version predefined macro configurable at build time The `FreeBSDTargetInfo` class has

svn commit: r299684 - head/sys/conf

2016-05-13 Thread Dimitry Andric
Author: dim Date: Fri May 13 16:35:37 2016 New Revision: 299684 URL: https://svnweb.freebsd.org/changeset/base/299684 Log: After r299241, which added bhnd(4), use sh to run the shell scripts for generating nvram maps, to allow a noexec-mounted source directory. Reported by: Johan

svn commit: r299144 - head/contrib/libcxxrt

2016-05-05 Thread Dimitry Andric
Author: dim Date: Thu May 5 22:40:07 2016 New Revision: 299144 URL: https://svnweb.freebsd.org/changeset/base/299144 Log: Import libcxxrt master 516a65c109eb0a01e5e95fbef455eb3215135cef. Interesting fixes: 3adaa2e Fix _Unwind_Exception cleanup functions 286776c Check exception cleanup

svn commit: r299143 - head/contrib/libcxxrt

2016-05-05 Thread Dimitry Andric
Author: dim Date: Thu May 5 22:30:00 2016 New Revision: 299143 URL: https://svnweb.freebsd.org/changeset/base/299143 Log: Since contrib/libcxxrt's ancestry was never correct, subversion 1.8 and higher cannot merge to it from the vendor area. Re-bootstrap the ancestry by doing (apologies

svn commit: r298996 - head/contrib/subversion/subversion/svn

2016-05-03 Thread Dimitry Andric
Author: dim Date: Tue May 3 18:06:42 2016 New Revision: 298996 URL: https://svnweb.freebsd.org/changeset/base/298996 Log: Re-sync the FreeBSD-specific Subversion template with the one from ports. MFC after:11 days X-MFC-With: r298845 Modified:

svn commit: r298845 - in head: contrib/subversion contrib/subversion/subversion/include contrib/subversion/subversion/libsvn_client contrib/subversion/subversion/libsvn_diff contrib/subversion/subv...

2016-04-30 Thread Dimitry Andric
Author: dim Date: Sat Apr 30 10:35:42 2016 New Revision: 298845 URL: https://svnweb.freebsd.org/changeset/base/298845 Log: Update from subversion 1.9.2 to 1.9.4. This contains only bug fixes, no new features. The repository format is also unchanged from 1.9.2. Full list of changes

svn commit: r298147 - head/contrib/llvm/tools/clang/tools/driver

2016-04-17 Thread Dimitry Andric
Author: dim Date: Sun Apr 17 15:48:19 2016 New Revision: 298147 URL: https://svnweb.freebsd.org/changeset/base/298147 Log: Until it has been properly fixed upstream, apply a temporary workaround for LLVM PR 26999 (in some cases, -save-temps can cause an assertion failure in clang's -cc1as

Re: svn commit: r297334 - head/sys/dev/vt/hw/vga

2016-03-28 Thread Dimitry Andric
On 28 Mar 2016, at 09:36, Sepherosa Ziehau wrote: > > Author: sephe > Date: Mon Mar 28 07:36:54 2016 > New Revision: 297334 > URL: https://svnweb.freebsd.org/changeset/base/297334 > > Log: > vt: Use textmode when we're running on hypervisors > > The graphic mode is

svn commit: r297322 - head/contrib/libc++/include

2016-03-27 Thread Dimitry Andric
Author: dim Date: Sun Mar 27 21:20:43 2016 New Revision: 297322 URL: https://svnweb.freebsd.org/changeset/base/297322 Log: Pull in r255683 from upstream libc++ trunk (by Eric Fiselier): [libcxx] Enable noexcept for GCC 4.6 and greater Summary: This patch allows GCC 4.6 and

svn commit: r297299 - in head: contrib/libcxxrt lib/libcxxrt

2016-03-26 Thread Dimitry Andric
Author: dim Date: Sun Mar 27 00:37:54 2016 New Revision: 297299 URL: https://svnweb.freebsd.org/changeset/base/297299 Log: Compile libcxxrt as C++11, since it is only really used in combination with libc++, which is also C++11. Also change one _Static_assert (which is really C11) back into

svn commit: r297294 - head/contrib/llvm/lib/Target/X86

2016-03-26 Thread Dimitry Andric
Author: dim Date: Sat Mar 26 17:38:15 2016 New Revision: 297294 URL: https://svnweb.freebsd.org/changeset/base/297294 Log: Pull in r264465 from upstream llvm trunk (by David Majnemer): [X86] Emit a proper ADJCALLSTACKDOWN in EmitLoweredTLSAddr We forgot to add the second machine

svn commit: r297244 - head/contrib/llvm/include/llvm/Support

2016-03-24 Thread Dimitry Andric
Author: dim Date: Thu Mar 24 20:55:23 2016 New Revision: 297244 URL: https://svnweb.freebsd.org/changeset/base/297244 Log: Pull in r264335 from upstream llvm trunk: Add to ThreadPool.h, since std::atomic is used Summary: Apparently, when compiling with gcc 5.3.2 for

svn commit: r297212 - head/include

2016-03-23 Thread Dimitry Andric
Author: dim Date: Wed Mar 23 19:17:12 2016 New Revision: 297212 URL: https://svnweb.freebsd.org/changeset/base/297212 Log: For C++, expose long long types and functions (lldiv_t, llabs, lldiv, etc) in stdlib.h. These will be needed for newer versions of libc++, which uses them for defining

svn commit: r296735 - head/sys/dev/cxgbe

2016-03-12 Thread Dimitry Andric
Author: dim Date: Sat Mar 12 18:38:51 2016 New Revision: 296735 URL: https://svnweb.freebsd.org/changeset/base/296735 Log: Fix the following gcc warnings on sparc64, when TCP_OFFLOAD is not defined: sys/dev/cxgbe/t4_main.c:7474: warning: 'sysctl_tp_tick' defined but not used

svn commit: r296724 - head/usr.sbin/gpioctl

2016-03-12 Thread Dimitry Andric
Author: dim Date: Sat Mar 12 15:10:30 2016 New Revision: 296724 URL: https://svnweb.freebsd.org/changeset/base/296724 Log: Fix gcc warnings about possibly uninitialized variables in gpioctl.c. Noticed by: bz Modified: head/usr.sbin/gpioctl/gpioctl.c Modified:

svn commit: r296687 - head/contrib/libc++/include

2016-03-11 Thread Dimitry Andric
Author: dim Date: Fri Mar 11 22:56:16 2016 New Revision: 296687 URL: https://svnweb.freebsd.org/changeset/base/296687 Log: 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

svn commit: r296679 - head/contrib/libc++/include

2016-03-11 Thread Dimitry Andric
Author: dim Date: Fri Mar 11 20:30:06 2016 New Revision: 296679 URL: https://svnweb.freebsd.org/changeset/base/296679 Log: 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

svn commit: r296672 - head/sbin/nvmecontrol

2016-03-11 Thread Dimitry Andric
Author: dim Date: Fri Mar 11 17:25:18 2016 New Revision: 296672 URL: https://svnweb.freebsd.org/changeset/base/296672 Log: In nvmecontrol, fix gcc warnings about the local 'power' variables shadowing a global declaration. Modified: head/sbin/nvmecontrol/power.c Modified:

Re: svn commit: r296428 - head/sys/boot/common

2016-03-07 Thread Dimitry Andric
On 07 Mar 2016, at 19:50, Warner Losh <i...@bsdimp.com> wrote: > >> On Mar 7, 2016, at 10:41 AM, Dimitry Andric <d...@freebsd.org> wrote: >> >> On 07 Mar 2016, at 17:28, Warner Losh <i...@bsdimp.com> wrote: >> ... >>> Alternatively, is

Re: svn commit: r296428 - head/sys/boot/common

2016-03-07 Thread Dimitry Andric
On 07 Mar 2016, at 17:28, Warner Losh wrote: ... > Alternatively, is there a switch to clang 3.8 that says 'Don't generate the > new > relocation, use the old one instead" which would also be safe and allow a > less-bumpy transition? On amd64, we actually compile source files

Re: svn commit: r296428 - head/sys/boot/common

2016-03-06 Thread Dimitry Andric
On 07 Mar 2016, at 02:11, Julian Elischer <jul...@freebsd.org> wrote: > > On 6/03/2016 7:57 AM, Dimitry Andric wrote: >> Author: dim >> Date: Sun Mar 6 15:57:43 2016 >> New Revision: 296428 >> URL: https://svnweb.freebsd.org/changeset/base/296428 >>

Re: svn commit: r296428 - head/sys/boot/common

2016-03-06 Thread Dimitry Andric
On 06 Mar 2016, at 20:57, Nikolai Lifanov <lifa...@mail.lifanov.com> wrote: > > On 2016-03-06 11:17, Dimitry Andric wrote: >> On 06 Mar 2016, at 17:00, Oliver Pinter <oliver.pin...@hardenedbsd.org> >> wrote: >>> On 3/6/16, Dimitry Andric <d...@freebsd.o

svn commit: r296430 - head

2016-03-06 Thread Dimitry Andric
Author: dim Date: Sun Mar 6 17:34:21 2016 New Revision: 296430 URL: https://svnweb.freebsd.org/changeset/base/296430 Log: Add an UPDATING entry about installing the boot loaders after installing the kernel, on amd64. Modified: head/UPDATING Modified: head/UPDATING

Re: svn commit: r296428 - head/sys/boot/common

2016-03-06 Thread Dimitry Andric
On 06 Mar 2016, at 17:00, Oliver Pinter <oliver.pin...@hardenedbsd.org> wrote: > > On 3/6/16, Dimitry Andric <d...@freebsd.org> wrote: >> Author: dim >> Date: Sun Mar 6 15:57:43 2016 >> New Revision: 296428 >> URL: https://svnweb.freebsd.org/changese

svn commit: r296428 - head/sys/boot/common

2016-03-06 Thread Dimitry Andric
Author: dim Date: Sun Mar 6 15:57:43 2016 New Revision: 296428 URL: https://svnweb.freebsd.org/changeset/base/296428 Log: Since kernel modules can now contain sections of type SHT_AMD64_UNWIND, the boot loader should not skip over these anymore while loading images. Otherwise the kernel

svn commit: r296427 - head

2016-03-06 Thread Dimitry Andric
Author: dim Date: Sun Mar 6 14:37:49 2016 New Revision: 296427 URL: https://svnweb.freebsd.org/changeset/base/296427 Log: Add another libclang_rt library to ObsoleteFiles, so the enclosing directory can be removed completely. Noticed by: Oliver Hartmann

svn commit: r296418 - in head/contrib/llvm: include/llvm/DebugInfo/DWARF lib/DebugInfo/DWARF

2016-03-05 Thread Dimitry Andric
Author: dim Date: Sat Mar 5 21:10:34 2016 New Revision: 296418 URL: https://svnweb.freebsd.org/changeset/base/296418 Log: Convert two llvm source files to native line ending, which was also done upstream. Merging doesn't automatically do this, unfortunately. Modified:

Re: svn commit: r295768 - head/usr.sbin/iostat

2016-02-22 Thread Dimitry Andric
On 22 Feb 2016, at 10:56, David Chisnall <thera...@freebsd.org> wrote: > > On 19 Feb 2016, at 23:23, Dimitry Andric <d...@freebsd.org> wrote: >> >> This warning is only produced when you use -Wall -W, and then initialize >> structs partially, i.e. you initi

svn commit: r295901 - head/contrib/binutils/bfd

2016-02-22 Thread Dimitry Andric
Author: dim Date: Mon Feb 22 22:16:32 2016 New Revision: 295901 URL: https://svnweb.freebsd.org/changeset/base/295901 Log: Fix a problem in ld, causing it to sometimes print messages similar to "invalid string offset 65521 >= 27261 for section `.strtab'". for object files produced by recent

svn commit: r295844 - in head/cddl/contrib/opensolaris/cmd: zfs zpool

2016-02-21 Thread Dimitry Andric
Author: dim Date: Sun Feb 21 13:03:58 2016 New Revision: 295844 URL: https://svnweb.freebsd.org/changeset/base/295844 Log: Fix "invalid type '(null)'" usage messages in zfs(8) and zpool(8). Currently, zfs(8) and zpool(8) print "invalid type '(null)'" or similar messages, if you pass in

Re: svn commit: r295768 - head/usr.sbin/iostat

2016-02-19 Thread Dimitry Andric
On 19 Feb 2016, at 16:49, Alan Somers wrote: > > On Fri, Feb 19, 2016 at 5:24 AM, Sergey Kandaurov wrote: ... >>> -struct nlist namelist[] = { >>> +static struct nlist namelist[] = { >>> #define X_TTY_NIN 0 >>> - { "_tty_nin" }, >>> + {

svn commit: r294199 - head

2016-01-16 Thread Dimitry Andric
Author: dim Date: Sun Jan 17 00:52:28 2016 New Revision: 294199 URL: https://svnweb.freebsd.org/changeset/base/294199 Log: Remove leading slashes added to ObsoleteFiles.inc in r294113. Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc

svn commit: r294168 - head/sys/cddl/contrib/opensolaris

2016-01-16 Thread Dimitry Andric
Author: dim Date: Sat Jan 16 17:28:37 2016 New Revision: 294168 URL: https://svnweb.freebsd.org/changeset/base/294168 Log: Fix up mergeinfo after r294102. Modified: Directory Properties: head/sys/cddl/contrib/opensolaris/ (props changed) ___

svn commit: r294102 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2016-01-15 Thread Dimitry Andric
Author: dim Date: Fri Jan 15 21:45:53 2016 New Revision: 294102 URL: https://svnweb.freebsd.org/changeset/base/294102 Log: MFV r294101: 6527 Possible access beyond end of string in zpool comment Reviewed by: George Wilson Reviewed by: Matthew Ahrens

svn commit: r293015 - head/contrib/pf/pflogd

2015-12-31 Thread Dimitry Andric
Author: dim Date: Thu Dec 31 22:52:11 2015 New Revision: 293015 URL: https://svnweb.freebsd.org/changeset/base/293015 Log: Merge r293013 from clang380-import branch: Fix a clang 3.8.0 warning in pflogd.c: contrib/pf/pflogd/pflogd.c:769:8: error: logical not is only applied to the

svn commit: r293014 - head/share/mk

2015-12-31 Thread Dimitry Andric
Author: dim Date: Thu Dec 31 22:48:46 2015 New Revision: 293014 URL: https://svnweb.freebsd.org/changeset/base/293014 Log: Merge r293006 from clang380-import branch: For determining the compiler version, quote the string to be echo'd, otherwise the command might fail. This is because

svn commit: r292950 - in head: contrib/llvm/patches contrib/llvm/tools/clang/tools/driver usr.bin/clang/clang

2015-12-30 Thread Dimitry Andric
Author: dim Date: Wed Dec 30 16:14:30 2015 New Revision: 292950 URL: https://svnweb.freebsd.org/changeset/base/292950 Log: Drop the clang patch which adds recognition of 'CC' suffixes as aliases for --driver-mode=g++, since this was never upstreamed. For backwards compatibility, add a

svn commit: r292911 - head

2015-12-30 Thread Dimitry Andric
Author: dim Date: Wed Dec 30 09:15:02 2015 New Revision: 292911 URL: https://svnweb.freebsd.org/changeset/base/292911 Log: Add some more obsolete files, left over from the clang 3.7.0 -> 3.7.1 upgrade. Noticed by: Nikolai Lifanov , jtl Modified:

svn commit: r292735 - in head: . contrib/llvm/include/llvm-c contrib/llvm/include/llvm/CodeGen contrib/llvm/lib/CodeGen/AsmPrinter contrib/llvm/lib/CodeGen/SelectionDAG contrib/llvm/lib/IR contrib/...

2015-12-25 Thread Dimitry Andric
Author: dim Date: Fri Dec 25 21:39:45 2015 New Revision: 292735 URL: https://svnweb.freebsd.org/changeset/base/292735 Log: Upgrade our copies of clang and llvm to 3.7.1 release. This is a bugfix-only release, with no new features. Please note that from 3.5.0 onwards, clang and llvm

Re: svn commit: r292120 - in head/contrib/elftoolchain: addr2line common elfcopy libelf readelf

2015-12-13 Thread Dimitry Andric
On 13 Dec 2015, at 09:43, Kai Wang wrote: > > 2015-12-13 7:04 GMT+01:00 Adrian Chadd : > cc1: warnings being treated as errors > /usr/home/adrian/work/freebsd/head-embedded/src/usr.bin/readelf/../../contrib/elftoolchain/readelf/readelf.c: > In function

Re: svn commit: r292120 - in head/contrib/elftoolchain: addr2line common elfcopy libelf readelf

2015-12-13 Thread Dimitry Andric
On 13 Dec 2015, at 18:04, Ruslan Makhmatkhanov wrote: > > Sorry for break in, but I tried to update to r292130 and have this messages > on `make kernel`. Does it by chance has something to do with toolchain update > and was it fixed in subsequent commits? Thanks. > > ===>

svn commit: r291771 - head/contrib/llvm/patches

2015-12-04 Thread Dimitry Andric
Author: dim Date: Fri Dec 4 17:23:19 2015 New Revision: 291771 URL: https://svnweb.freebsd.org/changeset/base/291771 Log: Add clang patch corresponding to r291701. Added: head/contrib/llvm/patches/patch-10-clang-cc1as-dwarf2.diff Added:

svn commit: r291701 - head/contrib/llvm/tools/clang/tools/driver

2015-12-03 Thread Dimitry Andric
Author: dim Date: Thu Dec 3 15:41:10 2015 New Revision: 291701 URL: https://svnweb.freebsd.org/changeset/base/291701 Log: In assembler mode, clang defaulted to DWARF3, if only -g was specified. Change this to DWARF2, in the simplest way possible. (Upstream, this was fixed in clang trunk

Re: svn commit: r291701 - head/contrib/llvm/tools/clang/tools/driver

2015-12-03 Thread Dimitry Andric
On 03 Dec 2015, at 16:41, Dimitry Andric <d...@freebsd.org> wrote: > > Author: dim > Date: Thu Dec 3 15:41:10 2015 > New Revision: 291701 > URL: https://svnweb.freebsd.org/changeset/base/291701 > > Log: > In assembler mode, clang defaulted to DWARF3, if on

svn commit: r291461 - head/lib/libfetch

2015-11-29 Thread Dimitry Andric
Author: dim Date: Sun Nov 29 22:37:48 2015 New Revision: 291461 URL: https://svnweb.freebsd.org/changeset/base/291461 Log: Fix buildworld after r291453, similar to r284346: url->user and url->pwd are arrays, so they can never be NULL. Reported by: many Pointy hat to:des

Re: svn commit: r291453 - head/lib/libfetch

2015-11-29 Thread Dimitry Andric
On 29 Nov 2015, at 18:35, Jason Unovitch wrote: > > On Sun, Nov 29, 2015 at 9:27 AM, Dag-Erling Smørgrav wrote: >> Author: des >> Date: Sun Nov 29 14:26:59 2015 >> New Revision: 291453 >> URL: https://svnweb.freebsd.org/changeset/base/291453 ... >

svn commit: r291455 - in head: etc/mtree lib/libclang_rt lib/libclang_rt/include tools/build/mk

2015-11-29 Thread Dimitry Andric
Author: dim Date: Sun Nov 29 16:28:40 2015 New Revision: 291455 URL: https://svnweb.freebsd.org/changeset/base/291455 Log: Install the public sanitizer headers. These are useful for programs that want to directly interface with sanitizer internals. Added: head/lib/libclang_rt/include/

svn commit: r290470 - head

2015-11-06 Thread Dimitry Andric
Author: dim Date: Fri Nov 6 22:24:41 2015 New Revision: 290470 URL: https://svnweb.freebsd.org/changeset/base/290470 Log: Add maintainer entries for llvm, lldb, compiler-rt, libc++ and libcxxrt. Modified: head/MAINTAINERS Modified: head/MAINTAINERS

svn commit: r289523 - head/contrib/llvm/tools/clang/lib/Driver

2015-10-18 Thread Dimitry Andric
linking against OpenMP runtime on NetBSD. Pull in r250657 from upstream clang trunk (by Dimitry Andric): Support linking against OpenMP runtime on FreeBSD. Modified: head/contrib/llvm/tools/clang/lib/Driver/Tools.cpp Modified: head/contrib/llvm/tools/clang/lib/Driver/Tools.cpp

svn commit: r289525 - in head/lib/clang/include: clang/Config llvm/Config

2015-10-18 Thread Dimitry Andric
Author: dim Date: Sun Oct 18 17:18:19 2015 New Revision: 289525 URL: https://svnweb.freebsd.org/changeset/base/289525 Log: Switch the default OpenMP runtime for clang to libomp (from the LLVM project), as libgomp is not supported anyway. You can use the devel/llvm-devel port to install a

svn commit: r289524 - head/contrib/llvm/patches

2015-10-18 Thread Dimitry Andric
on Darwin. Don't add any + libraries if -nostdlib is specified. Test. + +Pull in r248426 from upstream clang trunk (by Jörg Sonnenberger): + + Support linking against OpenMP runtime on NetBSD. + +Pull in r250657 from upstream clang trunk (by Dimitry Andric): + + Support linking against OpenMP runtime

svn commit: r289221 - head/contrib/llvm/lib/Target/X86

2015-10-13 Thread Dimitry Andric
Author: dim Date: Tue Oct 13 16:24:22 2015 New Revision: 289221 URL: https://svnweb.freebsd.org/changeset/base/289221 Log: Pull in r250085 from upstream llvm trunk (by Andrea Di Biagio): [x86] Fix wrong lowering of vsetcc nodes (PR25080). Function LowerVSETCC (in

<    1   2   3   4   5   6   7   8   9   10   >