Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Mar 2019 08:50:09 +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-cia9e6eLMn@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 #1 from HIROKI MORI <yamori813@yahoo.co.jp> ---
This is my temporary workaround.

diff --git a/Makefile.inc1 b/Makefile.inc1
index cf166a813d2..0dc58016601 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1084,6 +1084,7 @@ _cross-tools:
        @echo "------------------------------------------------------------=
--"
        @echo ">>> stage 3: cross tools"
        @echo "------------------------------------------------------------=
--"
+       @mkdir -p
/usr/home/hiroki/zobj/usr/home/hiroki/ZRouter/tmp/usr/home/hir
oki/freebsd/arm.arm/tmp/usr/lib/clang/8.0.0/include/
        @rm -f ${OBJTOP}/toolchain-metadata.mk
        ${_+_}cd ${.CURDIR}; ${XMAKE} cross-tools
        ${_+_}cd ${.CURDIR}; ${XMAKE} kernel-tools
@@ -1101,6 +1102,8 @@ _includes:
        @echo "------------------------------------------------------------=
--"
 # Special handling for SUBDIR_OVERRIDE in buildworld as they most likely n=
eed
 # 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 =
=C2=A5
            MK_INCLUDES=3Dyes includes
 .if !empty(SUBDIR_OVERRIDE) && make(buildworld)

--=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-cia9e6eLMn>