Re: git: 349cc55c9796 - main - Merge llvm-project main llvmorg-14-init-10186-gff7f2cfa959b
Date: Mon, 16 May 2022 08:17:08 UTC
On 16 May 2022, at 00:25, Charlie Li <vishwin@freebsd.org> wrote: > > Dimitry Andric wrote: >> The branch main has been updated by dim: >> URL: https://cgit.FreeBSD.org/src/commit/?id=349cc55c9796c4596a5b9904cd3281af295f878f >> commit 349cc55c9796c4596a5b9904cd3281af295f878f >> Merge: cb2ae6163174 c0981da47d56 >> Author: Dimitry Andric <dim@FreeBSD.org> >> AuthorDate: 2022-03-20 11:40:34 +0000 >> Commit: Dimitry Andric <dim@FreeBSD.org> >> CommitDate: 2022-05-14 11:43:05 +0000 >> Merge llvm-project main llvmorg-14-init-10186-gff7f2cfa959b >> This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and >> openmp to llvmorg-14-init-10186-gff7f2cfa959b. >> PR: 261742 >> MFC after: 2 weeks >> .../llvm-project/compiler-rt/lib/builtins/atomic.c | 15 + > This errors out on -CURRENT immediately preceding this whole LLVM 14 merge: > > --- atomic.o --- > /usr/src/contrib/llvm-project/compiler-rt/lib/builtins/atomic.c:367:1: error: implicit declaration of function '__c11_atomic_fetch_nand' is invalid in C99 [-Werror, > -Wimplicit-function-declaration] > OPTIMISED_CASES > ^ > /usr/src/contrib/llvm-project/compiler-rt/lib/builtins/atomic.c:249:3: note: expanded from macro 'OPTIMISED_CASES' > OPTIMISED_CASE(1, IS_LOCK_FREE_1, uint8_t) \ > ^ This was also reported by another user, and it turned out they were using WITHOUT_CROSS_COMPILER= in src.conf. If you also have that, try removing it and rebuilding. -Dimitry