svn commit: r352699 - head/share/mk

2019-09-25 Thread Dimitry Andric
Author: dim Date: Wed Sep 25 17:52:59 2019 New Revision: 352699 URL: https://svnweb.freebsd.org/changeset/base/352699 Log: In suite.test.mk, test if ${DESTDIR} exists before attempting to run chflags -R on it, otherwise the command will error out. (Note that adding -f to the chflags

svn commit: r352698 - head

2019-09-25 Thread Dimitry Andric
Author: dim Date: Wed Sep 25 17:35:34 2019 New Revision: 352698 URL: https://svnweb.freebsd.org/changeset/base/352698 Log: In r340411, libufs.so's major number was bumped to 7, but an entry in ObsoleteFiles.inc was not added. Retroactively fix that. Modified: head/ObsoleteFiles.inc

Re: svn commit: r352304 - in head: . usr.sbin/ntp usr.sbin/ntp/ntpd

2019-09-19 Thread Dimitry Andric
On 19 Sep 2019, at 14:46, Cy Schubert wrote: > > In message <4ccdcc18-6412-e606-4a74-314033a5f...@freebsd.org>, Dimitry Andric > writes: >> On 2019-09-13 22:20, Cy Schubert wrote: >>> Author: cy >>> Date: Fri Sep 13 20:20:05 2019 >>> New Revi

Re: svn commit: r352304 - in head: . usr.sbin/ntp usr.sbin/ntp/ntpd

2019-09-19 Thread Dimitry Andric
On 2019-09-13 22:20, Cy Schubert wrote: Author: cy Date: Fri Sep 13 20:20:05 2019 New Revision: 352304 URL: https://svnweb.freebsd.org/changeset/base/352304 Log: No longer mlock() ntpd pages by default in memory thus allowing its pages to page as necessary. To restore historic BSD

svn commit: r352341 - head/contrib/libedit

2019-09-14 Thread Dimitry Andric
Author: dim Date: Sat Sep 14 21:49:42 2019 New Revision: 352341 URL: https://svnweb.freebsd.org/changeset/base/352341 Log: Fix arm and aarch64 builds of libedit after r352275 On arm and arm64, where chars are unsigned by default, buildworld dies with: --- terminal.o ---

Re: svn commit: r352275 - in head/lib/libedit: . TEST edit readline

2019-09-14 Thread Dimitry Andric
On 14 Sep 2019, at 12:36, Dimitry Andric wrote: > > On 14 Sep 2019, at 06:25, Warner Losh wrote: >> >> On Fri, Sep 13, 2019, 10:11 PM Peter Jeremy wrote: >> On 2019-Sep-13 16:33:15 -0400, Charlie Li wrote: ... >> Looking back into history, it looks like the &q

Re: svn commit: r352275 - in head/lib/libedit: . TEST edit readline

2019-09-14 Thread Dimitry Andric
On 14 Sep 2019, at 06:25, Warner Losh wrote: > > On Fri, Sep 13, 2019, 10:11 PM Peter Jeremy wrote: > On 2019-Sep-13 16:33:15 -0400, Charlie Li wrote: > >Baptiste Daroussin wrote: > >> Author: bapt > >> Date: Fri Sep 13 06:50:02 2019 > >> New Revision: 352275 > >> URL:

svn commit: r352306 - head/contrib/libcxxrt

2019-09-13 Thread Dimitry Andric
Author: dim Date: Fri Sep 13 21:00:19 2019 New Revision: 352306 URL: https://svnweb.freebsd.org/changeset/base/352306 Log: Include in unwind-arm.h, since it uses uint32_t and uint64_t in various declarations. Otherwise, depending on how unwind-arm.h is included from other source

svn commit: r351938 - head/contrib/llvm/lib/CodeGen

2019-09-06 Thread Dimitry Andric
Author: dim Date: Fri Sep 6 16:06:37 2019 New Revision: 351938 URL: https://svnweb.freebsd.org/changeset/base/351938 Log: Pull in r37 from upstream llvm trunk (by Eli Friedman): [IfConversion] Fix diamond conversion with unanalyzable branches. The code was incorrectly

Re: svn commit: r351831 - in head: . stand/efi/boot1 stand/efi/gptboot tools/build/mk

2019-09-04 Thread Dimitry Andric
On 4 Sep 2019, at 22:55, Rebecca Cran wrote: > > Author: bcran > Date: Wed Sep 4 20:55:48 2019 > New Revision: 351831 > URL: https://svnweb.freebsd.org/changeset/base/351831 > > Log: > The efifat files are no longer used: remove the code to build them > > Reviewed by: imp, tsoome, emaste >

Re: svn commit: r345807 - head/usr.bin/top

2019-09-03 Thread Dimitry Andric
On 3 Apr 2019, at 15:16, Bruce Evans wrote: > > On Tue, 2 Apr 2019, Dimitry Andric wrote: >> Author: dim >> Date: Tue Apr 2 18:01:54 2019 >> New Revision: 345807 >> URL: https://svnweb.freebsd.org/changeset/base/345807 >> >> Log: >> Fix regressio

svn commit: r345806 - head/contrib/llvm/tools/clang/lib/CodeGen

2019-09-03 Thread Dimitry Andric
Author: dim Date: Tue Apr 2 17:51:28 2019 New Revision: 345806 URL: https://svnweb.freebsd.org/changeset/base/345806 Log: Pull in r357362 from upstream clang trunk (by David Chisnall): [objc-gnustep] Use .init_array not .ctors when requested. This doesn't make a difference most

svn commit: r345807 - head/usr.bin/top

