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

2015-10-13 Thread Dimitry Andric
Author: dim Date: Tue Oct 13 16:25:02 2015 New Revision: 289222 URL: https://svnweb.freebsd.org/changeset/base/289222 Log: Add llvm patch corresponding to r289221. Added: head/contrib/llvm/patches/patch-08-llvm-r250085-fix-avx-crash.diff Added:

Re: svn commit: r283526 - in head: . contrib/llvm/include/llvm/Target contrib/llvm/lib/Analysis contrib/llvm/lib/CodeGen contrib/llvm/lib/CodeGen/SelectionDAG contrib/llvm/lib/ExecutionEngine/RuntimeD

2015-10-10 Thread Dimitry Andric
On 10 Oct 2015, at 23:32, Ivan Klymenko <fi...@ukr.net> wrote: > On Mon, 25 May 2015 13:43:03 + (UTC) > Dimitry Andric <d...@freebsd.org> wrote: > >> Author: dim >> Date: Mon May 25 13:43:03 2015 >> New Revision: 283526 >> URL: https://svnweb

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

2015-10-09 Thread Dimitry Andric
Author: dim Date: Fri Oct 9 21:04:28 2015 New Revision: 289082 URL: https://svnweb.freebsd.org/changeset/base/289082 Log: Pull in r242623 from upstream libc++ trunk (by Eric Fiselier): Enable and fix warnings during the build. Although CMake adds warning flags, they are ignored

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

2015-10-09 Thread Dimitry Andric
Author: dim Date: Fri Oct 9 21:00:04 2015 New Revision: 289081 URL: https://svnweb.freebsd.org/changeset/base/289081 Log: Add llvm patch corresponding to r289072. Added: head/contrib/llvm/patches/patch-07-undo-llvm-r240144-iostream-sigbus.diff Added:

svn commit: r289072 - in head/contrib: libc++/src llvm/lib/Transforms/Vectorize

2015-10-09 Thread Dimitry Andric
Author: dim Date: Fri Oct 9 18:21:45 2015 New Revision: 289072 URL: https://svnweb.freebsd.org/changeset/base/289072 Log: Temporarily revert upstream llvm trunk r240144 (by Michael Zolotukhin): [SLP] Vectorize for all-constant entries. This should fix libc++'s iostream

svn commit: r289073 - head/contrib/libc++/src

2015-10-09 Thread Dimitry Andric
Author: dim Date: Fri Oct 9 18:23:10 2015 New Revision: 289073 URL: https://svnweb.freebsd.org/changeset/base/289073 Log: Remove empty line again from libc++'s iostream.cpp. This was used to force updates to this file, so it will be rebuilt by the fixed clang from r289072. Modified:

svn commit: r288951 - head/lib/clang

2015-10-06 Thread Dimitry Andric
Author: dim Date: Tue Oct 6 19:49:53 2015 New Revision: 288951 URL: https://svnweb.freebsd.org/changeset/base/288951 Log: For llvm/clang libraries, skip including tablegen-produced .d files when the target is "make depend". This works around errors during incremental make depend of some

Re: svn commit: r288099 - head/contrib/binutils/opcodes

2015-09-22 Thread Dimitry Andric
On 22 Sep 2015, at 16:23, Ian Lepore <i...@freebsd.org> wrote: > > On Tue, 2015-09-22 at 11:53 +0200, Dimitry Andric wrote: >> On 22 Sep 2015, at 11:43, Slawa Olhovchenkov <s...@zxy.spb.ru> wrote: >>> >>> On Tue, Sep 22, 2015

svn commit: r288099 - head/contrib/binutils/opcodes

2015-09-22 Thread Dimitry Andric
Author: dim Date: Tue Sep 22 09:35:35 2015 New Revision: 288099 URL: https://svnweb.freebsd.org/changeset/base/288099 Log: In binutils' arm-dis.c, avoid left-shifting a negative number. Submitted by: dan.mcgregor_usask.ca (Dan McGregor) MFC after:3 days Differential Revision:

Re: svn commit: r288099 - head/contrib/binutils/opcodes

