svn commit: r235808 - vendor/llvm/llvm-release_31-r156748

2012-05-22 Thread Dimitry Andric
Author: dim Date: Tue May 22 21:32:05 2012 New Revision: 235808 URL: http://svn.freebsd.org/changeset/base/235808 Log: Tag llvm release_31 final r156748. Added: vendor/llvm/llvm-release_31-r156748/ - copied from r235807, vendor/llvm/dist/ ___

svn commit: r235809 - in vendor/clang/dist: docs include/clang/AST include/clang/Basic include/clang/Parse include/clang/Sema lib/Analysis lib/Basic lib/Driver lib/Parse lib/Sema lib/Serialization ...

2012-05-22 Thread Dimitry Andric
Author: dim Date: Tue May 22 21:36:38 2012 New Revision: 235809 URL: http://svn.freebsd.org/changeset/base/235809 Log: Vendor import of clang release_31 final r156748: http://llvm.org/svn/llvm-project/cfe/tags/RELEASE_31/final@156748 Added:

svn commit: r235810 - vendor/clang/clang-release_31-r156748

2012-05-22 Thread Dimitry Andric
Author: dim Date: Tue May 22 21:37:29 2012 New Revision: 235810 URL: http://svn.freebsd.org/changeset/base/235810 Log: Tag clang release_31 final r156748. Added: vendor/clang/clang-release_31-r156748/ - copied from r235809, vendor/clang/dist/

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

2012-05-23 Thread Dimitry Andric
On 2012-05-22 23:07, m...@freebsd.org wrote: ... We run with the following at Isilon, which is somewhat bogus because it allows a bit of sloppiness in types, but is also terribly convenient since it means no casting on printf arguments is needed: Please don't. If you want to write portable

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

2012-05-23 Thread Dimitry Andric
On 2012-05-22 20:18, David E. O'Brien wrote: Author: obrien Date: Tue May 22 18:18:06 2012 New Revision: 235797 URL: http://svn.freebsd.org/changeset/base/235797 Log: Do not incorrectly warn when printing a quad_t using %qd on 64-bit platforms. Modified:

svn commit: r235860 - in vendor/llvm/dist: . docs lib/ExecutionEngine/IntelJITEvents lib/ExecutionEngine/OProfileJIT tools/llvm-config utils/llvm-build/llvmbuild utils/unittest

2012-05-23 Thread Dimitry Andric
Author: dim Date: Wed May 23 21:37:39 2012 New Revision: 235860 URL: http://svn.freebsd.org/changeset/base/235860 Log: Vendor import of llvm release_31 r156863 (the actual 3.1 release): http://llvm.org/svn/llvm-project/llvm/branches/release_31@156863 Modified:

svn commit: r235861 - vendor/llvm/llvm-release_31-r156863

2012-05-23 Thread Dimitry Andric
Author: dim Date: Wed May 23 21:38:26 2012 New Revision: 235861 URL: http://svn.freebsd.org/changeset/base/235861 Log: Tag llvm release_31 r156863 (the actual 3.1 release). Added: vendor/llvm/llvm-release_31-r156863/ - copied from r235860, vendor/llvm/dist/

svn commit: r235863 - vendor/clang/clang-release_31-r156863

2012-05-23 Thread Dimitry Andric
Author: dim Date: Wed May 23 21:39:39 2012 New Revision: 235863 URL: http://svn.freebsd.org/changeset/base/235863 Log: Tag clang release_31 r156863 (the actual 3.1 release). Added: vendor/clang/clang-release_31-r156863/ - copied from r235862, vendor/clang/dist/

svn commit: r235862 - in vendor/clang/dist: docs lib/Basic

2012-05-23 Thread Dimitry Andric
Author: dim Date: Wed May 23 21:39:13 2012 New Revision: 235862 URL: http://svn.freebsd.org/changeset/base/235862 Log: Vendor import of clang release_31 r156863 (the actual 3.1 release): http://llvm.org/svn/llvm-project/cfe/branches/release_31@156863 Modified:

svn commit: r235864 - in head: contrib/llvm/lib/CodeGen/SelectionDAG contrib/llvm/tools/clang/include/clang/AST contrib/llvm/tools/clang/include/clang/Basic contrib/llvm/tools/clang/include/clang/P...

2012-05-23 Thread Dimitry Andric
Author: dim Date: Wed May 23 21:48:49 2012 New Revision: 235864 URL: http://svn.freebsd.org/changeset/base/235864 Log: Upgrade our copy of llvm/clang to 3.1 release. Release notes can be found at: http://llvm.org/releases/3.1/docs/ReleaseNotes.html MFC after:3 days Modified:

svn commit: r235925 - head/sys/dev/drm2/i915

2012-05-24 Thread Dimitry Andric
Author: dim Date: Thu May 24 19:13:54 2012 New Revision: 235925 URL: http://svn.freebsd.org/changeset/base/235925 Log: Fix the following clang warning in drm2: sys/dev/drm2/i915/intel_display.c:8861:3: error: expression result unused [-Werror,-Wunused-value]

svn commit: r235974 - stable/9/contrib/ncurses/man

2012-05-25 Thread Dimitry Andric
Author: dim Date: Fri May 25 06:41:08 2012 New Revision: 235974 URL: http://svn.freebsd.org/changeset/base/235974 Log: MFC r235773: Correct use_screen() and use_window() prototypes in curs_threads(3x). Submitted by: Yanhui Shen shen@gmail.com Modified:

svn commit: r241895 - head/contrib/llvm/lib/Target/X86/MCTargetDesc