2019-09-03 Thread Dimitry Andric
Author: dim Date: Tue Apr 2 18:01:54 2019 New Revision: 345807 URL: https://svnweb.freebsd.org/changeset/base/345807 Log: Fix regression in top(1) after r344381, causing informational messages to no longer be displayed. This was because the reimplementation of setup_buffer() did not copy

Re: svn commit: r351253 - in head/contrib/libc++: include src

2019-08-21 Thread Dimitry Andric
On 21 Aug 2019, at 14:49, Tijl Coosemans wrote: > > On Tue, 20 Aug 2019 17:39:33 + (UTC) Dimitry Andric > wrote: >> Author: dim >> Date: Tue Aug 20 17:39:32 2019 >> New Revision: 351253 >> URL: https://svnweb.freebsd.org/changeset/base/351253 >> &g

Re: svn commit: r351253 - in head/contrib/libc++: include src

2019-08-20 Thread Dimitry Andric
On 20 Aug 2019, at 23:02, Mark Millard wrote: > >> Author: dim >> Date: Tue Aug 20 17:39:32 2019 >> New Revision: 351253 >> URL: >> https://svnweb.freebsd.org/changeset/base/351253 >> >> >> Log: >> Pull in r368867 from upstream libc++ trunk (by Marshall Clow): >> >>Rework

svn commit: r351253 - in head/contrib/libc++: include src

2019-08-20 Thread Dimitry Andric
Author: dim Date: Tue Aug 20 17:39:32 2019 New Revision: 351253 URL: https://svnweb.freebsd.org/changeset/base/351253 Log: Pull in r368867 from upstream libc++ trunk (by Marshall Clow): Rework recursive_timed_mutex so that it uses __thread_id instead of using the lower-level

svn commit: r350697 - head/lib/libc/string

2019-08-07 Thread Dimitry Andric
Author: dim Date: Wed Aug 7 20:13:43 2019 New Revision: 350697 URL: https://svnweb.freebsd.org/changeset/base/350697 Log: Fix a possible segfault in wcsxfrm(3) and wcsxfrm_l(3). If the length of the source wide character string, passed in via the "size_t n" parameter, is set to zero,

svn commit: r350362 - head/contrib/llvm/lib/CodeGen

2019-07-26 Thread Dimitry Andric
Author: dim Date: Fri Jul 26 18:49:20 2019 New Revision: 350362 URL: https://svnweb.freebsd.org/changeset/base/350362 Log: Pull in r366369 from upstream llvm trunk (by Francis Visoiu Mistrih): [CodeGen][NFC] Simplify checks for stack protector index checking Use

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

2019-07-26 Thread Dimitry Andric
Author: dim Date: Fri Jul 26 16:55:06 2019 New Revision: 350360 URL: https://svnweb.freebsd.org/changeset/base/350360 Log: Merge libcxxrt master f96846efbfd508f66d91fcbbef5dd808947c7f6d. Interesting fixes: f96846e Fix std::size_t -> size_t to unbreak build against libc++ 6.0.0 6f4cfa2

Re: svn commit: r350184 - in head: libexec/rc/rc.d release/picobsd/tinyware/login share/man/man5 usr.bin/login

2019-07-21 Thread Dimitry Andric
On 20 Jul 2019, at 22:56, Conrad Meyer wrote: > > Author: cem > Date: Sat Jul 20 20:56:31 2019 > New Revision: 350184 > URL: https://svnweb.freebsd.org/changeset/base/350184 > > Log: > motd: Generate from template to /var/run And the "why?" is probably: "to avoid writing in /etc"? -Dimitry

svn commit: r350177 - in head: contrib/libunwind/src contrib/llvm/tools/clang/lib/Basic lib/clang/include/clang/Basic lib/clang/include/lld/Common lib/clang/include/llvm/Support

2019-07-20 Thread Dimitry Andric
Author: dim Date: Sat Jul 20 15:26:21 2019 New Revision: 350177 URL: https://svnweb.freebsd.org/changeset/base/350177 Log: Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp 8.0.1 final release r366581. The only functional change is a fix for a mismerge of upstream

svn commit: r349971 - head/contrib/llvm/tools/lld/ELF

2019-07-13 Thread Dimitry Andric
Author: dim Date: Sat Jul 13 15:04:30 2019 New Revision: 349971 URL: https://svnweb.freebsd.org/changeset/base/349971 Log: Pull in r365760 from upstream lld trunk (by Fangrui Song): [ELF] Handle non-glob patterns before glob patterns in version scripts & fix a corner case of

svn commit: r349876 - head/contrib/llvm/tools/clang/include/clang/AST

2019-07-09 Thread Dimitry Andric
Author: dim Date: Wed Jul 10 05:57:37 2019 New Revision: 349876 URL: https://svnweb.freebsd.org/changeset/base/349876 Log: Apply a workaround to be able to build clang 8.0.0 headers with clang 3.4.1, which is still in the stable/10 branch. It looks like clang 3.4.1 implements

svn commit: r349793 - in head: contrib/libunwind/src contrib/llvm/tools/clang/lib/AST contrib/llvm/tools/clang/lib/CodeGen contrib/llvm/tools/clang/lib/Driver/ToolChains/Arch contrib/llvm/tools/lld...

2019-07-06 Thread Dimitry Andric
Author: dim Date: Sat Jul 6 18:02:29 2019 New Revision: 349793 URL: https://svnweb.freebsd.org/changeset/base/349793 Log: Upgrade our copies of clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp to the upstream release_80 branch r364487 (effectively, 8.0.1 rc3). The 8.0.1

svn commit: r349583 - in head/contrib/llvm: include/llvm/Analysis lib/Analysis lib/Transforms/Scalar

