Date: Tue, 31 Jan 2023 12:58:25 +0000 From: qroxana <qroxana@protonmail.com> To: "freebsd-current@freebsd.org" <freebsd-current@freebsd.org> Cc: Dimitry Andric <dim@FreeBSD.org> Subject: Re: buildworld failed after deleting /usr/obj Message-ID: <bxAviW1va-pzeiLoB0JRdUSju5tugQg15xtOo5MjuF4eZP3MuhelwlQ7_ulMdfIokbsbQul3UT8xIoKGaf72pgJGcq7HYQnbL7kEpeJ9ItE=@protonmail.com> In-Reply-To: <44ybMtpAl4lOcN0PqhC63MaFz0G7l0mD_6RBWLaFNqw7gs2uCbYRhxwcvOv5chBBPH3vSQetkVbwtxWZR14fJyWIMZZet8yU_yiMPa7J_yQ=@protonmail.com> References: <7cKQCx9PEwnnJE5MatS6g5KkKh5prIZTrTlqGL2RfM7Z4TDJGCfEATg9ejghBWDhx7WqDtVpxAA6wEisDAP2Y6c8g-ht2KbUW4YN0eek43g=@protonmail.com> <3CCFF1C8-D618-453F-8412-3D65F551C43C@FreeBSD.org> <Yxhgl82menkflpds5o1jchI4DqbSh-0NoygJ_cJxeqh1-5wQuwAhBuEqH4r8zkvjXT9QlI-3Qs5NHIrqPaaBDV8MHi7-fbmLwqpXUmuDWWE=@protonmail.com> <44ybMtpAl4lOcN0PqhC63MaFz0G7l0mD_6RBWLaFNqw7gs2uCbYRhxwcvOv5chBBPH3vSQetkVbwtxWZR14fJyWIMZZet8yU_yiMPa7J_yQ=@protonmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ------- On Sunday, January 29th, 2023 at 3:06 PM, qroxana <qroxana@protonmail.com> = 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 <bsd.mkopt.mk> >=20 >=20 > # Sorry for the noise, this has been fixed by this commit. commit ac4c695ad61e81d00cff2a03202a4afe94a92513 Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: Wed Nov 16 09:20:39 2022 -0500 Commit: Ed Maste <emaste@FreeBSD.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bxAviW1va-pzeiLoB0JRdUSju5tugQg15xtOo5MjuF4eZP3MuhelwlQ7_ulMdfIokbsbQul3UT8xIoKGaf72pgJGcq7HYQnbL7kEpeJ9ItE=>