2012-10-22 Thread Dimitry Andric
Author: dim Date: Mon Oct 22 17:47:37 2012 New Revision: 241895 URL: http://svn.freebsd.org/changeset/base/241895 Log: Pull in r165878 from upstream llvm trunk: X86: Disable long nops for all cpus prior to pentiumpro/i686. This is the safest approach for now. If you think long nops

svn commit: r241900 - in vendor/libc++/dist: . include include/support src src/support

2012-10-22 Thread Dimitry Andric
. + +N: Andrew Morrow +E: andrew.c.mor...@gmail.com +D: Minor patches and Linux fixes. + +N: Hyeon-bin Jeong +E: tuhe...@gmail.com +D: Minor patches and bug fixes. + +N: Michel Morin +E: mimomo...@gmail.com +D: Minor patches to is_convertible. + +N: Dimitry Andric +E: dimi...@andric.com +D

svn commit: r241901 - vendor/libc++/r165949

2012-10-22 Thread Dimitry Andric
Author: dim Date: Mon Oct 22 18:05:01 2012 New Revision: 241901 URL: http://svn.freebsd.org/changeset/base/241901 Log: Tag libc++ trunk r165949. Added: vendor/libc++/r165949/ - copied from r241900, vendor/libc++/dist/ ___

svn commit: r241903 - in head/contrib/libc++: . include src src/support

2012-10-22 Thread Dimitry Andric
: Andrew Morrow +E: andrew.c.mor...@gmail.com +D: Minor patches and Linux fixes. + +N: Hyeon-bin Jeong +E: tuhe...@gmail.com +D: Minor patches and bug fixes. + +N: Michel Morin +E: mimomo...@gmail.com +D: Minor patches to is_convertible. + +N: Dimitry Andric +E: dimi...@andric.com +D: Visibility fixes

Re: svn commit: r241903 - in head/contrib/libc++: . include src src/support

2012-10-22 Thread Dimitry Andric
On 2012-10-22 20:25, Dimitry Andric wrote: Author: dim Date: Mon Oct 22 18:25:04 2012 New Revision: 241903 URL: http://svn.freebsd.org/changeset/base/241903 Log: Import libc++ trunk r165949. Among other improvements and bug fixes, this has many visibility problems fixed, which should

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

2012-10-22 Thread Dimitry Andric
Author: dim Date: Mon Oct 22 19:06:00 2012 New Revision: 241907 URL: http://svn.freebsd.org/changeset/base/241907 Log: Fix two -Wsystem-header warnings in libc++ that were exposed by the new ATF import. These have also been sent upstream. MFC after:1 month Modified:

svn commit: r241909 - head/lib/libc++

2012-10-22 Thread Dimitry Andric
Author: dim Date: Mon Oct 22 19:44:17 2012 New Revision: 241909 URL: http://svn.freebsd.org/changeset/base/241909 Log: Allow building libc++ with any custom -std=xxx flag. Note that using -std=gnu++98 will give a lot of warnings with clang, so please use -std=c++0x or higher, or use

Re: svn commit: r241823 - in head: . etc etc/atf etc/mtree lib lib/atf lib/atf/libatf-c lib/atf/libatf-c++ libexec libexec/atf libexec/atf/atf-check share share/atf share/doc share/doc/atf share/examp

2012-10-23 Thread Dimitry Andric
On 2012-10-22 16:58, Jan Beich wrote: Dimitry Andric d...@freebsd.org writes: On 2012-10-22 09:00, Jan Beich wrote: ... undefined reference to `std::__1::basic_ioschar, std::__1::char_traitschar ::clear(unsigned int)' clang++: error: linker command failed with exit code 1 (use -v to see

svn commit: r241957 - in head/contrib/libstdc++: config/os/bsd/freebsd include/bits include/std

2012-10-23 Thread Dimitry Andric
Author: dim Date: Tue Oct 23 18:36:07 2012 New Revision: 241957 URL: http://svn.freebsd.org/changeset/base/241957 Log: Fix several clang warnings in libstdc++, which were exposed by the recent atf import. These changes are purely cosmetic, no functional change. MFC after:1 week

svn commit: r241958 - in head/contrib/atf: atf-report atf-run

2012-10-23 Thread Dimitry Andric
Author: dim Date: Tue Oct 23 18:38:04 2012 New Revision: 241958 URL: http://svn.freebsd.org/changeset/base/241958 Log: Fix two clang warnings in the recent atf import. These have also been sent upstream. Tested by:Garrett Cooper yaneg...@gmail.com Modified:

svn commit: r241959 - in head/contrib/libstdc++: include/debug include/ext libsupc++ src

2012-10-23 Thread Dimitry Andric
Author: dim Date: Tue Oct 23 18:45:32 2012 New Revision: 241959 URL: http://svn.freebsd.org/changeset/base/241959 Log: Fix a number of other clang warnings in libstdc++, which could appear when building other C++ software with it. Also fix one actual bug in libsupc++, which was exposed by

svn commit: r241960 - in head/gnu/lib: libstdc++ libsupc++

2012-10-23 Thread Dimitry Andric
Author: dim Date: Tue Oct 23 18:57:20 2012 New Revision: 241960 URL: http://svn.freebsd.org/changeset/base/241960 Log: For building GNU libstdc++ and libsupc++, filter out libc++-specific and -std= flags above c++98 or gnu++98 from CXXFLAGS *after* including bsd.lib.mk, otherwise some

svn commit: r242007 - head/contrib/llvm/lib/Analysis

2012-10-24 Thread Dimitry Andric
Author: dim Date: Wed Oct 24 16:39:49 2012 New Revision: 242007 URL: http://svn.freebsd.org/changeset/base/242007 Log: Pull in r165367 from upstream llvm trunk: Make sure always-inline functions get inlined. rdar://problem/12423986 Without this change, when the estimated cost for

Re: svn commit: r241823 - in head: . etc etc/atf etc/mtree lib lib/atf lib/atf/libatf-c lib/atf/libatf-c++ libexec libexec/atf libexec/atf/atf-check share share/atf share/doc share/doc/atf share/examp

2012-10-24 Thread Dimitry Andric
On 2012-10-23 11:05, Dimitry Andric wrote: On 2012-10-22 16:58, Jan Beich wrote: Dimitry Andric d...@freebsd.org writes: On 2012-10-22 09:00, Jan Beich wrote: ... undefined reference to `std::__1::basic_ioschar, std::__1::char_traitschar ::clear(unsigned int)' clang++: error: linker command

