[Bug 236772] build error on cross compile: '.../c++/v1/experimental/' does not exist

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Feb 6 00:11:22 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236772

HIROKI MORI <yamori813 at yahoo.co.jp> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|Not A Bug                   |---
             Status|Closed                      |Open

--- Comment #10 from HIROKI MORI <yamori813 at yahoo.co.jp> ---
I do compile 12-STABLE. This problem dose not occure. But 13-CURRENT still have
this problem. Then I use this patch.


--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1092,6 +1092,13 @@ _obj:
        @echo "--------------------------------------------------------------"
        @echo ">>> stage 2.2: rebuilding the object tree"
        @echo "--------------------------------------------------------------"
+       @mkdir -p ${WORLDTMP}/usr/lib/clang/9.0.1/include/
+       @mkdir -p ${WORLDTMP}/usr/lib/clang/9.0.1/include/cuda_wrappers
+       @mkdir -p ${WORLDTMP}/usr/lib/clang/9.0.1/include/openmp_wrappers
+       @mkdir -p ${WORLDTMP}/usr/lib/clang/9.0.1/include/ppc_wrappers
+       @mkdir -p ${WORLDTMP}/usr/lib/clang/9.0.1/include/sanitizer
+       @mkdir -p ${WORLDTMP}/usr/include/c++/v1/experimental
+       @mkdir -p ${WORLDTMP}/usr/include/c++/v1/ext
        ${_+_}cd ${.CURDIR}; ${WMAKE} _NO_INCLUDE_COMPILERMK=t obj
 _build-tools:
        @echo

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


More information about the freebsd-toolchain mailing list