2019-07-01 Thread Dimitry Andric
Author: dim Date: Mon Jul 1 21:06:10 2019 New Revision: 349583 URL: https://svnweb.freebsd.org/changeset/base/349583 Log: Pull in r360968 from upstream llvm trunk (by Philip Reames): Clarify comments on helpers used by LFTR [NFC] I'm slowly wrapping my head around this code, and

svn commit: r349004 - in head: . contrib/compiler-rt/lib/sanitizer_common contrib/libunwind/src contrib/llvm/lib/DebugInfo/DWARF contrib/llvm/lib/MC contrib/llvm/lib/Object contrib/llvm/lib/Target/...

2019-06-12 Thread Dimitry Andric
Author: dim Date: Wed Jun 12 21:10:37 2019 New Revision: 349004 URL: https://svnweb.freebsd.org/changeset/base/349004 Log: Upgrade our copies of clang, llvm, lld, lldb, compiler-rt, libc++, libunwind and openmp to the upstream release_80 branch r363030 (effectively, 8.0.1 rc2). The 8.0.1

svn commit: r348500 - head/lib/msun/tests

2019-06-01 Thread Dimitry Andric
Author: dim Date: Sat Jun 1 20:08:10 2019 New Revision: 348500 URL: https://svnweb.freebsd.org/changeset/base/348500 Log: Partially revert r271349, which disabled the msun cexp test #4 on i386. Ensure the expected result is stored first in a volatile variable with the desired type.

svn commit: r348288 - head/contrib/llvm/lib/CodeGen/SelectionDAG

2019-05-26 Thread Dimitry Andric
Author: dim Date: Sun May 26 15:44:58 2019 New Revision: 348288 URL: https://svnweb.freebsd.org/changeset/base/348288 Log: Pull in r361696 from upstream llvm trunk (by Sanjay Patel): [SelectionDAG] soften assertion when legalizing narrow vector FP ops The test based on PR42010:

Re: svn commit: r347979 - in head: lib/libomp tools/build/mk

2019-05-19 Thread Dimitry Andric
On 19 May 2019, at 23:17, Enji Cooper wrote: > >> On May 19, 2019, at 13:13, Dimitry Andric wrote: >> >> Author: dim >> Date: Sun May 19 20:13:55 2019 >> New Revision: 347979 >> URL: https://svnweb.freebsd.org/changeset/base/347979 >> >>

svn commit: r347979 - in head: lib/libomp tools/build/mk

2019-05-19 Thread Dimitry Andric
Author: dim Date: Sun May 19 20:13:55 2019 New Revision: 347979 URL: https://svnweb.freebsd.org/changeset/base/347979 Log: To avoid unnecessarily modifying ports, add a -lgomp symlink, since GCC does not ship a -lomp symlink. Also update OptionalObsoleteFiles for this, and add 32-bit

svn commit: r347978 - head/tools/build/mk

2019-05-19 Thread Dimitry Andric
Author: dim Date: Sun May 19 19:42:35 2019 New Revision: 347978 URL: https://svnweb.freebsd.org/changeset/base/347978 Log: Fix OptionalObsoleteFiles copy/paste mistake from r345236, which connected libomp to the build. The comparison should not have been against ${MK_OPENSSH}, but against

svn commit: r347243 - head/contrib/llvm/lib/Target/ARM

2019-05-07 Thread Dimitry Andric
Author: dim Date: Wed May 8 05:45:00 2019 New Revision: 347243 URL: https://svnweb.freebsd.org/changeset/base/347243 Log: Pull in r360099 from upstream llvm trunk (by Eli Friedman): [ARM] Glue register copies to tail calls. This generally follows what other targets do. I don't

Re: svn commit: r345807 - head/usr.bin/top

2019-04-03 Thread Dimitry Andric
On 3 Apr 2019, at 15:16, Bruce Evans wrote: > > On Tue, 2 Apr 2019, Dimitry Andric wrote: >> Author: dim >> Date: Tue Apr 2 18:01:54 2019 >> New Revision: 345807 >> URL: https://svnweb.freebsd.org/changeset/base/345807 >> >> Log: >> Fix regressio

svn commit: r345807 - head/usr.bin/top

2019-04-02 Thread Dimitry Andric
Author: dim Date: Tue Apr 2 18:01:54 2019 New Revision: 345807 URL: https://svnweb.freebsd.org/changeset/base/345807 Log: Fix regression in top(1) after r344381, causing informational messages to no longer be displayed. This was because the reimplementation of setup_buffer() did not copy

svn commit: r345806 - head/contrib/llvm/tools/clang/lib/CodeGen

2019-04-02 Thread Dimitry Andric
Author: dim Date: Tue Apr 2 17:51:28 2019 New Revision: 345806 URL: https://svnweb.freebsd.org/changeset/base/345806 Log: Pull in r357362 from upstream clang trunk (by David Chisnall): [objc-gnustep] Use .init_array not .ctors when requested. This doesn't make a difference most

svn commit: r345449 - head/contrib/llvm/lib/Target/ARM

2019-03-23 Thread Dimitry Andric
Author: dim Date: Sat Mar 23 14:10:05 2019 New Revision: 345449 URL: https://svnweb.freebsd.org/changeset/base/345449 Log: Pull in r356809 from upstream llvm trunk (by Eli Friedman): [ARM] Don't form "ands" when it isn't scheduled correctly. In r322972/r323136, the iteration here

svn commit: r345349 - in head: contrib/llvm/tools/lld/ELF contrib/llvm/tools/lld/docs lib/clang/include/lld/Common

