Re: svn commit: r358655 - head/sbin/mount_nfs

2020-03-05 Thread Dimitry Andric
On 5 Mar 2020, at 18:44, Gleb Smirnoff wrote: > > On Thu, Mar 05, 2020 at 08:35:15PM +0300, Slawa Olhovchenkov wrote: > S> > > D> sbin/mount_nfs/mount_nfs.c:549:10: error: cast from 'char *' to > 'struct > S> > > D> if_msghdr *' increases required alignment from 1 to 4 > S> > > D>

svn commit: r358677 - head

2020-03-05 Thread Dimitry Andric
Author: dim Date: Thu Mar 5 17:53:38 2020 New Revision: 358677 URL: https://svnweb.freebsd.org/changeset/base/358677 Log: Remove duplicate usr/libexec/cc1plus entry from ObsoleteFiles.inc. Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc

Re: svn commit: r358655 - head/sbin/mount_nfs

2020-03-05 Thread Dimitry Andric
On 2020-03-04 23:27, Gleb Smirnoff wrote: Author: glebius Date: Wed Mar 4 22:27:16 2020 New Revision: 358655 URL: https://svnweb.freebsd.org/changeset/base/358655 Log: When a machine boots the NFS mounting script is executed after interfaces are configured, but for many interfaces (e.g.

svn commit: r358643 - in head/stand/i386: . boot2 gptboot gptzfsboot isoboot loader zfsboot

2020-03-04 Thread Dimitry Andric
Author: dim Date: Wed Mar 4 21:01:22 2020 New Revision: 358643 URL: https://svnweb.freebsd.org/changeset/base/358643 Log: Link stand/i386 components using a linker script LLD 10.0.0 changed the behavior of the -Ttext option, so that using -Ttext=0x0 now causes linking of the loaders to

svn commit: r358465 - head/sys/arm64/arm64

2020-02-29 Thread Dimitry Andric
Author: dim Date: Sat Feb 29 14:11:27 2020 New Revision: 358465 URL: https://svnweb.freebsd.org/changeset/base/358465 Log: Fix the following -Werror warning from clang 10.0.0: sys/arm64/arm64/identcpu.c:1170:5: error: misleading indentation; statement is not part of the previous 'if'

svn commit: r358407 - head/sys/arm/arm

2020-02-27 Thread Dimitry Andric
Author: dim Date: Thu Feb 27 19:59:17 2020 New Revision: 358407 URL: https://svnweb.freebsd.org/changeset/base/358407 Log: Merge r358406 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0: sys/arm/arm/identcpu-v6.c:227:5: error: misleading

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

2020-02-22 Thread Dimitry Andric
On 22 Feb 2020, at 20:13, Ian Lepore wrote: > > On Sat, 2020-02-22 at 20:01 +0100, Dimitry Andric wrote: ... >> E.g. this is *not* meant as a way to enforce the program to abort at >> runtime, if the supposedly unreachable part is actually reached. >> >> Fo

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

2020-02-22 Thread Dimitry Andric
On 22 Feb 2020, at 17:44, Mateusz Guzik wrote: > > On 2/22/20, Kyle Evans wrote: >> On Sat, Feb 22, 2020 at 10:25 AM Ian Lepore wrote: >>> >>> On Sat, 2020-02-22 at 16:20 +, Kyle Evans wrote: Author: kevans Date: Sat Feb 22 16:20:04 2020 New Revision: 358248 URL:

svn commit: r358132 - in head: . share/mk

2020-02-19 Thread Dimitry Andric
Author: dim Date: Wed Feb 19 21:12:59 2020 New Revision: 358132 URL: https://svnweb.freebsd.org/changeset/base/358132 Log: Take LINKER_FREEBSD_VERSION from numerical field after dash Summary: With COMPILER_FREEBSD_VERSION, we use a numeric value that we bump each time we make a change

Re: svn commit: r358062 - in head: contrib/ncurses contrib/ncurses/doc contrib/ncurses/doc/html contrib/ncurses/form contrib/ncurses/include contrib/ncurses/man contrib/ncurses/menu contrib/ncurses/mi

2020-02-19 Thread Dimitry Andric
On 2020-02-18 09:11, Baptiste Daroussin wrote: Author: bapt Date: Tue Feb 18 08:11:52 2020 New Revision: 358062 URL: https://svnweb.freebsd.org/changeset/base/358062 Log: Update ncurses to 20200118 Apparently this breaks the gcc builds, because it can't find the function "box" anymore:

svn commit: r358074 - head/sys/arm/allwinner/clkng

2020-02-18 Thread Dimitry Andric
Author: dim Date: Tue Feb 18 17:55:24 2020 New Revision: 358074 URL: https://svnweb.freebsd.org/changeset/base/358074 Log: Fix the following -Werror warning from clang 10.0.0: sys/arm/allwinner/clkng/aw_clk_mipi.c:144:6: error: misleading indentation; statement is not part of the previous

svn commit: r358046 - head/lib/libc/quad

2020-02-17 Thread Dimitry Andric
Author: dim Date: Mon Feb 17 20:24:21 2020 New Revision: 358046 URL: https://svnweb.freebsd.org/changeset/base/358046 Log: Merge r358042 from the clang1000-import branch: Add casts and L suffixes to libc quad support, to work around various -Werror warnings from clang 10.0.0, such as:

svn commit: r358045 - head/sys/powerpc/conf/dpaa