2015-09-22 Thread Dimitry Andric
On 22 Sep 2015, at 11:43, Slawa Olhovchenkov <s...@zxy.spb.ru> wrote: > > On Tue, Sep 22, 2015 at 09:35:35AM +0000, Dimitry Andric wrote: ... >> - imm |= (-1 << 7); >> + imm |= -(1 << 7); > > May be (~0 <<

svn commit: r287679 - in head/contrib/libc++: . include

2015-09-11 Thread Dimitry Andric
Author: dim Date: Fri Sep 11 17:14:58 2015 New Revision: 287679 URL: https://svnweb.freebsd.org/changeset/base/287679 Log: Since contrib/libc++'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: r287541 - head/lib/libz

2015-09-07 Thread Dimitry Andric
Author: dim Date: Mon Sep 7 20:55:14 2015 New Revision: 287541 URL: https://svnweb.freebsd.org/changeset/base/287541 Log: In libz's inflateMark(), avoid left-shifting a negative integer, which is undefined. Reviewed by: delphij Differential Revision: https://reviews.freebsd.org/D3344

svn commit: r287501 - head/contrib/llvm/tools/lldb

2015-09-06 Thread Dimitry Andric
Author: dim Date: Sun Sep 6 11:48:50 2015 New Revision: 287501 URL: https://svnweb.freebsd.org/changeset/base/287501 Log: Update lldb's FREEBSD-Xlist to match reality. Modified: head/contrib/llvm/tools/lldb/FREEBSD-Xlist Modified: head/contrib/llvm/tools/lldb/FREEBSD-Xlist

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

2015-08-21 Thread Dimitry Andric
On 21 Aug 2015, at 21:51, Warner Losh i...@freebsd.org wrote: Author: imp Date: Fri Aug 21 19:51:27 2015 New Revision: 287007 URL: https://svnweb.freebsd.org/changeset/base/287007 Log: Document bsd.compiler.mk and the variables it defines. Thanks!! signature.asc Description: Message

svn commit: r286733 - head/sys/dev/bxe

2015-08-13 Thread Dimitry Andric
Author: dim Date: Thu Aug 13 18:24:41 2015 New Revision: 286733 URL: https://svnweb.freebsd.org/changeset/base/286733 Log: Avoid left-shifting negative signed values in bxe(4). Reviewed by: davidcs MFC after:3 days Modified: head/sys/dev/bxe/ecore_hsi.h Modified:

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

2015-08-12 Thread Dimitry Andric
Author: dim Date: Wed Aug 12 20:16:13 2015 New Revision: 286699 URL: https://svnweb.freebsd.org/changeset/base/286699 Log: In gcc's libcpp, stop using the INTTYPE_MAXIMUM() macro, which relies on undefined behavior. The code used this macro to avoid problems on some broken systems which

svn commit: r286702 - head/sbin/ipfw

2015-08-12 Thread Dimitry Andric
Author: dim Date: Wed Aug 12 21:07:57 2015 New Revision: 286702 URL: https://svnweb.freebsd.org/changeset/base/286702 Log: In ipfw2, avoid left-shifting negative integers, which is undefined. While here, make some other arguments to htonl(3) unsigned too. MFC after:3 days Modified:

svn commit: r286515 - head/lib/msun/src

2015-08-09 Thread Dimitry Andric
Author: dim Date: Sun Aug 9 10:00:13 2015 New Revision: 286515 URL: https://svnweb.freebsd.org/changeset/base/286515 Log: In libm's exp2(3), avoid left-shifting a negative integer, which is undefined. Replace it with the intended value, in a defined way. Reviewed by: bde MFC after:

svn commit: r286519 - head/contrib/binutils/gas/config

2015-08-09 Thread Dimitry Andric
Author: dim Date: Sun Aug 9 11:06:40 2015 New Revision: 286519 URL: https://svnweb.freebsd.org/changeset/base/286519 Log: In GNU as, avoid left-shifting negative integers, which is undefined. MFC after:3 days Modified: head/contrib/binutils/gas/config/tc-i386.c Modified:

Re: svn commit: r285644 - head/contrib/sqlite3

2015-07-18 Thread Dimitry Andric
On 18 Jul 2015, at 00:53, Pedro Giffuni p...@freebsd.org wrote: On 07/17/15 17:26, Peter Jeremy wrote: On 2015-Jul-16 22:07:14 +, Pedro F. Giffuni p...@freebsd.org wrote: Log: ... sqlite: clean a couple of invocations of memcpy(3) Found almost accidentally by our native gcc when

svn commit: r285340 - head/sys/dev/cxgb/ulp/iw_cxgb

2015-07-09 Thread Dimitry Andric
Author: dim Date: Thu Jul 9 22:13:23 2015 New Revision: 285340 URL: https://svnweb.freebsd.org/changeset/base/285340 Log: Fix swapped copyin(9) arguments in cxgb's iwch_arm_cq() function. Detected by clang 3.7.0 with the warning: sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_provider.c:309:18:

Re: svn commit: r285284 - head/lib/liblzma

2015-07-08 Thread Dimitry Andric
Check whether the path starts with /usr/bin, maybe? Normally, you would check for the existence of a random header in a configure script. But from within a C source file, it's not that easy. That said, immintrin.h is available for all usable versions of clang, and should be available in all

svn commit: r285149 - in head/contrib/llvm/lib/Transforms: Scalar Utils

2015-07-04 Thread Dimitry Andric
Author: dim Date: Sat Jul 4 20:07:37 2015 New Revision: 285149 URL: https://svnweb.freebsd.org/changeset/base/285149 Log: Pull in r241142 from upstream llvm trunk (by David Majnemer): [SCCP] Turn loads of null into undef instead of zero initialized values Surprisingly, this is a

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

2015-07-04 Thread Dimitry Andric
Author: dim Date: Sat Jul 4 20:09:24 2015 New Revision: 285150 URL: https://svnweb.freebsd.org/changeset/base/285150 Log: Add llvm patch corresponding to r285149. Added: head/contrib/llvm/patches/patch-10-llvm-r241142-r241143-mmx-undef.diff Added:

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

2015-06-28 Thread Dimitry Andric
On 28 Jun 2015, at 11:55, Baptiste Daroussin b...@freebsd.org wrote: On Sun, Jun 28, 2015 at 11:48:48AM +0200, Dimitry Andric wrote: On 28 Jun 2015, at 10:57, Baptiste Daroussin b...@freebsd.org wrote: On Sun, Jun 28, 2015 at 01:44:21AM -0700, NGie Cooper wrote: On Sun, Jun 28, 2015 at 12

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

2015-06-28 Thread Dimitry Andric
On 28 Jun 2015, at 10:57, Baptiste Daroussin b...@freebsd.org wrote: On Sun, Jun 28, 2015 at 01:44:21AM -0700, NGie Cooper wrote: On Sun, Jun 28, 2015 at 12:49 AM, Baptiste Daroussin b...@freebsd.org wrote: ... Not at all I have this on a both where I haven't yet r284898 iirc it is like

svn commit: r284732 - head/lib/libcxxrt

2015-06-23 Thread Dimitry Andric
Author: dim Date: Tue Jun 23 17:54:24 2015 New Revision: 284732 URL: https://svnweb.freebsd.org/changeset/base/284732 Log: Add __cxa_deleted_virtual to libcxxrt's version map. This symbol can sometimes be emitted by clang++, and was not yet exported from libcxxrt. Attempt to be

svn commit: r284736 - head/sys/net

2015-06-23 Thread Dimitry Andric
Author: dim Date: Tue Jun 23 18:48:41 2015 New Revision: 284736 URL: https://svnweb.freebsd.org/changeset/base/284736 Log: Fix endless recursion in sys/net/if.c's drbr_inuse_drv(), found by clang 3.7.0. Reviewed by: marcel Modified: head/sys/net/if.c Modified: head/sys/net/if.c

svn commit: r284721 - head/contrib/elftoolchain/libdwarf

2015-06-23 Thread Dimitry Andric
Author: dim Date: Tue Jun 23 06:42:30 2015 New Revision: 284721 URL: https://svnweb.freebsd.org/changeset/base/284721 Log: Fix endless recursion in dwarf_get_section_max_offsets(), found by clang 3.7.0. Reviewed by: emaste Modified: head/contrib/elftoolchain/libdwarf/dwarf_sections.c

svn commit: r284724 - head/sys/dev/ti

2015-06-23 Thread Dimitry Andric
Author: dim Date: Tue Jun 23 06:59:46 2015 New Revision: 284724 URL: https://svnweb.freebsd.org/changeset/base/284724 Log: Fix r284722, by making it actually compile. Pointy hat to:dim Modified: head/sys/dev/ti/if_ti.c Modified: head/sys/dev/ti/if_ti.c

svn commit: r284722 - head/sys/dev/ti

2015-06-23 Thread Dimitry Andric
Author: dim Date: Tue Jun 23 06:48:02 2015 New Revision: 284722 URL: https://svnweb.freebsd.org/changeset/base/284722 Log: Fix endless recursion in ti(4)'s ti_ifmedia_upd(), found by clang 3.7.0. Modified: head/sys/dev/ti/if_ti.c Modified: head/sys/dev/ti/if_ti.c

Re: svn commit: r284644 - head/usr.sbin/fstyp

2015-06-20 Thread Dimitry Andric
On 20 Jun 2015, at 17:09, Allan Jude allanj...@freebsd.org wrote: On 2015-06-20 11:05, Benjamin Kaduk wrote: ... Are the warnings emitted by gcc posted somewhere so that I can convince myself dropping WARNS is better than changing the code to work around them? -Ben The warnings come

Re: svn commit: r284546 - head/contrib/gcc

2015-06-19 Thread Dimitry Andric
On 18 Jun 2015, at 15:40, Adrian Chadd adr...@freebsd.org wrote: Author: adrian Date: Thu Jun 18 13:40:08 2015 New Revision: 284546 URL: https://svnweb.freebsd.org/changeset/base/284546 Log: Fix compilation of this macro under gcc-4.9 for MIPS32. Some point after gcc-4.2 the MIPS

Re: svn commit: r268137 - head/sys/sys

2015-06-19 Thread Dimitry Andric
On 19 Jun 2015, at 17:02, Pedro Giffuni p...@freebsd.org wrote: On 19/06/2015 05:16 a.m., David Chisnall wrote: I only just caught this (having seen the fallout from NetBSD doing the same thing in a shipping release and the pain that it’s caused): __weak is a reserved keyword in

Re: svn commit: r284370 - head/usr.bin/kdump

2015-06-14 Thread Dimitry Andric
On 14 Jun 2015, at 05:30, Simon J. Gerraty s...@freebsd.org wrote: Author: sjg Date: Sun Jun 14 03:30:39 2015 New Revision: 284370 URL: https://svnweb.freebsd.org/changeset/base/284370 Log: Create proper targets for linux*syscalls.c Modified: head/usr.bin/kdump/Makefile Is this

Re: svn commit: r284345 - in head: . bin/cat bin/chflags bin/chio bin/chmod bin/cp bin/csh bin/date bin/dd bin/df bin/domainname bin/echo bin/ed bin/expr bin/freebsd-version bin/getfacl bin/hostname b

2015-06-14 Thread Dimitry Andric
On 13 Jun 2015, at 21:20, Simon J. Gerraty s...@freebsd.org wrote: Author: sjg Date: Sat Jun 13 19:20:56 2015 New Revision: 284345 URL: https://svnweb.freebsd.org/changeset/base/284345 Log: Add META_MODE support. Off by default, build behaves normally. WITH_META_MODE we get auto

svn commit: r284346 - head/lib/libfetch

2015-06-13 Thread Dimitry Andric
Author: dim Date: Sat Jun 13 19:26:48 2015 New Revision: 284346 URL: https://svnweb.freebsd.org/changeset/base/284346 Log: Fix the following clang 3.7.0 warnings in lib/libfetch/http.c: lib/libfetch/http.c:1628:26: error: address of array 'purl-user' will always evaluate to

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

2015-06-12 Thread Dimitry Andric
On 11 Jun 2015, at 18:49, Andrew Turner and...@freebsd.org wrote: Author: andrew Date: Thu Jun 11 16:49:14 2015 New Revision: 284274 URL: https://svnweb.freebsd.org/changeset/base/284274 Log: Enable clang on armeb, it is now able to build targeting armeb. This is the last arm platform

Re: svn commit: r284167 - head/sys/i386/i386

2015-06-09 Thread Dimitry Andric
On 09 Jun 2015, at 08:44, Bruce Evans b...@optusnet.com.au wrote: On Mon, 8 Jun 2015, Dimitry Andric wrote: Log: Merge r283870 from amd64: Remove unneeded NULL checks in trap_fatal(). Since td_name is an array member of struct thread, it can never be NULL, so the check can be removed

svn commit: r284167 - head/sys/i386/i386

2015-06-08 Thread Dimitry Andric
Author: dim Date: Mon Jun 8 20:12:44 2015 New Revision: 284167 URL: https://svnweb.freebsd.org/changeset/base/284167 Log: Merge r283870 from amd64: Remove unneeded NULL checks in trap_fatal(). Since td_name is an array member of struct thread, it can never be NULL, so the check can

svn commit: r283526 - in head: . contrib/llvm/include/llvm/Target contrib/llvm/lib/Analysis contrib/llvm/lib/CodeGen contrib/llvm/lib/CodeGen/SelectionDAG contrib/llvm/lib/ExecutionEngine/RuntimeDy...

2015-05-25 Thread Dimitry Andric
Author: dim Date: Mon May 25 13:43:03 2015 New Revision: 283526 URL: https://svnweb.freebsd.org/changeset/base/283526 Log: Upgrade our copy of clang and llvm to 3.6.1 release. This release contains the following cherry-picked revisions from upstream trunk: 226124 226151 226164

Re: svn commit: r283424 - in head/sys: amd64/linux modules/linux64

2015-05-25 Thread Dimitry Andric
On 25 May 2015, at 16:04, Chagin Dmitry dcha...@freebsd.org wrote: On Mon, May 25, 2015 at 07:48:49AM -0400, John Baldwin wrote: On Sunday, May 24, 2015 04:07:12 PM Dmitry Chagin wrote: Author: dchagin Date: Sun May 24 16:07:11 2015 New Revision: 283424 URL:

svn commit: r283254 - head/sys/sys

2015-05-21 Thread Dimitry Andric
Author: dim Date: Thu May 21 17:40:53 2015 New Revision: 283254 URL: https://svnweb.freebsd.org/changeset/base/283254 Log: Ensure that the static structs emitted by the MODULE_DEPEND() and MODULE_VERSION() macros don't end up as .comm symbols, when all the version fields are zero.

svn commit: r282994 - head/tools/build

2015-05-15 Thread Dimitry Andric
22:19:35 2015(r282994) @@ -0,0 +1,42 @@ +/*- + * Copyright (c) 2015 Dimitry Andric d...@freebsd.org + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1

Re: svn commit: r281451 - head/sys/vm

2015-04-24 Thread Dimitry Andric
On 24 Apr 2015, at 13:01, Chris Torek to...@elf.torek.net wrote: The problem seems likely to be related to odd compiler handling of alignment. Consider this code bit, which extracts the essentials: struct x { int x; } __attribute__((__aligned__(32)));

svn commit: r281775 - head/contrib/llvm/lib/MC/MCParser

2015-04-20 Thread Dimitry Andric
Author: dim Date: Mon Apr 20 17:36:35 2015 New Revision: 281775 URL: https://svnweb.freebsd.org/changeset/base/281775 Log: Pull in r229911 from upstream llvm trunk (by Benjamin Kramer): MC: Allow multiple comma-separated expressions on the .uleb128 directive. For compatiblity with

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

2015-04-20 Thread Dimitry Andric
Author: dim Date: Mon Apr 20 17:37:37 2015 New Revision: 281777 URL: https://svnweb.freebsd.org/changeset/base/281777 Log: Add llvm patch corresponding to r281775. Added: head/contrib/llvm/patches/patch-13-llvm-r229911-uleb128-commas.diff Added:

Re: svn commit: r281396 - in head/sys: contrib/dev/acpica contrib/dev/acpica/common contrib/dev/acpica/compiler contrib/dev/acpica/components/debugger contrib/dev/acpica/components/disassembler contri

2015-04-11 Thread Dimitry Andric
On 11 Apr 2015, at 05:23, Jung-uk Kim j...@freebsd.org wrote: Author: jkim Date: Sat Apr 11 03:23:41 2015 New Revision: 281396 URL: https://svnweb.freebsd.org/changeset/base/281396 Log: Merge ACPICA 20150410. Shall we MFC this at some point? :) -Dimitry signature.asc Description:

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

2015-04-03 Thread Dimitry Andric
Author: dim Date: Fri Apr 3 18:42:38 2015 New Revision: 281047 URL: https://svnweb.freebsd.org/changeset/base/281047 Log: Add clang patch corresponding to r281046. Added: head/contrib/llvm/patches/patch-12-clang-r227115-constantarraytype.diff Added:

svn commit: r281046 - head/contrib/llvm/tools/clang/lib/Sema

2015-04-03 Thread Dimitry Andric
Author: dim Date: Fri Apr 3 18:38:37 2015 New Revision: 281046 URL: https://svnweb.freebsd.org/changeset/base/281046 Log: Pull in r227115 from upstream clang trunk (by Ben Langmuir): Fix assert instantiating string init of static variable ... when the variable's type is a typedef

svn commit: r281049 - in head: contrib/llvm/tools/llvm-cov contrib/llvm/tools/llvm-profdata usr.bin/clang usr.bin/clang/llvm-cov usr.bin/clang/llvm-profdata

2015-04-03 Thread Dimitry Andric
Author: dim Date: Fri Apr 3 19:43:39 2015 New Revision: 281049 URL: https://svnweb.freebsd.org/changeset/base/281049 Log: Add the llvm-cov and llvm-profdata tools, when WITH_CLANG_EXTRAS is defined. These help with processing coverage and profile data. Added:

svn commit: r281050 - head/contrib/llvm

2015-04-03 Thread Dimitry Andric
Author: dim Date: Fri Apr 3 19:49:39 2015 New Revision: 281050 URL: https://svnweb.freebsd.org/changeset/base/281050 Log: Update FREEBSD-Xlist for llvm. Modified: head/contrib/llvm/FREEBSD-Xlist Modified: head/contrib/llvm/FREEBSD-Xlist

svn commit: r280980 - in head: . lib/csu/i386-elf sys/boot/i386/boot2 sys/boot/i386/gptboot sys/boot/i386/gptzfsboot sys/boot/i386/zfsboot sys/boot/mips/beri/boot2 sys/boot/pc98/boot0 sys/boot/pc98...

2015-04-02 Thread Dimitry Andric
Author: dim Date: Thu Apr 2 06:58:17 2015 New Revision: 280980 URL: https://svnweb.freebsd.org/changeset/base/280980 Log: Ensure the cross assembler, linker and objcopy are used for the build32 stage, just like for the regular world stage. Reviewed by: rodrigc, imp, bapt, emaste MFC

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

2015-03-30 Thread Dimitry Andric
Author: dim Date: Mon Mar 30 20:23:06 2015 New Revision: 280867 URL: https://svnweb.freebsd.org/changeset/base/280867 Log: Add llvm patch corresponding to r280865. Added: head/contrib/llvm/patches/patch-11-llvm-r231227-aarch64-tls-relocs.diff Added:

Re: svn commit: r280865 - in head/contrib/llvm/lib/Target/AArch64: . Utils

2015-03-30 Thread Dimitry Andric
On 30 Mar 2015, at 22:01, Ed Maste ema...@freebsd.org wrote: Author: emaste Date: Mon Mar 30 20:01:41 2015 New Revision: 280865 URL: https://svnweb.freebsd.org/changeset/base/280865 Log: llvm: Backport upstream r229195 to fix arm64 TLS relocations Actually, this was upstream r231227:

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

2015-03-30 Thread Dimitry Andric
Author: dim Date: Mon Mar 30 19:36:33 2015 New Revision: 280864 URL: https://svnweb.freebsd.org/changeset/base/280864 Log: Pull in r233552 from upstream libc++ trunk (by Eric Fiselier): [libcxx] Fix PR22771 - Support access control SFINAE in the library version of is_convertible.

svn commit: r280784 - head/share/mk

2015-03-28 Thread Dimitry Andric
Author: dim Date: Sat Mar 28 12:23:15 2015 New Revision: 280784 URL: https://svnweb.freebsd.org/changeset/base/280784 Log: Re-enable using -mllvm -enable-load-pre=false in CLANG_OPT_SMALL for clang versions before 3.5.0. This should enable building head's version of sys/boot/i386/boot2 on

Re: svn commit: r280636 - head/include

2015-03-26 Thread Dimitry Andric
On 26 Mar 2015, at 14:20, Tijl Coosemans t...@freebsd.org wrote: On Thu, 26 Mar 2015 17:37:53 +1100 (EST) Bruce Evans b...@optusnet.com.au wrote: On Wed, 25 Mar 2015, Pedro Giffuni wrote: ... The reason why I had to revert the change is actually a systematic bug in gcc: during it's build

svn commit: r280400 - in head/contrib/llvm: include/llvm/CodeGen lib/CodeGen/SelectionDAG lib/Target/ARM

2015-03-23 Thread Dimitry Andric
Author: dim Date: Mon Mar 23 21:13:29 2015 New Revision: 280400 URL: https://svnweb.freebsd.org/changeset/base/280400 Log: Pull in r230348 from upstream llvm trunk (by Tim Northover): ARM: treat [N x i32] and [N x i64] as AAPCS composite types The logic is almost there already,

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

2015-03-23 Thread Dimitry Andric
Author: dim Date: Mon Mar 23 21:15:07 2015 New Revision: 280401 URL: https://svnweb.freebsd.org/changeset/base/280401 Log: Add llvm patch corresponding to r280400. Added: head/contrib/llvm/patches/patch-10-llvm-r230348-arm-fix-bad-ha.diff Added:

svn commit: r280350 - in head/contrib/llvm: . tools/clang tools/lldb

2015-03-22 Thread Dimitry Andric
Author: dim Date: Sun Mar 22 17:56:49 2015 New Revision: 280350 URL: https://svnweb.freebsd.org/changeset/base/280350 Log: Add FREEBSD-Xlist files for llvm, clang and lldb. These are generated, and not optimized in any way, since I am not entirely sure of the syntax or format of this

svn commit: r280328 - head/share/mk

2015-03-21 Thread Dimitry Andric
Author: dim Date: Sat Mar 21 19:13:13 2015 New Revision: 280328 URL: https://svnweb.freebsd.org/changeset/base/280328 Log: Correctly pass the -mllvm -enable-gvn=false flag in CLANG_OPT_SMALL (this has to be passed as a combination of two flags). Should fix the case where the clang version

svn commit: r279980 - head/share/mk

2015-03-14 Thread Dimitry Andric
Author: dim Date: Sat Mar 14 12:29:44 2015 New Revision: 279980 URL: https://svnweb.freebsd.org/changeset/base/279980 Log: Allow relative pathnames in SRCS, so as to enable building software which includes more than one file with the same name, in different directories. For example,

svn commit: r279981 - in head: contrib/compiler-rt/lib/builtins lib/libcompiler_rt

2015-03-14 Thread Dimitry Andric
Author: dim Date: Sat Mar 14 12:40:19 2015 New Revision: 279981 URL: https://svnweb.freebsd.org/changeset/base/279981 Log: Pull in r231965 from upstream compiler-rt trunk (by Jörg Sonnenberger): Refactor float to integer conversion to share the same code. 80bit Intel/PPC long double

svn commit: r279994 - head/sys/conf

2015-03-14 Thread Dimitry Andric
Author: dim Date: Sat Mar 14 17:19:48 2015 New Revision: 279994 URL: https://svnweb.freebsd.org/changeset/base/279994 Log: Amend r277940, by also disabling -Wcast-qual warnings for a few specific aesni files on i386. Modified: head/sys/conf/files.i386 Modified: head/sys/conf/files.i386

svn commit: r279760 - head/lib/libnv/tests

2015-03-07 Thread Dimitry Andric
Author: dim Date: Sun Mar 8 00:30:52 2015 New Revision: 279760 URL: https://svnweb.freebsd.org/changeset/base/279760 Log: Fix lib/libnv tests compilation with -std=c++11, by adding appropriate casts for NULL to invocations of the ATF_REQUIER_EQ() macro. Reviewed by: rstone, jmmv

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

2015-03-07 Thread Dimitry Andric
Author: dim Date: Sat Mar 7 22:53:15 2015 New Revision: 279757 URL: https://svnweb.freebsd.org/changeset/base/279757 Log: Pull in r228344 from upstream libc++ trunk (by Eric Fiselier): Get tests running with warnings. Fix warnings in headers and tests This fixes a number of

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

2015-03-07 Thread Dimitry Andric
Author: dim Date: Sat Mar 7 22:55:31 2015 New Revision: 279758 URL: https://svnweb.freebsd.org/changeset/base/279758 Log: Fix another -Wunused-local-typedef warning in libc++, in include/__tree. MFC after:3 days Modified: head/contrib/libc++/include/__tree Modified:

svn commit: r279598 - in head/sys/boot: i386/boot2 pc98/boot2

2015-03-04 Thread Dimitry Andric
Author: dim Date: Wed Mar 4 20:33:15 2015 New Revision: 279598 URL: https://svnweb.freebsd.org/changeset/base/279598 Log: When compiling boot2 with gcc on i386 and pc98, only use the custom flag -mno-align-long-strings when compiling with base gcc. This is checked by comparing the version

svn commit: r279307 - head/contrib/libcxxrt

2015-02-25 Thread Dimitry Andric
Author: dim Date: Thu Feb 26 07:20:05 2015 New Revision: 279307 URL: https://svnweb.freebsd.org/changeset/base/279307 Log: Make libcxxrt's parsing of DWARF exception handling tables work on architectures with strict alignment, by using memcpy() instead of directly reading fields.

svn commit: r279312 - in head/sys/arm: arm ti ti/am335x ti/omap4

2015-02-25 Thread Dimitry Andric
Author: dim Date: Thu Feb 26 07:47:35 2015 New Revision: 279312 URL: https://svnweb.freebsd.org/changeset/base/279312 Log: Fix a number of -Wcast-qual warnings under sys/arm. No functional change. Submitted by: andrew MFC after:3 days Modified: head/sys/arm/arm/disassem.c

svn commit: r279310 - head/contrib/libcxxrt

2015-02-25 Thread Dimitry Andric
Author: dim Date: Thu Feb 26 07:42:16 2015 New Revision: 279310 URL: https://svnweb.freebsd.org/changeset/base/279310 Log: Since newer versions of compiler-rt require unwind.h, and we want to use the copy in libcxxrt for it, fix the arm-specific header to define the _Unwind_Action type.

svn commit: r279311 - head/sys/arm/ti/am335x

2015-02-25 Thread Dimitry Andric
Author: dim Date: Thu Feb 26 07:45:40 2015 New Revision: 279311 URL: https://svnweb.freebsd.org/changeset/base/279311 Log: In sys/arm/ti/am335x/am335x_rtc.c, fix a clang 3.6.0 warning about am33x_rtc_softc::sc_irq_res (which is an array) never being NULL. Submitted by: andrew MFC

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

2015-02-22 Thread Dimitry Andric
Author: dim Date: Sun Feb 22 15:56:16 2015 New Revision: 279162 URL: https://svnweb.freebsd.org/changeset/base/279162 Log: Add llvm patch corresponding to r279161. Added: head/contrib/llvm/patches/patch-32-llvm-r230058-indirectbrs-assert.diff Added:

svn commit: r279161 - head/contrib/llvm/lib/Transforms/Scalar

2015-02-22 Thread Dimitry Andric
Author: dim Date: Sun Feb 22 15:51:49 2015 New Revision: 279161 URL: https://svnweb.freebsd.org/changeset/base/279161 Log: Pull in r230058 from upstream llvm trunk (by Benjamin Kramer): LoopRotate: When reconstructing loop simplify form don't split edges from indirectbrs. Yet

svn commit: r278438 - head/sys/dev/drm2/radeon

2015-02-08 Thread Dimitry Andric
Author: dim Date: Mon Feb 9 07:56:50 2015 New Revision: 278438 URL: https://svnweb.freebsd.org/changeset/base/278438 Log: After r278004 was committed, Bruce Evans noted that the casts were actually completely unnecessary, here:

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

2015-02-07 Thread Dimitry Andric
Author: dim Date: Sat Feb 7 12:50:33 2015 New Revision: 278349 URL: https://svnweb.freebsd.org/changeset/base/278349 Log: Pull in r224884 from upstream llvm trunk (by Keno Fischer): [FastIsel][X86] Fix invalid register replacement for bool args Summary: Consider the following

svn commit: r278348 - head/sys/contrib/dev/ath/ath_hal/ar9300

2015-02-07 Thread Dimitry Andric
Author: dim Date: Sat Feb 7 12:20:33 2015 New Revision: 278348 URL: https://svnweb.freebsd.org/changeset/base/278348 Log: Fix a number of -Wcast-qual warnings in ath's ar9300_attach.c, by making the ia_array field of struct ar9300_ini_array const, and removing the const-dropping casts. No

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

2015-02-07 Thread Dimitry Andric
Author: dim Date: Sat Feb 7 12:52:34 2015 New Revision: 278350 URL: https://svnweb.freebsd.org/changeset/base/278350 Log: Add llvm patch corresponding to r278349. Added: head/contrib/llvm/patches/patch-32-llvm-r224884-invalid-reg-replacement.diff Added:

Re: svn commit: r278349 - head/contrib/llvm/lib/Target/X86

2015-02-07 Thread Dimitry Andric
On 07 Feb 2015, at 17:42, Matthew D. Fuller fulle...@over-yonder.net wrote: On Sat, Feb 07, 2015 at 12:50:34PM + I heard the voice of Dimitry Andric, and lo! it spake thus: Log: Pull in r224884 from upstream llvm trunk (by Keno Fischer): This blows up the kernel build for me

svn commit: r278361 - in head/contrib/llvm: lib/Target/X86 patches

2015-02-07 Thread Dimitry Andric
Author: dim Date: Sat Feb 7 16:57:32 2015 New Revision: 278361 URL: https://svnweb.freebsd.org/changeset/base/278361 Log: Back out r278349 and r278350 for now, since this apparently blows up the kernel build in sys/dev/hptmv/hptproc.c for some people. Reported by: sbruno, Matthew

svn commit: r278297 - head/usr.sbin/syslogd

2015-02-05 Thread Dimitry Andric
Author: dim Date: Thu Feb 5 22:28:00 2015 New Revision: 278297 URL: https://svnweb.freebsd.org/changeset/base/278297 Log: Fix two clang 3.6.0 warnings in usr.sbin/syslogd: usr.sbin/syslogd/syslogd.c:1023:10: error: address of array 'f-f_prevline' will always evaluate to 'true'

svn commit: r278222 - head/sys/sys

2015-02-04 Thread Dimitry Andric
Author: dim Date: Wed Feb 4 20:55:21 2015 New Revision: 278222 URL: https://svnweb.freebsd.org/changeset/base/278222 Log: Mark typedefs for manually implementing _Static_assert() as unused, so they won't show up unecessarily for -Wunused-local-typedefs. MFC after:3 days Modified:

Re: svn commit: r278223 - head/lib/clang

2015-02-04 Thread Dimitry Andric
On 04 Feb 2015, at 22:09, NGie Cooper yaneurab...@gmail.com wrote: On Wed, Feb 4, 2015 at 1:00 PM, Dimitry Andric d...@freebsd.org wrote: Author: dim Date: Wed Feb 4 21:00:29 2015 New Revision: 278223 URL: https://svnweb.freebsd.org/changeset/base/278223 Log: For now, add -stdlib=libc

svn commit: r278225 - head/lib/clang

2015-02-04 Thread Dimitry Andric
Author: dim Date: Wed Feb 4 21:48:50 2015 New Revision: 278225 URL: https://svnweb.freebsd.org/changeset/base/278225 Log: Followup to r278223, by only using -stdlib=libc++ when the compiler is clang; not even recent versions of gcc support the -stdlib flag. Noticed by: ngie Modified:

svn commit: r278223 - head/lib/clang

2015-02-04 Thread Dimitry Andric
Author: dim Date: Wed Feb 4 21:00:29 2015 New Revision: 278223 URL: https://svnweb.freebsd.org/changeset/base/278223 Log: For now, add -stdlib=libc++ to the flags for building clang, since that makes it easier to build head on stable/9, where libstdc++ is still the default. We can revisit

Re: svn commit: r278223 - head/lib/clang

2015-02-04 Thread Dimitry Andric
On 04 Feb 2015, at 22:23, NGie Cooper yaneurab...@gmail.com wrote: On Wed, Feb 4, 2015 at 1:16 PM, Dimitry Andric d...@freebsd.org wrote: On 04 Feb 2015, at 22:09, NGie Cooper yaneurab...@gmail.com wrote: On Wed, Feb 4, 2015 at 1:00 PM, Dimitry Andric d...@freebsd.org wrote: Author: dim

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

2015-02-02 Thread Dimitry Andric
Author: dim Date: Mon Feb 2 20:05:52 2015 New Revision: 278109 URL: https://svnweb.freebsd.org/changeset/base/278109 Log: Belatedly add the clang patch corresponding to r277423. Added: head/contrib/llvm/patches/patch-29-clang-add-mips-triples.diff

Re: svn commit: r278004 - head/sys/dev/drm2/radeon

2015-02-01 Thread Dimitry Andric
On 01 Feb 2015, at 06:00, Bruce Evans b...@optusnet.com.au wrote: On Sat, 31 Jan 2015, Dimitry Andric wrote: Log: Constify a number of accesses in drm2's radeon drivers to avoid -Wcast-qual warnings. No functional change. This is much better than using __DECONST(), but still has bogus

svn commit: r277974 - head/sys/dev/usb/input

2015-01-31 Thread Dimitry Andric
Author: dim Date: Sat Jan 31 14:18:46 2015 New Revision: 277974 URL: https://svnweb.freebsd.org/changeset/base/277974 Log: Fix a bunch of -Wcast-qual warnings in sys/dev/usb/input/uhid.c, by using __DECONST. No functional change. Reviewed by: hselasky Differential Revision:

svn commit: r278010 - head/contrib/libcxxrt

2015-01-31 Thread Dimitry Andric
Author: dim Date: Sat Jan 31 23:08:29 2015 New Revision: 278010 URL: https://svnweb.freebsd.org/changeset/base/278010 Log: Revert r256642, not only to reduce diffs against upstream libcxxrt, but also because it is the wrong approach: comparing typeinfo names deeply causes trouble if two

svn commit: r278004 - head/sys/dev/drm2/radeon

2015-01-31 Thread Dimitry Andric
Author: dim Date: Sat Jan 31 22:18:52 2015 New Revision: 278004 URL: https://svnweb.freebsd.org/changeset/base/278004 Log: Constify a number of accesses in drm2's radeon drivers to avoid -Wcast-qual warnings. No functional change. Reviewed by: dumbbell MFC after:3 days

svn commit: r278016 - head/contrib/libcxxrt

2015-01-31 Thread Dimitry Andric
Author: dim Date: Sat Jan 31 23:31:45 2015 New Revision: 278016 URL: https://svnweb.freebsd.org/changeset/base/278016 Log: Import libcxxrt master 1cb607e89f6135bbc10f3d3b6fba1f983e258dcc. Interesting fixes: 1cb607e Correct gcc version check for __cxa_begin_catch() declaration

svn commit: r277951 - head/sys/netgraph

2015-01-30 Thread Dimitry Andric
Author: dim Date: Fri Jan 30 21:59:53 2015 New Revision: 277951 URL: https://svnweb.freebsd.org/changeset/base/277951 Log: Fix a bunch of -Wcast-qual warnings in netgraph's ng_parse.c, by using __DECONST. No functional change. MFC after:3 days Modified:

svn commit: r277952 - head/sys/fs/udf

2015-01-30 Thread Dimitry Andric
Author: dim Date: Fri Jan 30 22:01:45 2015 New Revision: 277952 URL: https://svnweb.freebsd.org/changeset/base/277952 Log: Fix a -Wcast-qual warning in udf_vnops.c, by using __DECONST. No functional change. MFC after:3 days Modified: head/sys/fs/udf/udf_vnops.c Modified:

svn commit: r277953 - head/sys/fs/smbfs

2015-01-30 Thread Dimitry Andric
Author: dim Date: Fri Jan 30 22:02:32 2015 New Revision: 277953 URL: https://svnweb.freebsd.org/changeset/base/277953 Log: Fix a -Wcast-qual warning in smbfs_subr.c, by using __DECONST. No functional change. MFC after:3 days Modified: head/sys/fs/smbfs/smbfs_subr.c Modified:

svn commit: r277940 - in head/sys: conf modules/aesni

2015-01-30 Thread Dimitry Andric
Author: dim Date: Fri Jan 30 18:17:17 2015 New Revision: 277940 URL: https://svnweb.freebsd.org/changeset/base/277940 Log: For clang, disable -Wcast-qual warnings for specific aesni files, since clang 3.6.0 will emit a number of such warnings for those files, and they are partially

svn commit: r277944 - head/contrib/libcxxrt

2015-01-30 Thread Dimitry Andric
Author: dim Date: Fri Jan 30 18:26:38 2015 New Revision: 277944 URL: https://svnweb.freebsd.org/changeset/base/277944 Log: Partially revert r273382, to reduce diffs against upstream. This was a temporary fix to solve a conflict with an older version of libc++, and it is no longer relevant.

Re: svn commit: r277860 - head/usr.sbin/sa

2015-01-29 Thread Dimitry Andric
On 29 Jan 2015, at 09:23, John-Mark Gurney j...@funkthat.com wrote: Dimitry Andric wrote this message on Wed, Jan 28, 2015 at 22:22 +: Replace the VERSION_KEY define with a writable char array, so no const qualifier needs to be dropped anymore. You do realize that you should juse use

svn commit: r277883 - head/sys/sys

2015-01-29 Thread Dimitry Andric
Author: dim Date: Thu Jan 29 18:44:21 2015 New Revision: 277883 URL: https://svnweb.freebsd.org/changeset/base/277883 Log: Ensure that lint does not pick up C11 keywords (e.g. _Noreturn), even if C11 mode is used. It does not support any C11 constructs. MFC after:3 days Modified:

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