Re: svn commit: r242074 - head/etc/rc.d

2012-10-25 Thread Dimitry Andric
On 2012-10-25 10:37, Brian Somers wrote: ... URL: http://svn.freebsd.org/changeset/base/242074 Log: Enable accept_rtadvd on interfaces running rtadvd. ... + for iface in ${command_args}; do + ifconfig ${iface} inet6 -accept_rtadv + done The commit message says

Re: svn commit: r242120 - head/usr.sbin/cpucontrol

2012-10-26 Thread Dimitry Andric
On 2012-10-26 15:37, Jan Beich wrote: Eitan Adler ead...@freebsd.org writes: Author: eadler Date: Fri Oct 26 02:50:16 2012 New Revision: 242120 URL: http://svn.freebsd.org/changeset/base/242120 Log: This utility builds without NO_WCAST_ALIGN Not for clang. It probably predates

svn commit: r242143 - stable/9/contrib/llvm/lib/Target/X86/MCTargetDesc

2012-10-26 Thread Dimitry Andric
Author: dim Date: Fri Oct 26 16:30:49 2012 New Revision: 242143 URL: http://svn.freebsd.org/changeset/base/242143 Log: MFC r241895: Pull in r165878 from upstream llvm trunk: X86: Disable long nops for all cpus prior to pentiumpro/i686. This is the safest approach for now. If

svn commit: r242329 - stable/9/lib/libc++

2012-10-29 Thread Dimitry Andric
Author: dim Date: Mon Oct 29 21:11:37 2012 New Revision: 242329 URL: http://svn.freebsd.org/changeset/base/242329 Log: MFC r241909: Allow building libc++ with any custom -std=xxx flag. Note that using -std=gnu++98 will give a lot of warnings with clang, so please use -std=c++0x or

svn commit: r242347 - in stable/9: contrib/libstdc++/config/os/bsd/freebsd contrib/libstdc++/include/bits contrib/libstdc++/include/debug contrib/libstdc++/include/ext contrib/libstdc++/include/std...

2012-10-30 Thread Dimitry Andric
Author: dim Date: Tue Oct 30 07:51:18 2012 New Revision: 242347 URL: http://svn.freebsd.org/changeset/base/242347 Log: MFC r241957: Fix several clang warnings in libstdc++, which were exposed by the recent atf import. These changes are purely cosmetic, no functional change.

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

2012-10-30 Thread Dimitry Andric
Author: dim Date: Tue Oct 30 22:09:53 2012 New Revision: 242380 URL: http://svn.freebsd.org/changeset/base/242380 Log: Pull in r165377 from upstream llvm trunk: X86: fcmov doesn't handle all possible EFLAGS, fall back to a branch for the others. Otherwise it will try to use

svn commit: r242393 - stable/9/contrib/llvm/lib/Analysis

2012-10-31 Thread Dimitry Andric
Author: dim Date: Wed Oct 31 07:57:49 2012 New Revision: 242393 URL: http://svn.freebsd.org/changeset/base/242393 Log: MFC r242007: Pull in r165367 from upstream llvm trunk: Make sure always-inline functions get inlined. rdar://problem/12423986 Without this change, when the

svn commit: r242472 - head/lib/libc++

2012-11-02 Thread Dimitry Andric
Author: dim Date: Fri Nov 2 12:18:38 2012 New Revision: 242472 URL: http://svn.freebsd.org/changeset/base/242472 Log: Fix broken macro checking in the libc++ Makefile, introduced in r241909. This caused -std=c++0x not to be passed to the build by default. Pointy hat to:dim MFC

svn commit: r242552 - stable/9/contrib/llvm/tools/clang/lib/Driver

2012-11-04 Thread Dimitry Andric
Author: dim Date: Sun Nov 4 11:46:17 2012 New Revision: 242552 URL: http://svn.freebsd.org/changeset/base/242552 Log: MFC r236258: For clang, similar to r236137, enable gnu hash generation for dynamic ELF binaries on x86. MFC r238863: Similar to r238472, let clang pass

svn commit: r242553 - stable/9/contrib/llvm/tools/clang/lib/Driver

2012-11-04 Thread Dimitry Andric
Author: dim Date: Sun Nov 4 12:05:54 2012 New Revision: 242553 URL: http://svn.freebsd.org/changeset/base/242553 Log: MFC r238864: Similar to what is already done for Linux, make clang not complain about unused -g, -emit-llvm or -w arguments when doing linking. E.g. invoking clang -g

svn commit: r242600 - stable/9/lib/libc++

2012-11-04 Thread Dimitry Andric
Author: dim Date: Mon Nov 5 07:44:00 2012 New Revision: 242600 URL: http://svnweb.freebsd.org/changeset/base/242600 Log: MFC r242472: Fix broken macro checking in the libc++ Makefile, introduced in r241909. This caused -std=c++0x not to be passed to the build by default. Pointy hat

svn commit: r242622 - head/lib/libpmc