2020-02-17 Thread Dimitry Andric
Author: dim Date: Mon Feb 17 20:23:26 2020 New Revision: 358045 URL: https://svnweb.freebsd.org/changeset/base/358045 Log: Merge r358034 from the clang1000-import branch: Disable new clang 10.0.0 warnings about misleading indentation in sys/contrib/ncsw/Peripherals/FM/fman_ncsw.c.

svn commit: r358044 - head/sys/arm/allwinner

2020-02-17 Thread Dimitry Andric
Author: dim Date: Mon Feb 17 20:22:10 2020 New Revision: 358044 URL: https://svnweb.freebsd.org/changeset/base/358044 Log: Merge r358030 from the clang1000-import branch: Work around new clang 10.0.0 -Werror warning: sys/arm/allwinner/aw_cir.c:208:41: error: converting the result of

Re: svn commit: r357647 - in head/sys: cam/ata cam/mmc cam/nvme cam/scsi dev/aac dev/altera/avgen dev/altera/sdcard dev/amr dev/cfi dev/flash dev/ida dev/ips dev/mfi dev/mlx dev/mmc dev/nvme dev/pst d

2020-02-17 Thread Dimitry Andric
On 7 Feb 2020, at 10:22, Scott Long wrote: > > Author: scottl > Date: Fri Feb 7 09:22:08 2020 > New Revision: 357647 > URL: https://svnweb.freebsd.org/changeset/base/357647 > > Log: > Ever since the block layer expanded its command syntax beyond just > BIO_READ and BIO_WRITE, we've handled

svn commit: r357976 - head/sys/dev/hptmv

2020-02-15 Thread Dimitry Andric
Author: dim Date: Sat Feb 15 19:15:24 2020 New Revision: 357976 URL: https://svnweb.freebsd.org/changeset/base/357976 Log: Merge r357970 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0 in hptmv(4): sys/dev/hptmv/ioctl.c:240:4: error: misleading

svn commit: r357929 - head/etc/mtree

2020-02-14 Thread Dimitry Andric
Author: dim Date: Fri Feb 14 19:31:24 2020 New Revision: 357929 URL: https://svnweb.freebsd.org/changeset/base/357929 Log: Remove /usr/include/ssp from BSD.include.dist after r356356 This avoids having to delete it every time with "make delete-old". PR: 242950 MFC after:

svn commit: r357874 - in head/sys: conf modules/ce modules/cp

2020-02-13 Thread Dimitry Andric
Author: dim Date: Thu Feb 13 19:29:57 2020 New Revision: 357874 URL: https://svnweb.freebsd.org/changeset/base/357874 Log: Merge r357872 from the clang1000-import branch: Disable new clang 10.0.0 warnings about misleading indentation in ce(4) and cp(4). These are false positives,

svn commit: r357873 - head/sbin/sconfig

2020-02-13 Thread Dimitry Andric
Author: dim Date: Thu Feb 13 19:28:30 2020 New Revision: 357873 URL: https://svnweb.freebsd.org/changeset/base/357873 Log: Merge r357864 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0 in sconfig: sbin/sconfig/sconfig.c:909:5: error: misleading

svn commit: r357854 - head

2020-02-13 Thread Dimitry Andric
Author: dim Date: Thu Feb 13 11:00:20 2020 New Revision: 357854 URL: https://svnweb.freebsd.org/changeset/base/357854 Log: Cleanup gsched tool and geom_sched.so library after r356185. Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc

svn commit: r357847 - head

2020-02-12 Thread Dimitry Andric
Author: dim Date: Wed Feb 12 23:54:38 2020 New Revision: 357847 URL: https://svnweb.freebsd.org/changeset/base/357847 Log: Fix typo introduced with r347534 (cap_sysctl additions). This ensures the old libcap_sysctl.so.1 gets cleaned up when running "make delete-old-libs". Modified:

svn commit: r357661 - head/share/mk

2020-02-07 Thread Dimitry Andric
Author: dim Date: Fri Feb 7 19:04:27 2020 New Revision: 357661 URL: https://svnweb.freebsd.org/changeset/base/357661 Log: Correctly recognize linker versions greater than 10.0. MFC after:3 days Modified: head/share/mk/bsd.linker.mk Modified: head/share/mk/bsd.linker.mk

svn commit: r357388 - head/sys/dev/tpm

2020-02-01 Thread Dimitry Andric
Author: dim Date: Sat Feb 1 21:43:45 2020 New Revision: 357388 URL: https://svnweb.freebsd.org/changeset/base/357388 Log: Amend r357367 by using register values from the TPM datasheet. As Ian Lepore noted, writing ~1 to a register might have a completely different effect than doing a

Re: svn commit: r357349 - in head/sys: conf modules/tpm

2020-02-01 Thread Dimitry Andric
On 1 Feb 2020, at 18:55, Ian Lepore wrote: > > On Fri, 2020-01-31 at 19:36 +, Dimitry Andric wrote: >> Author: dim >> Date: Fri Jan 31 19:36:14 2020 >> New Revision: 357349 >> URL: https://svnweb.freebsd.org/changeset/base/357349 >> >> Log: >

Re: svn commit: r357349 - in head/sys: conf modules/tpm

2020-02-01 Thread Dimitry Andric
On 1 Feb 2020, at 18:48, Ian Lepore wrote: > > On Fri, 2020-01-31 at 23:36 +0100, Dimitry Andric wrote: >> Hmm yes, you are quite right. Other parts of the code also seem to >> use ~TPM_XXX, and the WR4() inline function called takes a >> uint32_t. I'll revert my ch

svn commit: r357367 - head/sys/dev/tpm

