Date: Fri, 18 Nov 2022 21:01:35 -0800 From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: Re: git: adc3c128c660 - main - src.opts.mk: Require C++20 for C++ support. Message-ID: <bf8bce05-ed73-6bcf-e818-83687b032383@FreeBSD.org> In-Reply-To: <202211190413.2AJ4DCeI070770@gitrepo.freebsd.org> References: <202211190413.2AJ4DCeI070770@gitrepo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/18/22 8:13 PM, John Baldwin wrote: > The branch main has been updated by jhb: > > URL: https://cgit.FreeBSD.org/src/commit/?id=adc3c128c6603054586a993d117e5dd808deac17 > > commit adc3c128c6603054586a993d117e5dd808deac17 > Author: John Baldwin <jhb@FreeBSD.org> > AuthorDate: 2022-11-19 04:12:28 +0000 > Commit: John Baldwin <jhb@FreeBSD.org> > CommitDate: 2022-11-19 04:12:28 +0000 > > src.opts.mk: Require C++20 for C++ support. > > libc++ requires C++20, so mark C++ (MK_CXX) as broken if the compiler > does not support C++20. > > Reviewed by: emaste > Differential Revision: https://reviews.freebsd.org/D36893 This is a bit of a band-aid for now that will at least help us get the GCC 9 builds green again. I have amd64 world + GENERIC building with GCC 12 as of today on a branch and will try to get that merged soon and then switch the Jenkins job over to GCC 12. GCC 12 requires a couple of not-quite-trivial fixes. One is that the libirdma version script is broken still from when it was first imported and binutils chokes on it. It's probably a bug in lld that it doesn't reject it. The second is arguably a bug in GCC that requires a one-line change in libc++'s <type_traits> header. There is an upstream review for LLVM that will hopefully land soon so that I can get the green light for merging the fix into the in-tree LLVM. -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bf8bce05-ed73-6bcf-e818-83687b032383>