Re: git: 3a9a9c0ca44e - main - Merge llvm-project release/14.x llvmorg-14.0.3-0-g1f9140064dfb

From: Warner Losh <imp_at_bsdimp.com>
Date: Sat, 14 May 2022 19:07:56 UTC
On Sat, May 14, 2022, 12:00 PM Dimitry Andric <dim@freebsd.org> wrote:

> On 14 May 2022, at 19:11, Bjoern A. Zeeb <bz@FreeBSD.org> wrote:
> >
> > On Sat, 14 May 2022, Dimitry Andric wrote:
> >
> >> The branch main has been updated by dim:
> >>
> >> URL:
> https://cgit.FreeBSD.org/src/commit/?id=3a9a9c0ca44ec535dcf73fe8462bee458e54814b
> >>
> >> commit 3a9a9c0ca44ec535dcf73fe8462bee458e54814b
> >> Merge: 53683b95ef66 139d50076136
> >> Author: Dimitry Andric <dim@FreeBSD.org>
> >> AuthorDate: 2022-04-28 18:32:24 +0000
> >> Commit: Dimitry Andric <dim@FreeBSD.org>
> >> CommitDate: 2022-05-14 11:46:42 +0000
> >>
> >> Merge llvm-project release/14.x llvmorg-14.0.3-0-g1f9140064dfb
> >>
> >> This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
> >> openmp to llvmorg-14.0.3-0-g1f9140064dfb.
> >>
> >> PR: 261742
> >> MFC after: 2 weeks
> >
> > Replying to the last commit only.
> >
> > First and most important: thanks for all the work on updating!
> >
> >
> > I got a huge amount of these during make -s buildkernel:
> >
> > ld: warning: -d, -dc, -dp, and --[no-]define-common will be removed. See
> https://github.com/llvm/llvm-project/issues/53660
> >
> > I haven't checked where they come from yet (given make -s). Possibly ..?
> >
> > sys/conf/kmod.mk:LDFLAGS+= -d -warn-common
>
> Ah yes, thanks for spotting that. I think I'll just put in a linker
> version check, and avoid the option for lld >= 14.
>


Two items : do we need it at all?

Won't this make build stable/13 noisy in same cases? We can just document
it since it wouldn't be the mainline build, but it will come up...

Warner

>