2020-02-01 Thread Dimitry Andric
Author: dim Date: Sat Feb 1 17:02:26 2020 New Revision: 357367 URL: https://svnweb.freebsd.org/changeset/base/357367 Log: Fix new clang 10.0.0 warnings about converting the result of shift operations to a boolean in tpm(4): sys/dev/tpm/tpm_crb.c:301:32: error: converting the result of

svn commit: r357366 - in head/sys: conf modules/tpm

2020-02-01 Thread Dimitry Andric
Author: dim Date: Sat Feb 1 16:57:04 2020 New Revision: 357366 URL: https://svnweb.freebsd.org/changeset/base/357366 Log: Revert r357349, since the clang 10.0.0 warning was actually correct, and the ! operator should have been a ~ instead: Merge r357348 from the clang 10.0.0 import

Re: svn commit: r357349 - in head/sys: conf modules/tpm

2020-01-31 Thread Dimitry Andric
bit only because CANCEL_CMD is BIT(0). > > Thanks, > Conrad > > On Fri, Jan 31, 2020 at 11:36 AM Dimitry Andric wrote: >> >> Author: dim >> Date: Fri Jan 31 19:36:14 2020 >> New Revision: 357349 >> URL: https://svnweb.freebsd.org/chang

svn commit: r357349 - in head/sys: conf modules/tpm

2020-01-31 Thread Dimitry Andric
Author: dim Date: Fri Jan 31 19:36:14 2020 New Revision: 357349 URL: https://svnweb.freebsd.org/changeset/base/357349 Log: Merge r357348 from the clang 10.0.0 import branch: Disable new clang 10.0.0 warnings about converting the result of shift operations to a boolean in tpm(4):

svn commit: r357347 - in head: share/mk usr.bin/lex

2020-01-31 Thread Dimitry Andric
Author: dim Date: Fri Jan 31 19:06:49 2020 New Revision: 357347 URL: https://svnweb.freebsd.org/changeset/base/357347 Log: Merge r357345 from the clang1000-import branch: Disable new clang 10.0.0 warnings about misleading indentation in flex. As this is contributed code with very

svn commit: r357346 - head/share/mk

2020-01-31 Thread Dimitry Andric
Author: dim Date: Fri Jan 31 19:06:01 2020 New Revision: 357346 URL: https://svnweb.freebsd.org/changeset/base/357346 Log: Merge r357342 from the clang1000-import branch: Work around two -Werror warning issues in googletest, which have been solved upstream in the mean time. The

svn commit: r357340 - head/usr.sbin/bsnmpd/modules/snmp_pf

2020-01-31 Thread Dimitry Andric
Author: dim Date: Fri Jan 31 18:13:00 2020 New Revision: 357340 URL: https://svnweb.freebsd.org/changeset/base/357340 Log: Merge r357339 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0 in bsnmpd: usr.sbin/bsnmpd/modules/snmp_pf/pf_snmp.c:1661:4:

svn commit: r357272 - head/usr.sbin/bsnmpd/modules/snmp_bridge

2020-01-29 Thread Dimitry Andric
Author: dim Date: Wed Jan 29 21:41:45 2020 New Revision: 357272 URL: https://svnweb.freebsd.org/changeset/base/357272 Log: Merge r357271 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0 in bsnmpd:

svn commit: r357269 - head/usr.bin/tip/tip

2020-01-29 Thread Dimitry Andric
Author: dim Date: Wed Jan 29 21:07:46 2020 New Revision: 357269 URL: https://svnweb.freebsd.org/changeset/base/357269 Log: Merge r357267 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0 in tip: usr.bin/tip/tip/tip.c:428:4: error: misleading

svn commit: r357268 - head/usr.bin/procstat

2020-01-29 Thread Dimitry Andric
Author: dim Date: Wed Jan 29 21:06:22 2020 New Revision: 357268 URL: https://svnweb.freebsd.org/changeset/base/357268 Log: Merge r357260 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0 in procstat: usr.bin/procstat/procstat_sigs.c:79:3: error:

svn commit: r357232 - head/stand/i386/gptboot

2020-01-28 Thread Dimitry Andric
Author: dim Date: Tue Jan 28 21:46:59 2020 New Revision: 357232 URL: https://svnweb.freebsd.org/changeset/base/357232 Log: Merge r357231 from the clang1000-import branch: Work around assembler error from clang 10.0.0 in gptboot: stand/i386/gptboot/gptldr.S:141:3: error: value of 36878

svn commit: r357227 - head/sbin/newfs_msdos

2020-01-28 Thread Dimitry Andric
Author: dim Date: Tue Jan 28 20:12:29 2020 New Revision: 357227 URL: https://svnweb.freebsd.org/changeset/base/357227 Log: Merge r357225 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0 in newfs_msdos: sbin/newfs_msdos/newfs_msdos.c:181:2: error:

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

2020-01-28 Thread Dimitry Andric
Author: dim Date: Tue Jan 28 20:11:27 2020 New Revision: 357226 URL: https://svnweb.freebsd.org/changeset/base/357226 Log: Merge r357224 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0 in binutils: contrib/binutils/bfd/peicode.h:1356:3: error:

svn commit: r357223 - head/libexec/rbootd

2020-01-28 Thread Dimitry Andric
Author: dim Date: Tue Jan 28 20:05:25 2020 New Revision: 357223 URL: https://svnweb.freebsd.org/changeset/base/357223 Log: Merge r357222 from the clang1000-import branch: Fix the following -Werror warning from clang 10.0.0 in rbootd: libexec/rbootd/rmpproto.c:335:49: error: multiple