2012-11-05 Thread Dimitry Andric
Author: dim Date: Mon Nov 5 18:49:21 2012 New Revision: 242622 URL: http://svnweb.freebsd.org/changeset/base/242622 Log: Fix a few warnings from newer clang 3.2 in libpmc, about comparing enum pmc_event values against integer constants which fall outside the enum range. Reviewed by:

svn commit: r242623 - head/sys/contrib/ngatm/netnatm/msg

2012-11-05 Thread Dimitry Andric
Author: dim Date: Mon Nov 5 19:00:25 2012 New Revision: 242623 URL: http://svnweb.freebsd.org/changeset/base/242623 Log: In sys/contrib/ngatm/netnatm/msg/uni_ie.c, fix a few warnings from newer versions of clang 3.2, about comparing enum uni_cause values against integer constants which

svn commit: r242625 - in head/sys: dev/ale dev/ata dev/ata/chipsets dev/ath/ath_hal/ar5212 dev/bge dev/cas dev/dc dev/flash dev/fxp dev/gem dev/lge dev/mii dev/nge dev/pci dev/re dev/sis dev/ste de...

2012-11-05 Thread Dimitry Andric
Author: dim Date: Mon Nov 5 19:16:27 2012 New Revision: 242625 URL: http://svnweb.freebsd.org/changeset/base/242625 Log: Remove duplicate const specifiers in many drivers (I hope I got all of them, please let me know if not). Most of these are of the form: static const struct bzzt_type

Re: svn commit: r242625 - in head/sys: dev/ale dev/ata dev/ata/chipsets dev/ath/ath_hal/ar5212 dev/bge dev/cas dev/dc dev/flash dev/fxp dev/gem dev/lge dev/mii dev/nge dev/pci dev/re dev/sis dev/ste d

2012-11-05 Thread Dimitry Andric
On 2012-11-05 23:36, Adrian Chadd wrote: I'm fine with the change, but why didn't you run this by the various driver owners first before doing a drive-by commit? The change was trivial, and did not cause any binary difference. I see no reason to bother 20 different maintainers with something

svn commit: r242657 - stable/9/contrib/llvm/lib/Target/X86

2012-11-06 Thread Dimitry Andric
Author: dim Date: Tue Nov 6 07:46:07 2012 New Revision: 242657 URL: http://svnweb.freebsd.org/changeset/base/242657 Log: MFC r242380: Pull in r165377 from upstream llvm trunk: X86: fcmov doesn't handle all possible EFLAGS, fall back to a branch for the others. Otherwise

svn commit: r242658 - head/share/mk

2012-11-06 Thread Dimitry Andric
Author: dim Date: Tue Nov 6 07:51:20 2012 New Revision: 242658 URL: http://svnweb.freebsd.org/changeset/base/242658 Log: Fix typo in bsd.compiler.mk. Modified: head/share/mk/bsd.compiler.mk Modified: head/share/mk/bsd.compiler.mk

svn commit: r242706 - in head/sys/boot/pc98: boot2 cdboot

2012-11-07 Thread Dimitry Andric
Author: dim Date: Wed Nov 7 19:51:53 2012 New Revision: 242706 URL: http://svnweb.freebsd.org/changeset/base/242706 Log: Put in a band-aid to get the pc98 bootstraps building, now clang is the default compiler. This has two parts: - Make sys/boot/pc98/boot2 always build with gcc for now,

svn commit: r242707 - head/usr.bin/clang/clang

2012-11-07 Thread Dimitry Andric
Author: dim Date: Wed Nov 7 20:03:45 2012 New Revision: 242707 URL: http://svnweb.freebsd.org/changeset/base/242707 Log: Belatedly add links from /usr/bin/clang to /usr/bin/CC, like it has been done for g++. MFC after:3 days Modified: head/usr.bin/clang/clang/Makefile Modified:

svn commit: r242715 - head/sys/conf

2012-11-07 Thread Dimitry Andric
Author: dim Date: Wed Nov 7 22:15:28 2012 New Revision: 242715 URL: http://svnweb.freebsd.org/changeset/base/242715 Log: For kernel builds with PROFLEVEL = 1, such as LINT, don't attempt to use the -falign-functions option if the compiler is clang, as the flag is not supported. MFC

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

2012-11-07 Thread Dimitry Andric
On 2012-11-07 23:37, Jung-uk Kim wrote: ... FYI, PROF needs a similar work-around: % clang -c -pg -mprofiler-epilogue test.c clang: warning: argument unused during compilation: '-mprofiler-epilogue' Yeah, I was just going to commit that. Thanks! :)

svn commit: r242717 - head/sys/conf

2012-11-07 Thread Dimitry Andric
Author: dim Date: Wed Nov 7 22:45:34 2012 New Revision: 242717 URL: http://svnweb.freebsd.org/changeset/base/242717 Log: For kernel builds with PROFLEVEL = 2, such as LINT, don't attempt to use the -mprofiler-epilogue option if the compiler is clang, as the flag is not supported. While

svn commit: r242804 - head/sys/boot/i386/boot2

2012-11-08 Thread Dimitry Andric
Author: dim Date: Thu Nov 8 23:21:02 2012 New Revision: 242804 URL: http://svnweb.freebsd.org/changeset/base/242804 Log: Shrink boot2 by 8 bytes, by eliminating some unneeded instructions in sio.S. This is not particularly needed for head right now, but it is intended to merge to

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

2012-11-09 Thread Dimitry Andric
Author: dim Date: Fri Nov 9 18:56:27 2012 New Revision: 242835 URL: http://svnweb.freebsd.org/changeset/base/242835 Log: Reduce LLVM's default stack alignment for i386 from 16 to 4 bytes, as the FreeBSD ABI requires. This is essentially a revert of upstream llvm commit r126226, and it

svn commit: r242837 - stable/9/lib/libpmc