2019-03-20 Thread Dimitry Andric
Author: dim Date: Wed Mar 20 20:57:11 2019 New Revision: 345349 URL: https://svnweb.freebsd.org/changeset/base/345349 Log: Pull in r352826 from upstream lld trunk (by Fangrui Song): [ELF] Support --{,no-}allow-shlib-undefined Summary: In ld.bfd/gold, --no-allow-shlib-undefined

svn commit: r345345 - in head: contrib/llvm/tools/clang/lib/Basic lib/clang/include/clang/Basic lib/clang/include/lld/Common lib/clang/include/llvm/Support

2019-03-20 Thread Dimitry Andric
Author: dim Date: Wed Mar 20 19:18:26 2019 New Revision: 345345 URL: https://svnweb.freebsd.org/changeset/base/345345 Log: Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp 8.0.0 final release r356365. There were no functional changes since the most recent merge, of

svn commit: r345291 - head/share/mk

2019-03-19 Thread Dimitry Andric
Author: dim Date: Tue Mar 19 06:58:28 2019 New Revision: 345291 URL: https://svnweb.freebsd.org/changeset/base/345291 Log: Turn on MK_OPENMP for i386 by default, now that it can build. Noticed by: jbeich PR: 236062, 236582 MFC after:1 month X-MFC-With: r344779

svn commit: r345283 - in head: contrib/openmp/runtime/src lib

2019-03-18 Thread Dimitry Andric
Author: dim Date: Mon Mar 18 21:04:28 2019 New Revision: 345283 URL: https://svnweb.freebsd.org/changeset/base/345283 Log: Enable building libomp.so for 32-bit x86. This is done by selectively enabling the functions that save and restore MXCSR, since access to this register requires SSE

svn commit: r345282 - head/lib/libomp

2019-03-18 Thread Dimitry Andric
Author: dim Date: Mon Mar 18 19:56:00 2019 New Revision: 345282 URL: https://svnweb.freebsd.org/changeset/base/345282 Log: Remove --as-needed from the linker flags for libomp.so, as these actually prevent the transitive dependency on libm. Reported by: jbeich PR: 236062,

svn commit: r345278 - head/lib/libomp

2019-03-18 Thread Dimitry Andric
Author: dim Date: Mon Mar 18 19:11:11 2019 New Revision: 345278 URL: https://svnweb.freebsd.org/changeset/base/345278 Log: Also explicitly link libomp.so against -lm, as it transitively depends on scalbn and a few other math functions, via libcompiler-rt. This should allow OpenMP programs

svn commit: r345242 - head/lib/libomp

2019-03-17 Thread Dimitry Andric
Author: dim Date: Sun Mar 17 11:27:27 2019 New Revision: 345242 URL: https://svnweb.freebsd.org/changeset/base/345242 Log: Explicitly link libomp.so against -lpthread, as it depends on pthread functionality. This should make example OpenMP programs work out of the box. Reported by:

svn commit: r345237 - head/lib

2019-03-16 Thread Dimitry Andric
Author: dim Date: Sat Mar 16 17:55:22 2019 New Revision: 345237 URL: https://svnweb.freebsd.org/changeset/base/345237 Log: Disable lib/libomp build for the 32-bit part of amd64 buildworld, as it is not supported for that target. Reported by: Michael Butler PR: 236062 MFC

svn commit: r345232 - head/contrib/openmp

2019-03-16 Thread Dimitry Andric
Author: dim Date: Sat Mar 16 13:42:00 2019 New Revision: 345232 URL: https://svnweb.freebsd.org/changeset/base/345232 Log: Bootstrap svn:mergeinfo on contrib/openmp. PR: 236062 MFC after:1 month X-MFC-With: r344779 Modified: Directory Properties: head/contrib/openmp/

svn commit: r345236 - in head: gnu/lib lib share/man/man5 share/mk sys/sys tools/build/mk tools/build/options

2019-03-16 Thread Dimitry Andric
Author: dim Date: Sat Mar 16 15:45:15 2019 New Revision: 345236 URL: https://svnweb.freebsd.org/changeset/base/345236 Log: Connect lib/libomp to the build. * Set MK_OPENMP to yes by default only on amd64, for now. * Bump __FreeBSD_version to signal this addition. * Ensure gcc's

svn commit: r345235 - head/lib/libomp

2019-03-16 Thread Dimitry Andric
Author: dim Date: Sat Mar 16 15:01:36 2019 New Revision: 345235 URL: https://svnweb.freebsd.org/changeset/base/345235 Log: Add lib/libomp, with a Makefile, and generated configuration headers. Not connected to the main build yet, as there is still the issue of the GNU omp.h header

svn commit: r345231 - head/contrib/openmp

2019-03-16 Thread Dimitry Andric
Author: dim Date: Sat Mar 16 13:40:27 2019 New Revision: 345231 URL: https://svnweb.freebsd.org/changeset/base/345231 Log: Add LLVM openmp trunk r351319 (just before the release_80 branch point) to contrib/llvm. This is not yet connected to the build, the glue for that will come in a

svn commit: r345233 - head/contrib/openmp/runtime/src

2019-03-16 Thread Dimitry Andric
Author: dim Date: Sat Mar 16 13:43:07 2019 New Revision: 345233 URL: https://svnweb.freebsd.org/changeset/base/345233 Log: Merge openmp release_80 branch r356034 (effectively, 8.0.0 rc5). PR: 236062 MFC after:1 month X-MFC-With: r344779 Modified:

svn commit: r345234 - head/contrib/openmp/runtime/src