svn commit: r356930 - in head/contrib/llvm-project: clang compiler-rt libcxx libunwind lld lldb llvm openmp

2020-01-20 Thread Dimitry Andric
Author: dim Date: Mon Jan 20 20:26:04 2020 New Revision: 356930 URL: https://svnweb.freebsd.org/changeset/base/356930 Log: Add more Subversion mergeinfo bootstrap information, to hopefully increase the probability of merging in vendor changes. Modified: Directory Properties:

svn commit: r356929 - in head/contrib/llvm-project: clang/lib/Basic/Targets clang/lib/Driver/ToolChains/Arch llvm/include/llvm/ADT llvm/lib/Support llvm/lib/Target/PowerPC

2020-01-20 Thread Dimitry Andric
Author: dim Date: Mon Jan 20 20:10:28 2020 New Revision: 356929 URL: https://svnweb.freebsd.org/changeset/base/356929 Log: Merge commit bc4bc5aa0 from llvm git (by Justin Hibbits): Add 8548 CPU definition and attributes 8548 CPU is GCC's name for the e500v2, so accept this in

Re: svn commit: r356832 - head/lib/libc/gen

2020-01-17 Thread Dimitry Andric
On 17 Jan 2020, at 16:45, Mateusz Guzik wrote: > > Author: mjg > Date: Fri Jan 17 15:45:39 2020 > New Revision: 356832 > URL: https://svnweb.freebsd.org/changeset/base/356832 > > Log: > libc: fix build after r356830 > > Apparently building with 'cd lib/libc; make all install' is not the same

svn commit: r356701 - head/contrib/llvm-project/llvm/lib/Target/Mips

2020-01-13 Thread Dimitry Andric
Author: dim Date: Mon Jan 13 20:31:10 2020 New Revision: 356701 URL: https://svnweb.freebsd.org/changeset/base/356701 Log: Merge commit f46ba4f07 from llvm git (by Simon Atanasyan): [mips] Use less registers to load address of TargetExternalSymbol There is no pattern matched `add

svn commit: r356333 - head/contrib/llvm-project/lld/ELF/Arch

2020-01-03 Thread Dimitry Andric
Author: dim Date: Fri Jan 3 20:29:54 2020 New Revision: 356333 URL: https://svnweb.freebsd.org/changeset/base/356333 Log: Merge commit 189b7393d from llvm git (by John Baldwin): [lld][RISCV] Use an e_flags of 0 if there are only binary input files. Summary: If none of the

svn commit: r356332 - head/contrib/llvm-project/llvm/lib/Target/RISCV

2020-01-03 Thread Dimitry Andric
Author: dim Date: Fri Jan 3 20:28:06 2020 New Revision: 356332 URL: https://svnweb.freebsd.org/changeset/base/356332 Log: Merge commit d7be3eab5 from llvm git (by Luís Marques): [RISCV] Handle fcopysign(f32, f64) and fcopysign(f64, f32) Summary: Adds tablegen patterns to

svn commit: r356331 - head/contrib/llvm-project/llvm/lib/Target/RISCV

2020-01-03 Thread Dimitry Andric
Author: dim Date: Fri Jan 3 20:19:17 2020 New Revision: 356331 URL: https://svnweb.freebsd.org/changeset/base/356331 Log: Merge commit c6b09bff5 from llvm git (by Luís Marques): [RISCV] Fix wrong CFI directives Summary: Removes CFI CFA directives that could incorrectly propagate

svn commit: r356330 - head/contrib/llvm-project/llvm/lib/Target/RISCV

2020-01-03 Thread Dimitry Andric
Author: dim Date: Fri Jan 3 20:11:40 2020 New Revision: 356330 URL: https://svnweb.freebsd.org/changeset/base/356330 Log: Merge commit da7b129b1 from llvm git (by James Clarke): [RISCV] Don't force Local Exec TLS for non-PIC Summary: Forcing Local Exec TLS requires the use

svn commit: r356329 - head/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc

2020-01-03 Thread Dimitry Andric
Author: dim Date: Fri Jan 3 20:09:38 2020 New Revision: 356329 URL: https://svnweb.freebsd.org/changeset/base/356329 Log: Merge commit 41449c58c from llvm git (by Roger Ferrer Ibanez): [RISCV] Fix evaluation of %pcrel_lo The following testcase function:

svn commit: r356256 - head/contrib/llvm-project/llvm/lib/Target/X86

2020-01-01 Thread Dimitry Andric
Author: dim Date: Wed Jan 1 19:45:00 2020 New Revision: 356256 URL: https://svnweb.freebsd.org/changeset/base/356256 Log: Merge commit 468a0cb5f from llvm git (by Craig Topper): [X86] Add X87 FCMOV support to X86FlagsCopyLowering. Fixes PR44396 Merge commit 86f48999f from

svn commit: r356100 - head/contrib/llvm-project/llvm/lib/Target/PowerPC

2019-12-26 Thread Dimitry Andric
Author: dim Date: Thu Dec 26 21:20:45 2019 New Revision: 356100 URL: https://svnweb.freebsd.org/changeset/base/356100 Log: Merge commit d3aeac8e2 from llvm git (by Justin Hibbits) [PowerPC] Only use PLT annotations if using PIC relocation model Summary: The default static

svn commit: r356005 - in head/contrib/llvm-project/libcxx/include: . ext

