From nobody Wed May 03 16:24:18 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QBMjJ3kmHz491Zd for ; Wed, 3 May 2023 16:24:36 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic305-20.consmr.mail.gq1.yahoo.com (sonic305-20.consmr.mail.gq1.yahoo.com [98.137.64.83]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4QBMjH4x0zz4KFT for ; Wed, 3 May 2023 16:24:35 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=Nq44F4w4; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.83 as permitted sender) smtp.mailfrom=marklmi@yahoo.com; dmarc=pass (policy=reject) header.from=yahoo.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1683131074; bh=VKzm+nziP17nxtDpQor5AeWYlhn1XvvPNlzHydHX2us=; h=From:Subject:Date:References:To:In-Reply-To:From:Subject:Reply-To; b=Nq44F4w45Dof1AAk+u+t/fumknU4n/57IXIOI538FWrAO8PhuBeiD0hTATSih8N9tXB5qjBOujOw2DuyZlX3gxtFzZ7ttiq+qsEqdKgsjizrjc5sTxaTa8OlhPGrcihzrBWPjFYZkOxAcCnJMyrZiHcK17MDTt9ZwRv19VQLCTd1SV9XOkP45BpMMHWlHQq21dofO5t6rlkTwTjDrjdWXUB5jRvehjzMg3/rL8sM6DuqeVnjhCIyE6JLWXCyCHtS/rcl7vWzsC6w8Ts34LcqJdcMjGJBrZEEpW0L18WdRAjnhoiNDfJtQyi1Edxp41AyJ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Of2mMe_.OmrQyri8n3zeEdHOLC2yphJPClWDXDDz.hFbmFc1i276Um6 aXD0YNA4j9hmd9wYMp4jU9QEwioV3B7RSgYf.eHRgk4FJzyfZHhrdYTF4Vf5noxnFHQ4GV2CvpQv nsOz5QdBcQuk9dAtU0Y3wTyCHkvys6CHFvmtltccU90gvkFHP2g5guKJbj_ilUB93yTp1TtVbMnK 2DM3JSx5RTxIaLZLkr.tBd7E5_APcysgApzjL_gtqQO4IdAxWKN__63xGwXCKLESPLe_a85RnQY0 N3F1OBns_brLqNRNq3q49EU1zf.229o3oXQ8ebm5axZt9Q5q6s7SH00Jui6Pct4S2UPHVhOitM5y _bxJtdM.4rnCnh8jTEFwmWaIiWX1kKXlexeCSGXUt4UNfo8TY1RyYL5_0BGDHkA4.izFOB0S0CCy rFP8RA4yxy.7xm76FQaGzvFoJXWCNanZFSub8AfknnZLrNq0LjX0kPCH80heBF.A71MdSWSv4h0R 0OW9SbjKCfcmKy9EFFrxJbeNrl5ysG32Y.Z7dAAehJgMpNBY4Ikhc.mdA0Xji.2XcMS9F1OO9Nmn dxzXHSPkrNhzKfW5opEfrOwt25d1lTG3ZnW551U10T.WOHDMQCJZLlArCaMRnPomH5OBZb5ngXPF uqhvrkAIoumVAJqvcISd0WScCjwGik1lF0HWOo7r_2WDqJ.FLizL1NnfKyqhIhyH2lv1f3ELl4o_ BlqU- X-Sonic-MF: X-Sonic-ID: 0ebbe7f6-dcda-4b45-85ab-9e1ea9c67054 Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.gq1.yahoo.com with HTTP; Wed, 3 May 2023 16:24:34 +0000 Received: by hermes--production-bf1-5f9df5c5c4-bqwvr (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 335440231074a6421db6b1b855e30b4f; Wed, 03 May 2023 16:24:31 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.400.51.1.1\)) Subject: Re: What llvm16 libc++ updates for -std=c++20 use [was: Re: Delay in 14.0-RELEASE cycle and blocking items] Date: Wed, 3 May 2023 09:24:18 -0700 References: To: danfe@freebsd.org, Current FreeBSD In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3731.400.51.1.1) X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MIME_GOOD(-0.10)[text/plain]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.83:from]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; DKIM_TRACE(0.00)[yahoo.com:+]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org] X-Rspamd-Queue-Id: 4QBMjH4x0zz4KFT X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N On May 3, 2023, at 08:57, Mark Millard wrote: > Alexey Dokuchaev wrote on > Date: Wed, 03 May 2023 07:53:09 UTC : > >> On Mon, May 01, 2023 at 06:14:49PM +0000, Glen Barber wrote: >>> ... >>> There is no feasible way we are going to make the branch point of >>> stable/14 in time, with that scheduled for May 12, 2023 with the above >>> points. That said, this is not an all-inclusive list, but the more >>> major items on our radar at the moment. >> >> Does this delay mean we might get Clang 16 in the base? Current 15.0.7 >> hits assertion on one of my ports which had allegedly been fixed in 16. >> Also, AFAIU it comes with better support for modern C++, e.g. ranges. > > These notes are based on using -std=c++20 and llvm16 on > opensuse tumblweed (in early April), which has libc++ > support configurable. They also presume that the FreeBSD > llvm16 update fully adopts the libc++ from llvm16. > (FreeBSD LLVM upgrades do not always do so at the initial > upgrade time.) > > __cpp_lib_ranges would go from undefined to 202106 . > C++20 also has a later 202110 . C++23 has 3 later values, > the last being 202211 . (I'm generally omitting the L > suffixes in my materials.) > > A couple of the C++20 ranges versions are late, > retroactive fixes ["(DR)"s] for things that > could not wait for C++23: > > __cpp_lib_ranges ------ 202106 (C++20) (DR) > __cpp_lib_ranges ------ 202110 (C++20) (DR) > > So only the 202106 one was in llvm16 when I tested > llvm16. (If I remember right, using -std=c++23 got > the 202110 fix as well.) > > Other libc++ things going from undefined to a defined > status are: > > __cpp_lib_constexpr_complex > __cpp_lib_constexpr_vector > __cpp_lib_memory_resource > __cpp_lib_polymorphic_allocator > __cpp_lib_source_location > > It does not appear that any other __cpp_lib_... macros > would change values for -std=c+=20 use. Typo fix to the above: -std=c++20 > As for the overall status for ranges . . . > > C++23 has lots of changes/additions for ranges: > (The ------'s indicate being undefined in llvm15.) I should have noted that the YYYYMM months below are from/for the standard and are not indications of llvm16 or later of having implemented them for -std=c+=23 . > __cpp_lib_ranges ------ 202202 (C++23) > __cpp_lib_ranges ------ 202207 (C++23) > __cpp_lib_ranges ------ 202211 (C++23) > __cpp_lib_ranges_as_const ------ 202207 (C++23) > __cpp_lib_ranges_as_rvalue ------ 202207 (C++23) > __cpp_lib_ranges_cartesian_product ------ 202207 (C++23) > __cpp_lib_ranges_chunk ------ 202202 (C++23) > __cpp_lib_ranges_chunk_by ------ 202202 (C++23) > __cpp_lib_ranges_contains ------ 202207 (C++23) > __cpp_lib_ranges_enumerate ------ 202303 (C++23) > __cpp_lib_ranges_fold ------ 202207 (C++23) > __cpp_lib_ranges_iota ------ 202202 (C++23) > __cpp_lib_ranges_join_with ------ 202202 (C++23) > __cpp_lib_ranges_repeat ------ 202207 (C++23) > __cpp_lib_ranges_slide ------ 202202 (C++23) > __cpp_lib_ranges_starts_ends_with ------ 202106 (C++23) > __cpp_lib_ranges_stride ------ 202207 (C++23) > __cpp_lib_ranges_to_container ------ 202202 (C++23) > __cpp_lib_ranges_zip ------ 202110 (C++23) > > Ranges seems to be an active area of development > across multiple standard vintages. === Mark Millard marklmi at yahoo.com