2019-03-16 Thread Dimitry Andric
Author: dim Date: Sat Mar 16 13:45:14 2019 New Revision: 345234 URL: https://svnweb.freebsd.org/changeset/base/345234 Log: Add openmp __kmp_gettid() wrapper, using pthread_getthreadid_np(3). This has also been submitted upstream. PR: 236062 MFC after:1 month X-MFC-With:

svn commit: r345230 - head

2019-03-16 Thread Dimitry Andric
Author: dim Date: Sat Mar 16 13:26:42 2019 New Revision: 345230 URL: https://svnweb.freebsd.org/changeset/base/345230 Log: Update maintainers for libunwind and lldb. Modified: head/MAINTAINERS Modified: head/MAINTAINERS

svn commit: r345152 - in head: contrib/llvm/tools/clang/lib/AST lib/clang/include/clang/Basic lib/clang/include/lld/Common lib/clang/include/llvm/Support

2019-03-14 Thread Dimitry Andric
Author: dim Date: Thu Mar 14 19:52:12 2019 New Revision: 345152 URL: https://svnweb.freebsd.org/changeset/base/345152 Log: Merge llvm, clang, compiler-rt, libc++, libunwind, lld, and lldb release_80 branch r356034 (effectively, 8.0.0 rc5), resolve conflicts, and bump version numbers.

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

2019-03-12 Thread Dimitry Andric
Author: dim Date: Tue Mar 12 18:19:44 2019 New Revision: 345073 URL: https://svnweb.freebsd.org/changeset/base/345073 Log: Revert r308867 (which was originally committed in the clang390-import project branch): Work around LLVM PR30879, which is about a bad interaction between X86

svn commit: r345021 - head/contrib/llvm/lib/CodeGen

2019-03-11 Thread Dimitry Andric
mpile time fix (r343686) in weightCalcHelper() only made sure that physical/virtual registers are passed no more than once to addRegAllocationHint(). Review: Dimitry Andric, Quentin Colombet https://reviews.llvm.org/D59201 This should fix a hang when compiling certain gene

svn commit: r345019 - head/contrib/llvm/projects/libunwind/src

2019-03-11 Thread Dimitry Andric
Author: dim Date: Mon Mar 11 18:56:04 2019 New Revision: 345019 URL: https://svnweb.freebsd.org/changeset/base/345019 Log: Merge LLVM libunwind release_80 branch r355677 (effectively, 8.0.0 rc4). PR: 236062 MFC after:1 month X-MFC-With: r344779 Modified:

svn commit: r345018 - in head/contrib/llvm/projects/libunwind: . include include/mach-o src

2019-03-11 Thread Dimitry Andric
Author: dim Date: Mon Mar 11 18:45:36 2019 New Revision: 345018 URL: https://svnweb.freebsd.org/changeset/base/345018 Log: Merge LLVM libunwind trunk r351319, from just before upstream's release_80 branch point. Afterwards, we will merge the rest of the changes in the actual release_80

svn commit: r344951 - in head: contrib/llvm/include/llvm/IR contrib/llvm/tools/clang/include/clang/Driver lib/clang/include/clang/Basic lib/clang/include/lld/Common lib/clang/include/llvm/Support

2019-03-08 Thread Dimitry Andric
Author: dim Date: Sat Mar 9 00:27:50 2019 New Revision: 344951 URL: https://svnweb.freebsd.org/changeset/base/344951 Log: Merge llvm, clang, compiler-rt, libc++, lld, and lldb release_80 branch r355677 (effectively, 8.0.0 rc4), resolve conflicts, and bump version numbers. PR:

svn commit: r344896 - in head/contrib/llvm/tools/clang: include/clang/AST include/clang/Basic lib/AST lib/CodeGen lib/Sema

2019-03-07 Thread Dimitry Andric
Author: dim Date: Thu Mar 7 19:33:39 2019 New Revision: 344896 URL: https://svnweb.freebsd.org/changeset/base/344896 Log: Pull in r354937 from upstream clang trunk (by Jörg Sonnenberger): Fix inline assembler constraint validation The current constraint logic is both too lax and

svn commit: r344852 - head/contrib/llvm/tools/lldb/include/lldb/Target

2019-03-06 Thread Dimitry Andric
Author: dim Date: Wed Mar 6 18:19:27 2019 New Revision: 344852 URL: https://svnweb.freebsd.org/changeset/base/344852 Log: Put in a temporary workaround for what is likely a gcc 6 bug (it does not occur with gcc 7 or later). This should prevent the following error from breaking the

svn commit: r344825 - head/lib/clang/libllvm

2019-03-05 Thread Dimitry Andric
Author: dim Date: Tue Mar 5 22:04:23 2019 New Revision: 344825 URL: https://svnweb.freebsd.org/changeset/base/344825 Log: Add a few missed files to the MK_LLVM_TARGET_BPF=yes case, otherwise clang and various other executables will fail to link with undefined symbols. Reported by: O.

svn commit: r344554 - head

2019-02-25 Thread Dimitry Andric
Author: dim Date: Mon Feb 25 22:11:44 2019 New Revision: 344554 URL: https://svnweb.freebsd.org/changeset/base/344554 Log: After r344530, remove leading slashes from libprivateifconfig lines in ObsoleteFiles.inc. Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc

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

2019-02-24 Thread Dimitry Andric
Author: dim Date: Sun Feb 24 21:22:16 2019 New Revision: 344503 URL: https://svnweb.freebsd.org/changeset/base/344503 Log: Pull in r354756 from upstream llvm trunk (by Craig Topper): [X86] Fix tls variable lowering issue with large code model Summary: The problem here is the

svn commit: r344444 - in head/contrib/llvm/tools/lld/ELF: . Arch