2019-12-22 Thread Dimitry Andric
Author: dim Date: Sun Dec 22 11:58:44 2019 New Revision: 356005 URL: https://svnweb.freebsd.org/changeset/base/356005 Log: Merge commit f97936fab from llvm git (by Eric Fiselier): [libc++] Cleanup and enable multiple warnings. Too many warnings are being disabled too quickly.

svn commit: r356004 - in head: . contrib/llvm-project/clang/include/clang/CodeGen contrib/llvm-project/clang/lib/Basic/Targets contrib/llvm-project/clang/lib/CodeGen contrib/llvm-project/clang/lib/...

2019-12-22 Thread Dimitry Andric
Author: dim Date: Sun Dec 22 11:50:44 2019 New Revision: 356004 URL: https://svnweb.freebsd.org/changeset/base/356004 Log: Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp 9.0.1 final release c1a0a213378a458fbea1a5c77b315c7dce08fd05. Release notes for llvm, clang,

svn commit: r355959 - in head/contrib/llvm-project: . clang compiler-rt libcxx libunwind lld lldb llvm openmp

2019-12-20 Thread Dimitry Andric
Author: dim Date: Fri Dec 20 21:42:10 2019 New Revision: 355959 URL: https://svnweb.freebsd.org/changeset/base/355959 Log: Consolidate FREEBSD-Xlist files of different llvm sub-projects into one. Added: head/contrib/llvm-project/FREEBSD-Xlist (contents, props changed) Deleted:

svn commit: r355957 - head/contrib/llvm-project/clang/lib/Basic

2019-12-20 Thread Dimitry Andric
Author: dim Date: Fri Dec 20 21:33:12 2019 New Revision: 355957 URL: https://svnweb.freebsd.org/changeset/base/355957 Log: Merge diff elimination updates from r355953 into vendor/llvm-project. Modified: head/contrib/llvm-project/clang/lib/Basic/Version.cpp Directory Properties:

svn commit: r355951 - head/contrib/llvm-project/llvm/lib/Target/WebAssembly/InstPrinter

2019-12-20 Thread Dimitry Andric
Author: dim Date: Fri Dec 20 21:18:34 2019 New Revision: 355951 URL: https://svnweb.freebsd.org/changeset/base/355951 Log: Merge empty dir updates from r355950 in vendor/llvm-project. Deleted: head/contrib/llvm-project/llvm/lib/Target/WebAssembly/InstPrinter/ Modified: Directory Properties:

svn commit: r355948 - in head/contrib/llvm-project: . clang compiler-rt libcxx libunwind lld lldb llvm openmp

2019-12-20 Thread Dimitry Andric
Author: dim Date: Fri Dec 20 20:58:13 2019 New Revision: 355948 URL: https://svnweb.freebsd.org/changeset/base/355948 Log: Bootstrap mergeinfo for contrib/llvm-project Merge (record-only) the following paths to contrib/llvm-project: * ^/vendor/llvm-project/master *

svn commit: r355940 - in head: . contrib/compiler-rt contrib/libc++ contrib/libunwind contrib/llvm contrib/llvm-project/clang contrib/llvm-project/compiler-rt contrib/llvm-project/libcxx contrib/ll...

2019-12-20 Thread Dimitry Andric
Author: dim Date: Fri Dec 20 19:53:05 2019 New Revision: 355940 URL: https://svnweb.freebsd.org/changeset/base/355940 Log: Move all sources from the llvm project into contrib/llvm-project. This uses the new layout of the upstream repository, which was recently migrated to GitHub, and

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

2019-12-10 Thread Dimitry Andric
Author: dim Date: Tue Dec 10 22:10:25 2019 New Revision: 355602 URL: https://svnweb.freebsd.org/changeset/base/355602 Log: Add a few missed source files to libllvm, for the MK_LLVM_TARGET_BPF=yes case. Otherwise, linking of clang and other llvm based executables would complain about

svn commit: r355568 - in head: include sys/sys

2019-12-09 Thread Dimitry Andric
Author: dim Date: Mon Dec 9 19:17:56 2019 New Revision: 355568 URL: https://svnweb.freebsd.org/changeset/base/355568 Log: Correctly check for C++17 and higher when declaring timespec_get() Summary: In rS338751, the check to declare `timespec_get()` for C++17 and higher was incorrectly

svn commit: r355397 - head/contrib/llvm/lib/Target/PowerPC

2019-12-04 Thread Dimitry Andric
Author: dim Date: Wed Dec 4 18:38:50 2019 New Revision: 355397 URL: https://svnweb.freebsd.org/changeset/base/355397 Log: Merge commit 241cbf201 from llvm git (by Nemanja Ivanovic): [PowerPC] Fix crash in peephole optimization When converting reg+reg shifts to reg+imm rotates,

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

2019-11-26 Thread Dimitry Andric
Author: dim Date: Tue Nov 26 22:01:09 2019 New Revision: 355120 URL: https://svnweb.freebsd.org/changeset/base/355120 Log: The fdlibm hypot() implementations shouldn't potentially left-shift negative numbers (invoking undefined behavior) Summary: Various paths through hypot(x, y) will

svn commit: r355034 - in head: lib lib/libclang_rt tools/build/mk

2019-11-23 Thread Dimitry Andric
Author: dim Date: Sat Nov 23 19:35:09 2019 New Revision: 355034 URL: https://svnweb.freebsd.org/changeset/base/355034 Log: libclang_rt: enable on powerpc* Summary: Enable on powerpc64 and in lib/libclang_rt/Makefile change MACHINE_CPUARCH to MACHINE_ARCH because on powerpc64

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

