Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jul 2019 10:59:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 236772] build error on cross compile: '.../c++/v1/experimental/' does not exist
Message-ID:  <bug-236772-29464-D9947PPhla@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-236772-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-236772-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236772

--- Comment #7 from Dimitry Andric <dim@FreeBSD.org> ---
(In reply to HIROKI MORI from comment #6)
> I update 11.3 host os. But still I need this patch.
>=20
> *** Makefile.inc1.orig	Mon Jul  8 14:27:19 2019
> --- Makefile.inc1	Fri Jul 19 18:05:11 2019
> ***************
> *** 1086,1091 ****
> --- 1086,1092 ----
>   	@echo "--------------------------------------------------------------"
>   	@echo ">>> stage 3: cross tools"
>   	@echo "--------------------------------------------------------------"
> + 	@mkdir -p
> /usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hiroki/freebsd/
> arm.${TARGET_ARCH}/tmp/usr/lib/clang/8.0.1/include/
>   	@rm -f ${OBJTOP}/toolchain-metadata.mk
>   	${_+_}cd ${.CURDIR}; ${XMAKE} cross-tools
>   	${_+_}cd ${.CURDIR}; ${XMAKE} kernel-tools
> ***************
> *** 1103,1108 ****
> --- 1104,1111 ----
>   	@echo "--------------------------------------------------------------"
>   # Special handling for SUBDIR_OVERRIDE in buildworld as they most likely
> need
>   # headers from default SUBDIR.  Do SUBDIR_OVERRIDE includes last.
> + 	@mkdir -p ${WORLDTMP}/usr/include/c++/v1/experimental
> + 	@mkdir -p ${WORLDTMP}/usr/include/c++/v1/ext
>   	${_+_}cd ${.CURDIR}; ${WMAKE} SUBDIR_OVERRIDE=3D SHARED=3Dsymlinks \
>   	    MK_INCLUDES=3Dyes includes
>   .if !empty(SUBDIR_OVERRIDE) && make(buildworld)

I can only repeat what I mentioned in comment 2, which is that these
directories should be created by mtree, during the earlier stages (e.g. bef=
ore
"stage 3: cross tools").

If that does not happen for you, can you please check whether your source t=
ree
is cleanly checked out, without any modifications?

If it still fails, can you post a full buildworld log somewhere?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236772-29464-D9947PPhla>