2012-11-09 Thread Dimitry Andric
Author: dim Date: Fri Nov 9 19:32:37 2012 New Revision: 242837 URL: http://svnweb.freebsd.org/changeset/base/242837 Log: MFC r242622: Fix a few warnings from newer clang 3.2 in libpmc, about comparing enum pmc_event values against integer constants which fall outside the enum range.

svn commit: r242838 - stable/9/sys/contrib/ngatm/netnatm/msg

2012-11-09 Thread Dimitry Andric
Author: dim Date: Fri Nov 9 19:35:46 2012 New Revision: 242838 URL: http://svnweb.freebsd.org/changeset/base/242838 Log: MFC r242623: In sys/contrib/ngatm/netnatm/msg/uni_ie.c, fix a few warnings from newer versions of clang 3.2, about comparing enum uni_cause values against integer

svn commit: r242843 - stable/9/usr.bin/clang/clang

2012-11-09 Thread Dimitry Andric
Author: dim Date: Sat Nov 10 00:36:53 2012 New Revision: 242843 URL: http://svnweb.freebsd.org/changeset/base/242843 Log: MFC r242707: Belatedly add links from /usr/bin/clang to /usr/bin/CC, like it has been done for g++. Modified: stable/9/usr.bin/clang/clang/Makefile Directory

svn commit: r242873 - head/sys/dev/nve

2012-11-10 Thread Dimitry Andric
Author: dim Date: Sat Nov 10 16:02:12 2012 New Revision: 242873 URL: http://svnweb.freebsd.org/changeset/base/242873 Log: Fix all the inconsistent nve_os* function declarations and definitions in nve(4). The OS_API structure defined in os.h expects NV_API_CALL attributes, effectively

svn commit: r242874 - head

2012-11-10 Thread Dimitry Andric
Author: dim Date: Sat Nov 10 16:08:21 2012 New Revision: 242874 URL: http://svnweb.freebsd.org/changeset/base/242874 Log: Work around pc98 tinderbox failures in sys/boot/pc98, by making sure a cross gcc gets built during the cross-tools stage. MFC after:1 week X-MFC-With: 242706

Re: svn commit: r242842 - in head/sys: conf modules/mthca

2012-11-10 Thread Dimitry Andric
On 2012-11-10 01:32, Xin LI wrote: Author: delphij Date: Sat Nov 10 00:32:47 2012 New Revision: 242842 URL: http://svnweb.freebsd.org/changeset/base/242842 Log: Attempt toward a buildable universe by silenting a few warnings for OFED. ... -OFEDNOERR= -Wno-cast-qual -Wno-pointer-arith

svn commit: r242879 - in head/lib: libc/gen msun/src

2012-11-10 Thread Dimitry Andric
Author: dim Date: Sat Nov 10 21:22:10 2012 New Revision: 242879 URL: http://svnweb.freebsd.org/changeset/base/242879 Log: Only define isnan, isnanf, __isnan and __isnanf in libc.so, not in libc.a and libc_p.a. In addition, define isnan in libm.a and libm_p.a, but not in libm.so. This

Re: svn commit: r242879 - in head/lib: libc/gen msun/src

2012-11-10 Thread Dimitry Andric
On 2012-11-10 22:43, Konstantin Belousov wrote: On Sat, Nov 10, 2012 at 09:22:10PM +, Dimitry Andric wrote: ... Author: dim Date: Sat Nov 10 21:22:10 2012 New Revision: 242879 URL: http://svnweb.freebsd.org/changeset/base/242879 Log: Only define isnan, isnanf, __isnan and __isnanf

svn commit: r242894 - head/lib/libc/gen

2012-11-11 Thread Dimitry Andric
Author: dim Date: Sun Nov 11 13:28:04 2012 New Revision: 242894 URL: http://svnweb.freebsd.org/changeset/base/242894 Log: Add an explanatory comment to lib/libc/gen/isnan.c about the fix to make static linking with libc and libm work. Requested by: jilles MFC after:1 week

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

2012-11-11 Thread Dimitry Andric
On 2012-11-11 05:33, Nathan Whitehorn wrote: On 11/09/12 12:56, Dimitry Andric wrote: Author: dim Date: Fri Nov 9 18:56:27 2012 New Revision: 242835 URL: http://svnweb.freebsd.org/changeset/base/242835 Log: Reduce LLVM's default stack alignment for i386 from 16 to 4 bytes

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

2012-11-11 Thread Dimitry Andric
On 2012-11-11 12:53, Bruce Evans wrote: On Sat, 10 Nov 2012, Nathan Whitehorn wrote: On 11/09/12 12:56, Dimitry Andric wrote: Log: Reduce LLVM's default stack alignment for i386 from 16 to 4 bytes, as the FreeBSD ABI requires. This is essentially a revert of upstream llvm commit

Re: svn commit: r242879 - in head/lib: libc/gen msun/src

2012-11-11 Thread Dimitry Andric
On 2012-11-11 14:07, Bruce Evans wrote: On Sat, 10 Nov 2012, Dimitry Andric wrote: On 2012-11-10 22:43, Konstantin Belousov wrote: On Sat, Nov 10, 2012 at 09:22:10PM +, Dimitry Andric wrote: ... Author: dim Date: Sat Nov 10 21:22:10 2012 New Revision: 242879 URL: http

svn commit: r242907 - stable/9/sys/boot/i386/boot2

2012-11-11 Thread Dimitry Andric
Author: dim Date: Mon Nov 12 07:30:24 2012 New Revision: 242907 URL: http://svnweb.freebsd.org/changeset/base/242907 Log: MFC r242804: Shrink boot2 by 8 bytes, by eliminating some unneeded instructions in sio.S. This is not particularly needed for head right now, but it is intended to