2019-11-21 Thread Dimitry Andric
Author: dim Date: Thu Nov 21 20:36:46 2019 New Revision: 354985 URL: https://svnweb.freebsd.org/changeset/base/354985 Log: Merge commit a751f557d from llvm git (by Simon Atanasyan): [mips] Set macros for Octeon+ CPU This is one of the upstream changes needed for adding support for

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

2019-11-21 Thread Dimitry Andric
Author: dim Date: Thu Nov 21 20:35:53 2019 New Revision: 354984 URL: https://svnweb.freebsd.org/changeset/base/354984 Log: Merge commit 0d14656b9 from llvm git (by Simon Atanasyan): [mips] Set __OCTEON__ macros This is one of the upstream changes needed for adding support for the

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

2019-11-21 Thread Dimitry Andric
Author: dim Date: Thu Nov 21 20:32:34 2019 New Revision: 354983 URL: https://svnweb.freebsd.org/changeset/base/354983 Log: Merge commit e578d0fd2 from llvm git (by Simon Atanasyan): [mips] Fix `__mips_isa_rev` macros value for Octeon CPU This is one of the upstream changes needed

svn commit: r354982 - in head/contrib/llvm/tools/clang/lib: Basic/Targets Driver/ToolChains

2019-11-21 Thread Dimitry Andric
Author: dim Date: Thu Nov 21 20:26:34 2019 New Revision: 354982 URL: https://svnweb.freebsd.org/changeset/base/354982 Log: Merge commit 3552d3e0f from llvm git (by Simon Atanasyan): [mips] Add `octeon+` to the list of CPUs accepted by the driver This is one of the upstream changes

svn commit: r354981 - head/contrib/llvm/lib/Target/Mips/MCTargetDesc

2019-11-21 Thread Dimitry Andric
Author: dim Date: Thu Nov 21 20:25:12 2019 New Revision: 354981 URL: https://svnweb.freebsd.org/changeset/base/354981 Log: Merge commit bf996f761 from llvm git (by Simon Atanasyan): [mips] Write `AFL_EXT_OCTEONP` flag to the `.MIPS.abiflags` section Differential Revision:

svn commit: r354980 - head/contrib/llvm/lib/Target/Mips/AsmParser

2019-11-21 Thread Dimitry Andric
Author: dim Date: Thu Nov 21 20:23:35 2019 New Revision: 354980 URL: https://svnweb.freebsd.org/changeset/base/354980 Log: Merge commit 3718102d4 from llvm git (by Simon Atanasyan): [mips] Support `octeon+` CPU in the `.set arch=` directive Differential Revision:

svn commit: r354979 - in head/contrib/llvm/lib/Target/Mips: . AsmParser Disassembler

2019-11-21 Thread Dimitry Andric
Author: dim Date: Thu Nov 21 20:22:07 2019 New Revision: 354979 URL: https://svnweb.freebsd.org/changeset/base/354979 Log: Merge commit 7bed381ea from llvm git (by Simon Atanasyan): [mips] Implement Octeon+ `saa` and `saad` instructions `saa` and `saad` are 32-bit and 64-bit store

Re: svn commit: r354900 - head/usr.sbin/jail

2019-11-20 Thread Dimitry Andric
On 21 Nov 2019, at 01:44, John Baldwin wrote: > > On 11/20/19 3:42 PM, Bjoern A. Zeeb wrote: >> On 20 Nov 2019, at 23:32, John Baldwin wrote: ... >> You can however find more of these elsewhere: >> >> ../lib/libc/tests/sys/Makefile:.if ${MACHINE_CPUARCH} != "aarch64" && >> ${MACHINE_CPUARCH} !=

svn commit: r354910 - head

2019-11-20 Thread Dimitry Andric
Author: dim Date: Wed Nov 20 19:07:08 2019 New Revision: 354910 URL: https://svnweb.freebsd.org/changeset/base/354910 Log: Fix typo: deprected -> deprecated. Modified: head/UPDATING Modified: head/UPDATING == ---

svn commit: r354908 - in head/lib/clang: libclang libllvm libllvmminimal

2019-11-20 Thread Dimitry Andric
Author: dim Date: Wed Nov 20 18:12:01 2019 New Revision: 354908 URL: https://svnweb.freebsd.org/changeset/base/354908 Log: Add explanatory comments for the different SRCS_xxx variables used in the Makefiles for libllvm and libclang. While here, cleanup a commented out SRCS entry in

svn commit: r354724 - head/contrib/llvm/lib/Transforms/InstCombine

2019-11-14 Thread Dimitry Andric
Author: dim Date: Fri Nov 15 06:56:25 2019 New Revision: 354724 URL: https://svnweb.freebsd.org/changeset/base/354724 Log: Merge commit 5bbb604bb from llvm git (by Craig Topper): [InstCombine] Disable some portions of foldGEPICmp for GEPs that return a vector of pointers. Fix other

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

2019-11-11 Thread Dimitry Andric
Author: dim Date: Mon Nov 11 17:41:56 2019 New Revision: 354625 URL: https://svnweb.freebsd.org/changeset/base/354625 Log: Merge commit 371ea70bb from llvm git (by Louis Dionne): [libc++] Harden usage of static_assert against C++03 In C++03, we emulate static_assert with a macro,

svn commit: r354469 - in head/contrib/llvm: include/llvm/DebugInfo/DWARF include/llvm/MC lib/DebugInfo/DWARF lib/MC lib/Object lib/Target/RISCV lib/Target/RISCV/AsmParser lib/Target/RISCV/MCTargetD...