2019-02-21 Thread Dimitry Andric
Author: dim Date: Thu Feb 21 18:41:41 2019 New Revision: 34 URL: https://svnweb.freebsd.org/changeset/base/34 Log: Pull in r353299 from upstream lld trunk (by George Rimar): Recommit r353293 "[LLD][ELF] - Set DF_STATIC_TLS flag for i386 target." With the following changes:

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

2019-02-20 Thread Dimitry Andric
Author: dim Date: Wed Feb 20 21:06:11 2019 New Revision: 344386 URL: https://svnweb.freebsd.org/changeset/base/344386 Log: Pull in r354515 from upstream libc++ trunk: Fix the build with gcc when `-Wredundant-decls` is passed Summary: gcc warns that `__throw_runtime_error`

svn commit: r344381 - head/usr.bin/top

2019-02-20 Thread Dimitry Andric
Author: dim Date: Wed Feb 20 20:17:54 2019 New Revision: 344381 URL: https://svnweb.freebsd.org/changeset/base/344381 Log: Fix more AddressSanitizer violations in usr.bin/top In line_update(), set lastcol correctly after moving to any non-zero column, so the "overwrite old stuff" part

svn commit: r344264 - head/lib/clang/libllvmminimal

2019-02-18 Thread Dimitry Andric
Author: dim Date: Mon Feb 18 19:07:15 2019 New Revision: 344264 URL: https://svnweb.freebsd.org/changeset/base/344264 Log: Add one additional file to libllvmminimal, since in some cases (e.g. upgrading from stable/10 to stable/11) symbols from it are needed to link llvm-tblgen and

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

2019-02-18 Thread Dimitry Andric
Author: dim Date: Mon Feb 18 18:34:13 2019 New Revision: 344261 URL: https://svnweb.freebsd.org/changeset/base/344261 Log: Pull in r345199 from upstream libc++ trunk (by Petr Hosek): Revert "Teach __libcpp_is_floating_point that __fp16 and _Float16 are floating-point types."

Re: svn commit: r341825 - in head: . contrib/compiler-rt contrib/compiler-rt/include/sanitizer contrib/compiler-rt/include/xray contrib/compiler-rt/lib/BlocksRuntime contrib/compiler-rt/lib/asan contr

2019-02-18 Thread Dimitry Andric
On 18 Feb 2019, at 12:40, Charlie Li via freebsd-toolchain wrote: > > On 11/12/2018 14:05, Dimitry Andric wrote: >> head/contrib/libc++/include/type_traits >> > The change to the above named file breaks building any C++ code > containing _Float16 with devel/llvm80-8.0.

svn commit: r344112 - head/contrib/llvm/lib/MC

2019-02-13 Thread Dimitry Andric
Author: dim Date: Wed Feb 13 20:13:40 2019 New Revision: 344112 URL: https://svnweb.freebsd.org/changeset/base/344112 Log: Pull in r353907 from upstream llvm trunk (by Reid Kleckner): [MC] Make symbol version errors non-fatal We stil don't have a source location, which is pretty

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

2019-02-12 Thread Dimitry Andric
Author: dim Date: Tue Feb 12 18:32:14 2019 New Revision: 344056 URL: https://svnweb.freebsd.org/changeset/base/344056 Log: Pull in r339734 from upstream llvm trunk (by Eli Friedman): [ARM] Make PerformSHLSimplify add nodes to the DAG worklist correctly. Intentionally excluding

svn commit: r343957 - head/usr.bin/top

2019-02-10 Thread Dimitry Andric
Author: dim Date: Sun Feb 10 13:31:08 2019 New Revision: 343957 URL: https://svnweb.freebsd.org/changeset/base/343957 Log: Fix multiple warnings in usr.bin/top about discarded qualifiers from both clang and gcc, by either constifying variables, or when that is not possible, using __DECONST.

svn commit: r343959 - head/usr.bin/top

2019-02-10 Thread Dimitry Andric
Author: dim Date: Sun Feb 10 13:44:36 2019 New Revision: 343959 URL: https://svnweb.freebsd.org/changeset/base/343959 Log: Fix the first couple of AddressSanitizer violations in usr.bin/top. Avoid setting zero bytes beyond the length of the 'thisline' parameters in i_process() and

svn commit: r343958 - head/usr.bin/top

2019-02-10 Thread Dimitry Andric
Author: dim Date: Sun Feb 10 13:34:21 2019 New Revision: 343958 URL: https://svnweb.freebsd.org/changeset/base/343958 Log: Fix multiple warnings in usr.bin/top about variables shadowing global declarations from base gcc, by renaming those variables. MFC after:1 week Modified:

svn commit: r343917 - in head: contrib/netbsd-tests/lib/libm lib/msun/tests

2019-02-08 Thread Dimitry Andric
Author: dim Date: Fri Feb 8 18:31:54 2019 New Revision: 343917 URL: https://svnweb.freebsd.org/changeset/base/343917 Log: Amend r343442, by only expecting the lib.msun.cbrt_test.cbrtl_powl and trig_test.reduction test cases to fail, if the fixes from r343916 have not yet been applied to

svn commit: r343916 - in head: contrib/llvm/lib/Target/X86 lib/clang

2019-02-08 Thread Dimitry Andric
Author: dim Date: Fri Feb 8 18:24:53 2019 New Revision: 343916 URL: https://svnweb.freebsd.org/changeset/base/343916 Log: Pull in r352607 from upstream llvm trunk (by Craig Topper): [X86] Add FPSW as a Def on some FP instructions that were missing it. Pull in r353141 from upstream

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