svn commit: r242908 - in stable/9/sys: dev/ale dev/ata dev/ata/chipsets dev/ath/ath_hal/ar5212 dev/bge dev/cas dev/dc dev/flash dev/fxp dev/gem dev/lge dev/mii dev/nge dev/pci dev/re dev/sis dev/st...

2012-11-11 Thread Dimitry Andric
Author: dim Date: Mon Nov 12 07:34:05 2012 New Revision: 242908 URL: http://svnweb.freebsd.org/changeset/base/242908 Log: MFC r242625: Remove duplicate const specifiers in many drivers (I hope I got all of them, please let me know if not). Most of these are of the form: static

svn commit: r242909 - in stable/8/sys: dev/ale dev/ata dev/ata/chipsets dev/ath/ath_hal/ar5212 dev/bge dev/cas dev/dc dev/flash dev/fxp dev/gem dev/lge dev/nge dev/pci dev/re dev/sis dev/ste dev/st...

2012-11-11 Thread Dimitry Andric
Author: dim Date: Mon Nov 12 07:47:19 2012 New Revision: 242909 URL: http://svnweb.freebsd.org/changeset/base/242909 Log: MFC r242625: Remove duplicate const specifiers in many drivers (I hope I got all of them, please let me know if not). Most of these are of the form: static

svn commit: r242931 - head/sys/i386/xen

2012-11-12 Thread Dimitry Andric
Author: dim Date: Mon Nov 12 20:50:11 2012 New Revision: 242931 URL: http://svnweb.freebsd.org/changeset/base/242931 Log: Fix a minor warning in sys/i386/xen/clock.c. MFC after:3 days Modified: head/sys/i386/xen/clock.c Modified: head/sys/i386/xen/clock.c

svn commit: r242933 - in head/sys: conf modules/mthca ofed/drivers/infiniband/core ofed/drivers/infiniband/ulp/sdp ofed/include/linux

2012-11-12 Thread Dimitry Andric
Author: dim Date: Mon Nov 12 22:01:29 2012 New Revision: 242933 URL: http://svnweb.freebsd.org/changeset/base/242933 Log: Redo r242842, now actually fixing the warnings, as follows: - In sys/ofed/drivers/infiniband/core/cma.c, an enum struct member is interpreted as an int, so cast it to

svn commit: r242934 - head/sys/dev/xen/netback

2012-11-12 Thread Dimitry Andric
Author: dim Date: Mon Nov 12 22:28:32 2012 New Revision: 242934 URL: http://svnweb.freebsd.org/changeset/base/242934 Log: Redo r242889, now using the method from projects/amd64_xen_pv r240747. Reminded by: kib MFC after:3 days Modified:

Re: svn commit: r242934 - head/sys/dev/xen/netback

2012-11-12 Thread Dimitry Andric
On 2012-11-12 23:57, Ben Kaduk wrote: On Mon, Nov 12, 2012 at 5:28 PM, Dimitry Andric d...@freebsd.org wrote: Author: dim Date: Mon Nov 12 22:28:32 2012 New Revision: 242934 URL: http://svnweb.freebsd.org/changeset/base/242934 Log: Redo r242889, now using the method from projects

svn commit: r243034 - head/crypto/heimdal/lib/sl

2012-11-14 Thread Dimitry Andric
Author: dim Date: Wed Nov 14 18:49:03 2012 New Revision: 243034 URL: http://svnweb.freebsd.org/changeset/base/243034 Log: In crypto/heimdal/lib/sl/slc-lex.l, don't define YY_NO_INPUT, since %option nounput is already specified. MFC after:3 days Modified:

svn commit: r243035 - head/usr.bin/mkcsmapper

2012-11-14 Thread Dimitry Andric
Author: dim Date: Wed Nov 14 18:51:12 2012 New Revision: 243035 URL: http://svnweb.freebsd.org/changeset/base/243035 Log: For mkcsmapper, conditionalize gcc-specific compile flags. MFC after:3 days Modified: head/usr.bin/mkcsmapper/Makefile.inc Modified:

svn commit: r243036 - head/games/fortune/fortune

2012-11-14 Thread Dimitry Andric
Author: dim Date: Wed Nov 14 18:52:37 2012 New Revision: 243036 URL: http://svnweb.freebsd.org/changeset/base/243036 Log: In games/fortune/fortune/fortune.c, make 'Debug' the correct type (it is *not* a boolean). MFC after:3 days Modified: head/games/fortune/fortune/fortune.c

svn commit: r243037 - head/sys/dev/aic7xxx/aicasm

2012-11-14 Thread Dimitry Andric
Author: dim Date: Wed Nov 14 18:54:08 2012 New Revision: 243037 URL: http://svnweb.freebsd.org/changeset/base/243037 Log: Fix a bug in aicasm_gram.y, noted by a newer clang 3.2 snapshot: it compared an enum scope_type against a yacc-generated define, so the condition would always be false.

svn commit: r243041 - in stable/9: . share/mk sys/conf

2012-11-14 Thread Dimitry Andric
Author: dim Date: Wed Nov 14 20:27:17 2012 New Revision: 243041 URL: http://svnweb.freebsd.org/changeset/base/243041 Log: MFC r240468 (by brooks): Introduce a new make variable COMPILER_TYPE that specifies what type of compiler is being used (currently clang or gcc). COMPILER_TYPE

svn commit: r243042 - stable/9/sys/conf

2012-11-14 Thread Dimitry Andric
Author: dim Date: Wed Nov 14 20:32:43 2012 New Revision: 243042 URL: http://svnweb.freebsd.org/changeset/base/243042 Log: MFC r242715: For kernel builds with PROFLEVEL = 1, such as LINT, don't attempt to use the -falign-functions option if the compiler is clang, as the flag is