2019-11-07 Thread Dimitry Andric
Author: dim Date: Thu Nov 7 19:54:08 2019 New Revision: 354469 URL: https://svnweb.freebsd.org/changeset/base/354469 Log: Merge commit f596f4507 from llvm git (by Sam Elliott): [RISCV] Add Custom Parser for Atomic Memory Operands Summary: GCC Accepts both (reg) and 0(reg) for

svn commit: r354460 - in head: contrib/libc++/include sys/sys

2019-11-07 Thread Dimitry Andric
Author: dim Date: Thu Nov 7 18:26:01 2019 New Revision: 354460 URL: https://svnweb.freebsd.org/changeset/base/354460 Log: Merge commit e8316372b from llvm git (by Louis Dionne): [libc++] Add `__truncating_cast` for safely casting float types to integers This is needed anytime

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

2019-11-06 Thread Dimitry Andric
Author: dim Date: Thu Nov 7 06:59:09 2019 New Revision: 354429 URL: https://svnweb.freebsd.org/changeset/base/354429 Log: Merge commit 8e34dd941 from llvm git (by Sanjay Patel): [x86] avoid crashing when splitting AVX stores with non-simple type (PR43916) The store splitting

svn commit: r354339 - head/contrib/llvm/lib/Target/PowerPC

2019-11-04 Thread Dimitry Andric
Author: dim Date: Mon Nov 4 19:38:07 2019 New Revision: 354339 URL: https://svnweb.freebsd.org/changeset/base/354339 Log: Merge commit 97e362607 from llvm git (by Nemanja Ivanovic): [PowerPC] Do not emit HW loop if the body contains calls to lrint/lround These two intrinsics

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

2019-11-02 Thread Dimitry Andric
Author: dim Date: Sat Nov 2 16:59:53 2019 New Revision: 354255 URL: https://svnweb.freebsd.org/changeset/base/354255 Log: Add __isnan()/__isnanf() aliases for compatibility with glibc and CUDA Even though clang comes with a number of internal CUDA wrapper headers, compiling sample CUDA

svn commit: r354146 - head/contrib/llvm/lib/TableGen

2019-10-29 Thread Dimitry Andric
Author: dim Date: Tue Oct 29 16:51:12 2019 New Revision: 354146 URL: https://svnweb.freebsd.org/changeset/base/354146 Log: Pull in r373338 from upstream llvm trunk (by Simon Pilgrim): Revert rL349624 : Let TableGen write output only if it changed, instead of doing so in cmake,

Re: svn commit: r353937 - in head/share: man/man5 mk

2019-10-29 Thread Dimitry Andric
On 27 Oct 2019, at 17:59, Alexey Dokuchaev wrote: > > On Sat, Oct 26, 2019 at 04:34:14PM +0200, Dimitry Andric wrote: ... >> I only tested -j24 on a 32-core system, but I could probably repeat the >> experiment with lower and higher -j values: [...] >> >> So ~2.3%

Re: svn commit: r353937 - in head/share: man/man5 mk

2019-10-26 Thread Dimitry Andric
> On 24 Oct 2019, at 14:49, Alexey Dokuchaev wrote: > > On Wed, Oct 23, 2019 at 11:31:41AM -0700, Enji Cooper wrote: >>> On Oct 23, 2019, at 10:02, Dimitry Andric wrote: >>> New Revision: 353937 >>> URL: https://svnweb.freebsd.org/changeset/base/3539

svn commit: r354097 - in head/contrib/llvm: lib/Object lib/Support lib/Target/ARM lib/Target/ARM/AsmParser lib/Target/ARM/MCTargetDesc tools/clang/lib/Basic/Targets tools/clang/lib/Driver/ToolChain...

2019-10-25 Thread Dimitry Andric
Author: dim Date: Fri Oct 25 21:00:49 2019 New Revision: 354097 URL: https://svnweb.freebsd.org/changeset/base/354097 Log: Pull in r372186 from upstream llvm trunk (by Eli Friedman): [ARM] VFPv2 only supports 16 D registers. r361845 changed the way we handle "D16" vs. "D32"

svn commit: r353937 - in head/share: man/man5 mk

2019-10-23 Thread Dimitry Andric
Author: dim Date: Wed Oct 23 17:02:45 2019 New Revision: 353937 URL: https://svnweb.freebsd.org/changeset/base/353937 Log: Build toolchain components as dynamically linked executables by default Summary: Historically, we have built toolchain components such as cc, ld, etc as statically

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

2019-10-23 Thread Dimitry Andric
Author: dim Date: Wed Oct 23 16:57:11 2019 New Revision: 353936 URL: https://svnweb.freebsd.org/changeset/base/353936 Log: Bump clang's default target CPU for the i386 architecture (aka "x86") to i686, as per the discussion on the freebsd-arch mailing list. Earlier in r352030, I had

svn commit: r353933 - in head: share/man/man5 tools/build/options

2019-10-23 Thread Dimitry Andric
Author: dim Date: Wed Oct 23 16:48:17 2019 New Revision: 353933 URL: https://svnweb.freebsd.org/changeset/base/353933 Log: Slightly expand description of WITH_SHARED_TOOLCHAIN, add a corresponding WITHOUT_SHARED_TOOLCHAIN description, and regenerate src.conf(5). MFC after: 3 days

svn commit: r353739 - in head/contrib/llvm/tools/clang/lib/Driver/ToolChains: . Arch

