From: "Theo de Raadt" Subject: Re: libcxx update requires manual steps before make build To: Stuart Henderson Cc: tech@cvs.openbsd.org Date: Fri, 26 Jan 2024 09:23:16 -0700 Yes. Stuart Henderson wrote: > On 2024/01/26 16:40, Robert Nagy wrote: > > Hi > > > > The recent commits that update libcxx will require anyone doing > > a make build to cleanup some old headers first, because libcxx > > moved the __string header to a subdirectory called __string so > > make includes will fail without this step. > > > > You simply have to do an rm -rf /usr/include/c++/v1 before doing > > a make build, which will completely "clean up" the old headers. > > I haven't got that far yet, but we probably need this too > > Index: miniroot/install.sub > =================================================================== > RCS file: /cvs/src/distrib/miniroot/install.sub,v > retrieving revision 1.1257 > diff -u -p -r1.1257 install.sub > --- miniroot/install.sub 24 Oct 2023 18:03:53 -0000 1.1257 > +++ miniroot/install.sub 26 Jan 2024 16:22:29 -0000 > @@ -1784,6 +1784,8 @@ install_files() { > rm -rf /mnt/usr/lib/{gcc-lib,clang} > rm -rf /mnt/usr/bin/{gcc,g++} > rm -rf /mnt/usr/include/g++ > + # file changed to dir in libc++ > + rm -rf /mnt/usr/include/c++/v1 > fi > rm -rf /mnt/var/syspatch/* > fi >