svn commit: r243067 - stable/9/sys/i386/xen

2012-11-14 Thread Dimitry Andric
Author: dim Date: Thu Nov 15 07:36:38 2012 New Revision: 243067 URL: http://svnweb.freebsd.org/changeset/base/243067 Log: MFC r242931: Fix a minor warning in sys/i386/xen/clock.c. Modified: stable/9/sys/i386/xen/clock.c Directory Properties: stable/9/sys/ (props changed) Modified:

svn commit: r243068 - stable/9/sys/dev/xen/netback

2012-11-14 Thread Dimitry Andric
Author: dim Date: Thu Nov 15 07:48:44 2012 New Revision: 243068 URL: http://svnweb.freebsd.org/changeset/base/243068 Log: MFC r242889 (by rdivacky): Change the XNB_ASSERT from a statement expression to do-while(0) as its result is never used. MFC r242934: Redo r242889,

svn commit: r243190 - in stable/9: . sys/boot/pc98/boot2 sys/boot/pc98/cdboot

2012-11-17 Thread Dimitry Andric
Author: dim Date: Sat Nov 17 22:40:18 2012 New Revision: 243190 URL: http://svnweb.freebsd.org/changeset/base/243190 Log: MFC r242706: Put in a band-aid to get the pc98 bootstraps building, now clang is the default compiler. This has two parts: - Make sys/boot/pc98/boot2 always

svn commit: r243191 - stable/9/contrib/llvm/lib/Target/X86

2012-11-17 Thread Dimitry Andric
Author: dim Date: Sat Nov 17 22:50:50 2012 New Revision: 243191 URL: http://svnweb.freebsd.org/changeset/base/243191 Log: MFC r242835: Reduce LLVM's default stack alignment for i386 from 16 to 4 bytes, as the FreeBSD ABI requires. This is essentially a revert of upstream llvm commit

svn commit: r243192 - stable/9/sys/dev/nve

2012-11-17 Thread Dimitry Andric
Author: dim Date: Sat Nov 17 22:58:33 2012 New Revision: 243192 URL: http://svnweb.freebsd.org/changeset/base/243192 Log: MFC r242873: Fix all the inconsistent nve_os* function declarations and definitions in nve(4). The OS_API structure defined in os.h expects NV_API_CALL attributes,

svn commit: r243193 - in stable/9/lib: libc/gen msun/src

2012-11-17 Thread Dimitry Andric
Author: dim Date: Sat Nov 17 23:05:18 2012 New Revision: 243193 URL: http://svnweb.freebsd.org/changeset/base/243193 Log: MFC r242879: Only define isnan, isnanf, __isnan and __isnanf in libc.so, not in libc.a and libc_p.a. In addition, define isnan in libm.a and libm_p.a, but

svn commit: r243195 - stable/9/crypto/heimdal/lib/sl

2012-11-17 Thread Dimitry Andric
Author: dim Date: Sat Nov 17 23:11:04 2012 New Revision: 243195 URL: http://svnweb.freebsd.org/changeset/base/243195 Log: MFC r243034: In crypto/heimdal/lib/sl/slc-lex.l, don't define YY_NO_INPUT, since %option nounput is already specified. Modified:

svn commit: r243196 - stable/9/usr.bin/mkcsmapper

2012-11-17 Thread Dimitry Andric
Author: dim Date: Sat Nov 17 23:14:31 2012 New Revision: 243196 URL: http://svnweb.freebsd.org/changeset/base/243196 Log: MFC r243035: For mkcsmapper, conditionalize gcc-specific compile flags. Modified: stable/9/usr.bin/mkcsmapper/Makefile.inc Directory Properties:

svn commit: r243197 - stable/9/games/fortune/fortune

2012-11-17 Thread Dimitry Andric
Author: dim Date: Sat Nov 17 23:31:16 2012 New Revision: 243197 URL: http://svnweb.freebsd.org/changeset/base/243197 Log: MFC r243036: In games/fortune/fortune/fortune.c, make 'Debug' the correct type (it is *not* a boolean). Modified: stable/9/games/fortune/fortune/fortune.c

svn commit: r243198 - stable/9/sys/dev/aic7xxx/aicasm

2012-11-17 Thread Dimitry Andric
Author: dim Date: Sat Nov 17 23:34:10 2012 New Revision: 243198 URL: http://svnweb.freebsd.org/changeset/base/243198 Log: MFC r243037: Fix a bug in aicasm_gram.y, noted by a newer clang 3.2 snapshot: it compared an enum scope_type against a yacc-generated define, so the condition would

svn commit: r243199 - stable/8/sys/dev/aic7xxx/aicasm

2012-11-17 Thread Dimitry Andric
Author: dim Date: Sat Nov 17 23:39:36 2012 New Revision: 243199 URL: http://svnweb.freebsd.org/changeset/base/243199 Log: MFC r243037: Fix a bug in aicasm_gram.y, noted by a newer clang 3.2 snapshot: it compared an enum scope_type against a yacc-generated define, so the condition would

svn commit: r243200 - stable/7/sys/dev/aic7xxx/aicasm

2012-11-17 Thread Dimitry Andric
Author: dim Date: Sat Nov 17 23:44:01 2012 New Revision: 243200 URL: http://svnweb.freebsd.org/changeset/base/243200 Log: MFC r243037: Fix a bug in aicasm_gram.y, noted by a newer clang 3.2 snapshot: it compared an enum scope_type against a yacc-generated define, so the condition would

svn commit: r243348 - head/share/mk