2019-10-18 Thread Dimitry Andric
Author: dim Date: Fri Oct 18 20:05:27 2019 New Revision: 353739 URL: https://svnweb.freebsd.org/changeset/base/353739 Log: Pull in r374154 from upstream clang trunk (by Simon Atanasyan): [mips] Set default float ABI to "soft" on FreeBSD Initial patch by Kyle Evans. Fix

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

2019-10-18 Thread Dimitry Andric
Author: dim Date: Fri Oct 18 20:02:46 2019 New Revision: 353738 URL: https://svnweb.freebsd.org/changeset/base/353738 Log: Pull in r372651 from upstream lld trunk (by Simon Atanasyan): [mips] Support elf32btsmipn32_fbsd / elf32ltsmipn32_fbsd emulations Patch by Kyle Evans.

svn commit: r353737 - head/tools/build/options

2019-10-18 Thread Dimitry Andric
Author: dim Date: Fri Oct 18 19:30:12 2019 New Revision: 353737 URL: https://svnweb.freebsd.org/changeset/base/353737 Log: Provide a src.conf(5) description for the new WITHOUT_CAROOT option, and rename the WITH_LOADER_VERIEXEC_PASS_MANFIEST description to its correct name. Also correct a

svn commit: r353655 - head/usr.bin/clang/lld

2019-10-16 Thread Dimitry Andric
Author: dim Date: Wed Oct 16 17:11:18 2019 New Revision: 353655 URL: https://svnweb.freebsd.org/changeset/base/353655 Log: Ensure lld respects the WITH/WITHOUT_SHARED_TOOLCHAIN option Traditionally, toolchain components such as cc, as, and ld have been built as static executables. The

Re: svn commit: r353408 - head

2019-10-11 Thread Dimitry Andric
On 11 Oct 2019, at 08:24, Andriy Gapon wrote: > > On 11/10/2019 09:07, Conrad Meyer wrote: >> Fwiw, this doesn’t seem to fix the NO_CLEAN build for amd64-xtoolchain-gcc. > > Does a clean build work for that configuration? > I looked at one of CI builds and it had this: > In file included from

svn commit: r353416 - head/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD

2019-10-10 Thread Dimitry Andric
Author: dim Date: Thu Oct 10 20:33:55 2019 New Revision: 353416 URL: https://svnweb.freebsd.org/changeset/base/353416 Log: Pull in r37 from upstream lldb trunk (by me): Fix process launch failure on FreeBSD after r365761 Summary: After rLLDB365761, and with

svn commit: r353415 - head/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD

2019-10-10 Thread Dimitry Andric
Author: dim Date: Thu Oct 10 20:30:54 2019 New Revision: 353415 URL: https://svnweb.freebsd.org/changeset/base/353415 Log: Revert r353363 in preparation for applying upstream fix: Put in a band-aid fix for lldb 9 exiting with "Expected must be checked before access or destruction" when

svn commit: r353363 - head/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD

2019-10-09 Thread Dimitry Andric
Author: dim Date: Wed Oct 9 19:51:41 2019 New Revision: 353363 URL: https://svnweb.freebsd.org/changeset/base/353363 Log: Put in a band-aid fix for lldb 9 exiting with "Expected must be checked before access or destruction" when launching executables, while we sort this out with upstream.

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

2019-09-30 Thread Dimitry Andric
Author: dim Date: Mon Sep 30 19:24:21 2019 New Revision: 352915 URL: https://svnweb.freebsd.org/changeset/base/352915 Log: Pull in r357528 from upstream llvm trunk (by Craig Topper): [X86] Check MI.isConvertibleTo3Addr() before calling convertToThreeAddress in X86FixupLEAs.

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

2019-09-27 Thread Dimitry Andric
Author: dim Date: Fri Sep 27 20:53:31 2019 New Revision: 352819 URL: https://svnweb.freebsd.org/changeset/base/352819 Log: Allow entering fractional delays in top(1) interactive mode. This uses the same logic as with the -s option, first validating the entered value, then storing the

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

2019-09-27 Thread Dimitry Andric
Author: dim Date: Fri Sep 27 20:20:21 2019 New Revision: 352818 URL: https://svnweb.freebsd.org/changeset/base/352818 Log: Make fractional delays for top(1) work for interactive mode. In r334906, the -s option was changed to allow fractional times, but this only functioned correctly for

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

2019-09-27 Thread Dimitry Andric
Author: dim Date: Fri Sep 27 17:11:21 2019 New Revision: 352804 URL: https://svnweb.freebsd.org/changeset/base/352804 Log: Correct the final argument name in the top(1) manpage. The description talks about 'number', while the final argument was 'count'. Since 'count' is already used for

Re: svn commit: r352661 - head/sys/netinet/tcp_stacks

2019-09-25 Thread Dimitry Andric
On 25 Sep 2019, at 15:36, Ed Maste wrote: > > On Tue, 24 Sep 2019 at 17:39, Bruce Evans wrote: >> >> On i386, these types have different sizes, so >> gcc detects the type mismatch. clang is too broken to report this type >> mismatch. > > Interesting, it seems Clang doesn't even warn in the

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

2019-09-25 Thread Dimitry Andric
Author: dim Date: Wed Sep 25 18:50:57 2019 New Revision: 352710 URL: https://svnweb.freebsd.org/changeset/base/352710 Log: Do not left-shift a negative number (inducing undefined behavior in C/C++) in exp(3), expf(3), expm1(3) and expm1f(3) during intermediate computations that compute the

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