2019-02-04 Thread Dimitry Andric
Author: dim Date: Mon Feb 4 18:07:03 2019 New Revision: 343748 URL: https://svnweb.freebsd.org/changeset/base/343748 Log: Use NLDT to get number of LDTs on i386 Compiling a GENERIC kernel for i386 with clang 8.0 results in the following warning:

svn commit: r343154 - head

2019-01-18 Thread Dimitry Andric
Author: dim Date: Fri Jan 18 20:35:24 2019 New Revision: 343154 URL: https://svnweb.freebsd.org/changeset/base/343154 Log: Remove leading slash from OLD_DIRS assignment in ObsoleteFiles.inc. The "make delete-old" mechanism will already take care of such prefixes, and this prevents a double

Re: svn commit: r342963 - head/tests/sys/kern

2019-01-12 Thread Dimitry Andric
On 12 Jan 2019, at 18:09, Warner Losh wrote: > > On Sat, Jan 12, 2019, 4:50 AM Andrew Turner Author: andrew > Date: Sat Jan 12 11:50:39 2019 > New Revision: 342963 > URL: https://svnweb.freebsd.org/changeset/base/342963 > > Log: > Temporarily disable the kcov tests. Not all architectures

svn commit: r342593 - head/contrib/llvm/lib/CodeGen/SelectionDAG

2018-12-29 Thread Dimitry Andric
Author: dim Date: Sat Dec 29 15:21:51 2018 New Revision: 342593 URL: https://svnweb.freebsd.org/changeset/base/342593 Log: Pull in r342863 from upstream llvm trunk (by Hans Wennborg): Remove debug printf leftover from r342397 PR: 234480 MFC after:6 weeks

svn commit: r342592 - head/contrib/llvm/lib/CodeGen/SelectionDAG

2018-12-29 Thread Dimitry Andric
Author: dim Date: Sat Dec 29 15:13:49 2018 New Revision: 342592 URL: https://svnweb.freebsd.org/changeset/base/342592 Log: Pull in r342397 from upstream llvm trunk (by Amara Emerson): Revert "Revert r342183 "[DAGCombine] Fix crash when store merging created an extract_subvector with

svn commit: r342123 - in head: contrib/llvm/tools/clang/lib/Basic lib/clang/include/clang/Basic lib/clang/include/lld/Common lib/clang/include/llvm/Support

2018-12-15 Thread Dimitry Andric
Author: dim Date: Sat Dec 15 14:08:41 2018 New Revision: 342123 URL: https://svnweb.freebsd.org/changeset/base/342123 Log: Update clang, llvm, lld, lldb, compiler-rt and libc++ version number to 7.0.1 release r349250. There were no functional changes since the 7.0.1 rc3 import. PR:

svn commit: r342029 - head

2018-12-12 Thread Dimitry Andric
Author: dim Date: Thu Dec 13 06:59:55 2018 New Revision: 342029 URL: https://svnweb.freebsd.org/changeset/base/342029 Log: Fix dates that I set into the future incorrectly. Noticed by: ler Modified: head/ObsoleteFiles.inc head/UPDATING Modified: head/ObsoleteFiles.inc

Re: svn commit: r339898 - head/lib/libc/amd64/sys

2018-11-04 Thread Dimitry Andric
On 4 Nov 2018, at 08:43, Julian Elischer wrote: > > what's an ifunc? This is a GNU extension, an "indirect function". It allows you to provide multiple different implementations of the same function, for instance optimized for specific CPU types, and choose between them at dynamic link time

Re: svn commit: r339436 - in head: . contrib/gcc gnu/usr.bin/cc/cc_tools lib/clang release sys/conf sys/sys

2018-10-21 Thread Dimitry Andric
On 21 Oct 2018, at 04:08, Jan Beich wrote: > > Glen Barber writes: > >> Modified: head/lib/clang/llvm.build.mk >> == >> --- head/lib/clang/llvm.build.mk Fri Oct 19 00:24:23 2018 >> (r339435) >> +++

svn commit: r339013 - head/contrib/llvm/tools/lld/ELF

2018-09-29 Thread Dimitry Andric
Author: dim Date: Sat Sep 29 14:12:03 2018 New Revision: 339013 URL: https://svnweb.freebsd.org/changeset/base/339013 Log: Pull in r329557 from upstream lld trunk (by George Rimar): [ELF] - Allow LLD to produce file symbols. This is for PR36716 and this enables emitting

svn commit: r338697 - head/contrib/llvm/tools/clang/lib/CodeGen

2018-09-15 Thread Dimitry Andric
Author: dim Date: Sat Sep 15 21:22:50 2018 New Revision: 338697 URL: https://svnweb.freebsd.org/changeset/base/338697 Log: Pull in r325478 from upstream clang trunk (by Ivan A. Kosarev): [CodeGen] Initialize large arrays by copying from a global Currently, clang compiles explicit

svn commit: r338689 - head/contrib/llvm/lib/CodeGen

2018-09-14 Thread Dimitry Andric
Author: dim Date: Fri Sep 14 19:25:23 2018 New Revision: 338689 URL: https://svnweb.freebsd.org/changeset/base/338689 Log: Pull in r335365 from upstream llvm trunk (by Krzysztof Parzyszek): Initialize LiveRegs once in BranchFolder::mergeCommonTails This should fix '(TRI &&

Re: svn commit: r338118 - head/sys/ufs/ffs

2018-08-21 Thread Dimitry Andric
On 20 Aug 2018, at 23:19, Kirk McKusick wrote: > > Author: mckusick > Date: Mon Aug 20 21:19:21 2018 > New Revision: 338118 > URL: https://svnweb.freebsd.org/changeset/base/338118 > > Log: > TRIM consolodation is supposed to be off by default > > Modified: > head/sys/ufs/ffs/ffs_alloc.c > >