2012-11-20 Thread Dimitry Andric
Author: dim Date: Tue Nov 20 21:26:13 2012 New Revision: 243348 URL: http://svnweb.freebsd.org/changeset/base/243348 Log: Do not expose LIBCXXRT and LIBCPLUSPLUS in bsd.libnames.mk, if WITHOUT_LIBCPLUSPLUS is specified. Submitted by: Garrett Cooper yaneg...@gmail.com MFC after:3

svn commit: r243375 - in stable/9/sys/ofed: drivers/infiniband/core drivers/infiniband/ulp/sdp include/linux

2012-11-21 Thread Dimitry Andric
Author: dim Date: Wed Nov 21 18:27:02 2012 New Revision: 243375 URL: http://svnweb.freebsd.org/changeset/base/243375 Log: MFC r242933: Redo r242842, now actually fixing the warnings, as follows: - In sys/ofed/drivers/infiniband/core/cma.c, an enum struct member is interpreted as an

svn commit: r243376 - in stable/9/contrib/libc++: . include src src/support

2012-11-21 Thread Dimitry Andric
Morin +E: mimomo...@gmail.com +D: Minor patches to is_convertible. + +N: Dimitry Andric +E: dimi...@andric.com +D: Visibility fixes, minor FreeBSD portability patches. + +N: Holger Arnold +E: holge...@gmail.com +D: Minor fix. + +N: Argyrios Kyrtzidis +E: kyrtzi...@apple.com +D: Bug fixes. Copied

Re: svn commit: r243405 - in stable/9: include lib/libc/stdlib

2012-11-24 Thread Dimitry Andric
On 2012-11-22 16:19, Ed Schouten wrote: Author: ed Date: Thu Nov 22 15:19:53 2012 New Revision: 243405 URL: http://svnweb.freebsd.org/changeset/base/243405 Log: MFC r229848: Add aligned_alloc(3). The C11 folks reinvented the wheel by introducing an aligned version of

Re: svn commit: r243474 - head/usr.bin/cut

2012-11-24 Thread Dimitry Andric
On 2012-11-24 09:00, Andrey Chernov wrote: On 24.11.2012 8:15, Andrew Turner wrote: The is_delim function works on wchar_t characters not ints, update the function to take a wchar_t as it's argument. static int -is_delim(int ch) +is_delim(wchar_t ch) { if (wflag) {

svn commit: r243511 - stable/9/share/mk

2012-11-25 Thread Dimitry Andric
Author: dim Date: Sun Nov 25 12:27:19 2012 New Revision: 243511 URL: http://svnweb.freebsd.org/changeset/base/243511 Log: MFC r243348: Do not expose LIBCXXRT and LIBCPLUSPLUS in bsd.libnames.mk, if WITHOUT_LIBCPLUSPLUS is specified. Submitted by: Garrett Cooper yaneg...@gmail.com

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

2012-11-26 Thread Dimitry Andric
Author: dim Date: Mon Nov 26 21:32:31 2012 New Revision: 243572 URL: http://svnweb.freebsd.org/changeset/base/243572 Log: Pull in r168610 from upstream libc++: When using libc++ headers on FreeBSD, in combination with -std=c++98, -ansi or -std=c++03, the long long type is not

svn commit: r243683 - in stable/9/contrib/libc++: include include/ext src

2012-11-29 Thread Dimitry Andric
Author: dim Date: Thu Nov 29 21:26:57 2012 New Revision: 243683 URL: http://svnweb.freebsd.org/changeset/base/243683 Log: MFC r242945 (by theraven): Import new version of libc++ into base. Modified: stable/9/contrib/libc++/include/__config

svn commit: r243781 - stable/9/contrib/llvm/tools/clang/lib/CodeGen

2012-12-01 Thread Dimitry Andric
Author: dim Date: Sun Dec 2 00:31:23 2012 New Revision: 243781 URL: http://svnweb.freebsd.org/changeset/base/243781 Log: Pull in r158245 from upstream clang: [C++11 Compat] Fix breaking change in C++11 pair copyctor. While this code is valid C++98, it is not valid C++11. The

svn commit: r243790 - vendor/llvm/llvm-release_32-r168974

2012-12-02 Thread Dimitry Andric
Author: dim Date: Sun Dec 2 13:12:38 2012 New Revision: 243790 URL: http://svnweb.freebsd.org/changeset/base/243790 Log: Tag llvm release_32 branch r168974 (effectively, 3.2 RC2). Added: vendor/llvm/llvm-release_32-r168974/ - copied from r243789, vendor/llvm/dist/

svn commit: r243792 - vendor/clang/clang-release_32-r168974

2012-12-02 Thread Dimitry Andric
Author: dim Date: Sun Dec 2 13:22:23 2012 New Revision: 243792 URL: http://svnweb.freebsd.org/changeset/base/243792 Log: Tag clang release_32 branch r168974 (effectively, 3.2 RC2). Added: vendor/clang/clang-release_32-r168974/ - copied from r243791, vendor/clang/dist/

svn commit: r243907 - head/sbin/devd

2012-12-05 Thread Dimitry Andric
Author: dim Date: Wed Dec 5 20:50:40 2012 New Revision: 243907 URL: http://svnweb.freebsd.org/changeset/base/243907 Log: Fix an old bug in devd, where it uses std::sort() to sort the various lists it reads from its configuration files on the priority field. Because some items in the

svn commit: r244124 - head/lib/clang

2012-12-11 Thread Dimitry Andric
Author: dim Date: Tue Dec 11 20:08:57 2012 New Revision: 244124 URL: http://svnweb.freebsd.org/changeset/base/244124 Log: Cleanup a few duplicate llvm libs that snuck in with the recent update. Noticed by: rdivacky Modified: head/lib/clang/Makefile Modified: head/lib/clang/Makefile

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