From nobody Tue Jan 31 12:58:25 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 4P5lV40Xgbz3cRp7 for ; Tue, 31 Jan 2023 12:58:36 +0000 (UTC) (envelope-from qroxana@protonmail.com) Received: from mail-40141.protonmail.ch (mail-40141.protonmail.ch [185.70.40.141]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "protonmail.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P5lV26pVfz3M6D; Tue, 31 Jan 2023 12:58:34 +0000 (UTC) (envelope-from qroxana@protonmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=protonmail.com header.s=protonmail3 header.b=vLqAv014; spf=pass (mx1.freebsd.org: domain of qroxana@protonmail.com designates 185.70.40.141 as permitted sender) smtp.mailfrom=qroxana@protonmail.com; dmarc=pass (policy=quarantine) header.from=protonmail.com Date: Tue, 31 Jan 2023 12:58:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1675169912; x=1675429112; bh=hjXbB4Ds1XzN4hg4PsKQ4JC5W0Sqt724tJnrAoGPR1g=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=vLqAv014hHpc9xRQoXLYLgPjyFth9N5fkhn2fhjeu05Kms0VkNKUgjlf2BtO5zMrc dV3oG7Am3gg+sK8vzFCxl0MBiV3DpNIBXD1+5qi2Z/WzJm6AvuPgHyPTudtLXRCXbt O+ZLfQ8yp1GNSqJ2Nao66RRy9xcpBeQ0HZmy2q5UF1mIkEsk6uq7l6+xdZ1waQWiLW U1pV6VxurrDqs5Db3a5/wEEu1J3Z2CZYsjHA86KyVkTaUHBrEzXl62n1tL33Xj+zfh OYtFK77wiaVv1NB3zWbaRZIUi3A4B4Cqx9T/eZdt/igk0blan53jzZYG0adrdHcsAf qsWUUtraeD12w== To: "freebsd-current@freebsd.org" From: qroxana Cc: Dimitry Andric Subject: Re: buildworld failed after deleting /usr/obj Message-ID: In-Reply-To: <44ybMtpAl4lOcN0PqhC63MaFz0G7l0mD_6RBWLaFNqw7gs2uCbYRhxwcvOv5chBBPH3vSQetkVbwtxWZR14fJyWIMZZet8yU_yiMPa7J_yQ=@protonmail.com> References: <7cKQCx9PEwnnJE5MatS6g5KkKh5prIZTrTlqGL2RfM7Z4TDJGCfEATg9ejghBWDhx7WqDtVpxAA6wEisDAP2Y6c8g-ht2KbUW4YN0eek43g=@protonmail.com> <3CCFF1C8-D618-453F-8412-3D65F551C43C@FreeBSD.org> <44ybMtpAl4lOcN0PqhC63MaFz0G7l0mD_6RBWLaFNqw7gs2uCbYRhxwcvOv5chBBPH3vSQetkVbwtxWZR14fJyWIMZZet8yU_yiMPa7J_yQ=@protonmail.com> Feedback-ID: 29996633:user:proton 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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-3.48 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.96)[-0.959]; NEURAL_HAM_SHORT(-0.52)[-0.521]; DMARC_POLICY_ALLOW(-0.50)[protonmail.com,quarantine]; R_SPF_ALLOW(-0.20)[+ip4:185.70.40.0/24]; R_DKIM_ALLOW(-0.20)[protonmail.com:s=protonmail3]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ZERO(0.00)[0]; ASN(0.00)[asn:62371, ipnet:185.70.40.0/24, country:CH]; FREEMAIL_ENVFROM(0.00)[protonmail.com]; TO_DN_EQ_ADDR_SOME(0.00)[]; DKIM_TRACE(0.00)[protonmail.com:+]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[protonmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[185.70.40.141:from] X-Rspamd-Queue-Id: 4P5lV26pVfz3M6D X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N ----- Original Message ------- On Sunday, January 29th, 2023 at 3:06 PM, qroxana = wrote: > It appears buildworld doesn't create the obj directory for usr.bin/clang/= llvm-objcopy in stage 2.2 after this commit. >=20 > commit adc3c128c6603054586a993d117e5dd808deac17 > Author: John Baldwin jhb@FreeBSD.org >=20 > AuthorDate: Fri Nov 18 20:12:28 2022 -0800 > Commit: John Baldwin jhb@FreeBSD.org >=20 > CommitDate: Fri Nov 18 20:12:28 2022 -0800 >=20 > src.opts.mk: Require C++20 for C++ support. >=20 > libc++ requires C++20, so mark C++ (MK_CXX) as broken if the compiler > does not support C++20. >=20 > Reviewed by: emaste > Differential Revision: https://reviews.freebsd.org/D36893 >=20 > diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk > index f69208f21556..5089a034350d 100644 > --- a/share/mk/src.opts.mk > +++ b/share/mk/src.opts.mk > @@ -348,6 +348,11 @@ __DEFAULT_YES_OPTIONS+=3DOPENMP > __DEFAULT_NO_OPTIONS+=3DOPENMP > .endif >=20 > +# libc++ requires C++20 > +.if !${COMPILER_FEATURES:Mc++20} > +BROKEN_OPTIONS+=3DCXX > +.endif > + > .include >=20 >=20 > # Sorry for the noise, this has been fixed by this commit. commit ac4c695ad61e81d00cff2a03202a4afe94a92513 Author: Ed Maste AuthorDate: Wed Nov 16 09:20:39 2022 -0500 Commit: Ed Maste CommitDate: Thu Jan 26 21:13:16 2023 -0500 Retire WITHOUT_CXX option =20 Several important base system components are written in C++, and the WITHOUT_CXX option produced a system that was not fully functional. Just accept this, and remove the option to build without C++ support. =20 This reverts commit adc3c128c6603054586a993d117e5dd808deac17. =20 Reviewed by: brooks, kevans, jhb (earlier) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D33108