[Bug 236772] build error on cross compile: '.../c++/v1/experimental/' does not exist
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jul 19 10:59:03 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236772
--- Comment #7 from Dimitry Andric <dim at FreeBSD.org> ---
(In reply to HIROKI MORI from comment #6)
> I update 11.3 host os. But still I need this patch.
>
> *** 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= SHARED=symlinks \
> MK_INCLUDES=yes 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. before
"stage 3: cross tools").
If that does not happen for you, can you please check whether your source tree
is cleanly checked out, without any modifications?
If it still fails, can you post a full buildworld log somewhere?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-toolchain
mailing list