svn commit: r338025 - head/sys/dev/bge

2018-08-18 Thread Dimitry Andric
Author: dim Date: Sat Aug 18 20:41:43 2018 New Revision: 338025 URL: https://svnweb.freebsd.org/changeset/base/338025 Log: Use the size of one bge_devs element for the MODULE_PNP_INFO macro, instead of the size of the whole bge_devs array. This should stop kldxref searching beyond the

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

2018-08-11 Thread Dimitry Andric
Author: dim Date: Sat Aug 11 10:42:12 2018 New Revision: 337615 URL: https://svnweb.freebsd.org/changeset/base/337615 Log: Pull in r338481 from upstream llvm trunk (by Chandler Carruth): [x86] Fix a really subtle miscompile due to a somewhat glaring bug in EFLAGS copy lowering.

svn commit: r337585 - head/lib/libgcc_eh

2018-08-10 Thread Dimitry Andric
Author: dim Date: Fri Aug 10 19:57:55 2018 New Revision: 337585 URL: https://svnweb.freebsd.org/changeset/base/337585 Log: In r308100, an explicit -fexceptions flag was added for the C sources from LLVM's libunwind, which end up in libgcc_eh.a and libgcc_s.so. This is because the unwinder

svn commit: r337552 - in head: lib/clang lib/clang/include/llvm/Config lib/clang/libllvm share/man/man5 share/mk tools/build/options

2018-08-09 Thread Dimitry Andric
Author: dim Date: Thu Aug 9 21:28:31 2018 New Revision: 337552 URL: https://svnweb.freebsd.org/changeset/base/337552 Log: Add optional LLVM BPF target support BPF (eBPF) is an independent instruction set architecture which is introduced in Linux a few years ago. Originally, eBPF execute

svn commit: r337322 - head/sys/dev/hyperv/pcib

2018-08-04 Thread Dimitry Andric
Author: dim Date: Sat Aug 4 14:57:23 2018 New Revision: 337322 URL: https://svnweb.freebsd.org/changeset/base/337322 Log: Fix build of hyperv with base gcc on i386 Summary: Base gcc fails to compile `sys/dev/hyperv/pcib/vmbus_pcib.c` for i386, with the following -Werror warnings:

svn commit: r336717 - head

2018-07-25 Thread Dimitry Andric
Author: dim Date: Wed Jul 25 17:14:05 2018 New Revision: 336717 URL: https://svnweb.freebsd.org/changeset/base/336717 Log: Add a few forgotten files to ObsoleteFiles.inc: * libcasper.so.0, which started in /usr/lib, then moved to /lib, but was later replaced by libcasper.so.1 * 32-bit

svn commit: r336563 - in head/lib/msun: . ld80 man src

2018-07-20 Thread Dimitry Andric
Author: dim Date: Fri Jul 20 18:27:30 2018 New Revision: 336563 URL: https://svnweb.freebsd.org/changeset/base/336563 Log: Recommit r336497: Fix powl, cpow, cpowf, and cpowl imports from OpenBSD This is a follow-up to r336299. * lib/msun/Makefile: . Remove polevll.c *

svn commit: r336500 - in head/lib/msun: . ld80 man src

2018-07-19 Thread Dimitry Andric
Author: dim Date: Thu Jul 19 19:07:25 2018 New Revision: 336500 URL: https://svnweb.freebsd.org/changeset/base/336500 Log: Revert r336497 for now, as it breaks on architectures using gcc, with: cc1: warnings being treated as errors /usr/src/lib/msun/src/s_cpow.c: In function 'cpow':

svn commit: r336497 - in head/lib/msun: . ld80 man src

2018-07-19 Thread Dimitry Andric
Author: dim Date: Thu Jul 19 18:44:10 2018 New Revision: 336497 URL: https://svnweb.freebsd.org/changeset/base/336497 Log: Fix powl, cpow, cpowf, and cpowl imports from OpenBSD This is a follow-up to r336299. * lib/msun/Makefile: . Remove polevll.c * lib/msun/ld80/e_powl.c:

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

2018-07-12 Thread Dimitry Andric
Author: dim Date: Thu Jul 12 19:02:59 2018 New Revision: 336227 URL: https://svnweb.freebsd.org/changeset/base/336227 Log: Pull in r336008 from upstream clang trunk: Request init/fini array on FreeBSD 12 and later Summary: It seems a bad idea to change the default in the

Re: svn commit: r335888 - in head: contrib/blacklist/bin lib/libpjdlog sbin/hastd

2018-07-04 Thread Dimitry Andric
On 5 Jul 2018, at 04:25, Ed Maste wrote: > > On 4 July 2018 at 20:55, Eitan Adler wrote: >> On Tue, 3 Jul 2018 at 08:22, John Baldwin wrote: >>> >> since GCC usually breaks >>> them. >> >> Could you explain what you mean or point to a prior conversation? >> > I'm not sure if there's a

Re: svn commit: r335813 [ broke ci.freebsd.org 's FreeBSD-head-{aarch64,amd64,i386}-build ]

2018-07-01 Thread Dimitry Andric
On 30 Jun 2018, at 15:58, Dimitry Andric wrote: > > On 30 Jun 2018, at 15:22, Mark Millard wrote: >> >> https://ci.freebsd.org/job/FreeBSD-head-aarch64-build/8358/consoleText >> >> --- all_subdir_armv8crypto --- >> /usr/src/sys/crypto/armv8/ar

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