pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: wasi-libcxx failure
Hi,
Greg Troxel <gdt%lexort.com@localhost> writes:
> I updated pkgsrc and did pkg_rr and wasi-libvxx is failing. This is the
> log from re-running make.
The build of lang/wasi-libcxx fails when lang/wasi-libcxx has been already
installed.
A order of include directories is problematic, however I do not find
a right solution yet.
Please give me more time.
Thank you.
> => Bootstrap dependency digest>=20211023: found digest-20211023
> ===> Checking for vulnerabilities in wasi-libcxx-13.0.0
> ===> Building for wasi-libcxx-13.0.0
> /usr/pkg/bin/cmake -S/tmp/work/lang/wasi-libcxx/work/libcxx -B/tmp/work/lang/wasi-libcxx/work/build_libcxx --check-build-system CMakeFiles/Makefile.cmake 0
> /usr/pkg/bin/cmake -E cmake_progress_start /tmp/work/lang/wasi-libcxx/work/build_libcxx/CMakeFiles /tmp/work/lang/wasi-libcxx/work/build_libcxx//CMakeFiles/progress.marks
> /usr/bin/make -f CMakeFiles/Makefile2 all
> --- CMakeFiles/cxx_abi_headers.dir/all ---
> --- include/CMakeFiles/generate-cxx-headers.dir/all ---
> --- CMakeFiles/cxx_abi_headers.dir/all ---
> /usr/bin/make -f CMakeFiles/cxx_abi_headers.dir/build.make CMakeFiles/cxx_abi_headers.dir/depend
> --- CMakeFiles/cxx_abi_headers.dir/depend ---
> --- include/CMakeFiles/generate-cxx-headers.dir/all ---
> /usr/bin/make -f include/CMakeFiles/generate-cxx-headers.dir/build.make include/CMakeFiles/generate-cxx-headers.dir/depend
> --- CMakeFiles/cxx_abi_headers.dir/all ---
> cd /tmp/work/lang/wasi-libcxx/work/build_libcxx && /usr/pkg/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/work/lang/wasi-libcxx/work/libcxx /tmp/work/lang/wasi-libcxx/work/libcxx /tmp/work/lang/wasi-libcxx/work/build_libcxx /tmp/work/lang/wasi-libcxx/work/build_libcxx /tmp/work/lang/wasi-libcxx/work/build_libcxx/CMakeFiles/cxx_abi_headers.dir/DependInfo.cmake --color=
> --- include/CMakeFiles/generate-cxx-headers.dir/all ---
> --- include/CMakeFiles/generate-cxx-headers.dir/depend ---
> cd /tmp/work/lang/wasi-libcxx/work/build_libcxx && /usr/pkg/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/work/lang/wasi-libcxx/work/libcxx /tmp/work/lang/wasi-libcxx/work/libcxx/include /tmp/work/lang/wasi-libcxx/work/build_libcxx /tmp/work/lang/wasi-libcxx/work/build_libcxx/include /tmp/work/lang/wasi-libcxx/work/build_libcxx/include/CMakeFiles/generate-cxx-headers.dir/DependInfo.cmake --color=
> --- CMakeFiles/cxx_abi_headers.dir/all ---
> /usr/bin/make -f CMakeFiles/cxx_abi_headers.dir/build.make CMakeFiles/cxx_abi_headers.dir/build
> --- include/CMakeFiles/generate-cxx-headers.dir/all ---
> /usr/bin/make -f include/CMakeFiles/generate-cxx-headers.dir/build.make include/CMakeFiles/generate-cxx-headers.dir/build
> --- CMakeFiles/cxx_abi_headers.dir/all ---
> [ 0%] Built target cxx_abi_headers
> --- include/CMakeFiles/generate-cxx-headers.dir/all ---
> [ 90%] Built target generate-cxx-headers
> --- src/CMakeFiles/cxx_static.dir/all ---
> /usr/bin/make -f src/CMakeFiles/cxx_static.dir/build.make src/CMakeFiles/cxx_static.dir/depend
> --- src/CMakeFiles/cxx_static.dir/depend ---
> cd /tmp/work/lang/wasi-libcxx/work/build_libcxx && /usr/pkg/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/work/lang/wasi-libcxx/work/libcxx /tmp/work/lang/wasi-libcxx/work/libcxx/src /tmp/work/lang/wasi-libcxx/work/build_libcxx /tmp/work/lang/wasi-libcxx/work/build_libcxx/src /tmp/work/lang/wasi-libcxx/work/build_libcxx/src/CMakeFiles/cxx_static.dir/DependInfo.cmake --color=
> Consolidate compiler generated dependencies of target cxx_static
> /usr/bin/make -f src/CMakeFiles/cxx_static.dir/build.make src/CMakeFiles/cxx_static.dir/build
> [100%] Built target cxx_static
> /usr/pkg/bin/cmake -E cmake_progress_start /tmp/work/lang/wasi-libcxx/work/build_libcxx/CMakeFiles 0
> /usr/pkg/bin/cmake -S/tmp/work/lang/wasi-libcxx/work/libcxxabi -B/tmp/work/lang/wasi-libcxx/work/build_libcxxabi --check-build-system CMakeFiles/Makefile.cmake 0
> /usr/pkg/bin/cmake -E cmake_progress_start /tmp/work/lang/wasi-libcxx/work/build_libcxxabi/CMakeFiles /tmp/work/lang/wasi-libcxx/work/build_libcxxabi//CMakeFiles/progress.marks
> /usr/bin/make -f CMakeFiles/Makefile2 all
> --- src/CMakeFiles/cxxabi_static.dir/all ---
> /usr/bin/make -f src/CMakeFiles/cxxabi_static.dir/build.make src/CMakeFiles/cxxabi_static.dir/depend
> --- src/CMakeFiles/cxxabi_static.dir/depend ---
> cd /tmp/work/lang/wasi-libcxx/work/build_libcxxabi && /usr/pkg/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/work/lang/wasi-libcxx/work/libcxxabi /tmp/work/lang/wasi-libcxx/work/libcxxabi/src /tmp/work/lang/wasi-libcxx/work/build_libcxxabi /tmp/work/lang/wasi-libcxx/work/build_libcxxabi/src /tmp/work/lang/wasi-libcxx/work/build_libcxxabi/src/CMakeFiles/cxxabi_static.dir/DependInfo.cmake --color=
> Consolidate compiler generated dependencies of target cxxabi_static
> /usr/bin/make -f src/CMakeFiles/cxxabi_static.dir/build.make src/CMakeFiles/cxxabi_static.dir/build
> --- src/CMakeFiles/cxxabi_static.dir/cxa_aux_runtime.cpp.o ---
> --- src/CMakeFiles/cxxabi_static.dir/cxa_default_handlers.cpp.o ---
> --- src/CMakeFiles/cxxabi_static.dir/cxa_demangle.cpp.o ---
> --- src/CMakeFiles/cxxabi_static.dir/cxa_default_handlers.cpp.o ---
> [ 11%] Building CXX object src/CMakeFiles/cxxabi_static.dir/cxa_default_handlers.cpp.o
> --- src/CMakeFiles/cxxabi_static.dir/cxa_aux_runtime.cpp.o ---
> [ 11%] Building CXX object src/CMakeFiles/cxxabi_static.dir/cxa_aux_runtime.cpp.o
> cd /tmp/work/lang/wasi-libcxx/work/build_libcxxabi/src && /tmp/work/lang/wasi-libcxx/work/.cwrapper/bin/c++ --target=wasm32-wasi --sysroot=/usr/pkg/wasi -DLIBCXXABI_SILENT_TERMINATE -DLIBCXXABI_USE_LLVM_UNWINDER -D_LIBCPP_BUILDING_LIBRARY -D_LIBCPP_DISABLE_EXTERN_TEMPLATE -D_LIBCPP_HAS_NO_THREADS -D_LIBCXXABI_BUILDING_LIBRARY -D_LIBCXXABI_HAS_NO_THREADS -I/tmp/work/lang/wasi-libcxx/work/libcxxabi/include -I/tmp/work/lang/wasi-libcxx/work/libcxxabi/../libcxx -O2 -I/usr/pkg/include -I/usr/include -Wno-reserved-user-defined-literal -DNDEBUG -fPIC -Werror=return-type -W -Wall -Wchar-subscripts -Wconversion -Wmismatched-tags -Wmissing-braces -Wnewline-eof -Wunused-function -Wshadow -Wshorten-64-to-32 -Wsign-compare -Wsign-conversion -Wstrict-aliasing=2 -Wstrict-overflow=4 -Wunused-parameter -Wunused-variable -Wwrite-strings -Wno-suggest-override -pedantic -fstrict-aliasing -fno-exceptions -D_DEBUG -UNDEBUG -I /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include -std=c++20 -MD -MT src/CMakeFiles/cxxabi_static.dir/cxa_aux_runtime.cpp.o -MF CMakeFiles/cxxabi_static.dir/cxa_aux_runtime.cpp.o.d -o CMakeFiles/cxxabi_static.dir/cxa_aux_runtime.cpp.o -c /tmp/work/lang/wasi-libcxx/work/libcxxabi/src/cxa_aux_runtime.cpp
> --- src/CMakeFiles/cxxabi_static.dir/cxa_default_handlers.cpp.o ---
> cd /tmp/work/lang/wasi-libcxx/work/build_libcxxabi/src && /tmp/work/lang/wasi-libcxx/work/.cwrapper/bin/c++ --target=wasm32-wasi --sysroot=/usr/pkg/wasi -DLIBCXXABI_SILENT_TERMINATE -DLIBCXXABI_USE_LLVM_UNWINDER -D_LIBCPP_BUILDING_LIBRARY -D_LIBCPP_DISABLE_EXTERN_TEMPLATE -D_LIBCPP_HAS_NO_THREADS -D_LIBCXXABI_BUILDING_LIBRARY -D_LIBCXXABI_HAS_NO_THREADS -I/tmp/work/lang/wasi-libcxx/work/libcxxabi/include -I/tmp/work/lang/wasi-libcxx/work/libcxxabi/../libcxx -O2 -I/usr/pkg/include -I/usr/include -Wno-reserved-user-defined-literal -DNDEBUG -fPIC -Werror=return-type -W -Wall -Wchar-subscripts -Wconversion -Wmismatched-tags -Wmissing-braces -Wnewline-eof -Wunused-function -Wshadow -Wshorten-64-to-32 -Wsign-compare -Wsign-conversion -Wstrict-aliasing=2 -Wstrict-overflow=4 -Wunused-parameter -Wunused-variable -Wwrite-strings -Wno-suggest-override -pedantic -fstrict-aliasing -fno-exceptions -D_DEBUG -UNDEBUG -I /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include -std=c++20 -MD -MT src/CMakeFiles/cxxabi_static.dir/cxa_default_handlers.cpp.o -MF CMakeFiles/cxxabi_static.dir/cxa_default_handlers.cpp.o.d -o CMakeFiles/cxxabi_static.dir/cxa_default_handlers.cpp.o -c /tmp/work/lang/wasi-libcxx/work/libcxxabi/src/cxa_default_handlers.cpp
> --- src/CMakeFiles/cxxabi_static.dir/cxa_demangle.cpp.o ---
> [ 17%] Building CXX object src/CMakeFiles/cxxabi_static.dir/cxa_demangle.cpp.o
> cd /tmp/work/lang/wasi-libcxx/work/build_libcxxabi/src && /tmp/work/lang/wasi-libcxx/work/.cwrapper/bin/c++ --target=wasm32-wasi --sysroot=/usr/pkg/wasi -DLIBCXXABI_SILENT_TERMINATE -DLIBCXXABI_USE_LLVM_UNWINDER -D_LIBCPP_BUILDING_LIBRARY -D_LIBCPP_DISABLE_EXTERN_TEMPLATE -D_LIBCPP_HAS_NO_THREADS -D_LIBCXXABI_BUILDING_LIBRARY -D_LIBCXXABI_HAS_NO_THREADS -I/tmp/work/lang/wasi-libcxx/work/libcxxabi/include -I/tmp/work/lang/wasi-libcxx/work/libcxxabi/../libcxx -O2 -I/usr/pkg/include -I/usr/include -Wno-reserved-user-defined-literal -DNDEBUG -fPIC -Werror=return-type -W -Wall -Wchar-subscripts -Wconversion -Wmismatched-tags -Wmissing-braces -Wnewline-eof -Wunused-function -Wshadow -Wshorten-64-to-32 -Wsign-compare -Wsign-conversion -Wstrict-aliasing=2 -Wstrict-overflow=4 -Wunused-parameter -Wunused-variable -Wwrite-strings -Wno-suggest-override -pedantic -fstrict-aliasing -fno-exceptions -D_DEBUG -UNDEBUG -I /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include -std=c++20 -MD -MT src/CMakeFiles/cxxabi_static.dir/cxa_demangle.cpp.o -MF CMakeFiles/cxxabi_static.dir/cxa_demangle.cpp.o.d -o CMakeFiles/cxxabi_static.dir/cxa_demangle.cpp.o -c /tmp/work/lang/wasi-libcxx/work/libcxxabi/src/cxa_demangle.cpp
> --- src/CMakeFiles/cxxabi_static.dir/cxa_aux_runtime.cpp.o ---
> In file included from /tmp/work/lang/wasi-libcxx/work/libcxxabi/src/cxa_aux_runtime.cpp:12:
> /tmp/work/lang/wasi-libcxx/work/libcxxabi/include/cxxabi.h:43:26: error: unknown type name 'size_t'
> __cxa_allocate_exception(size_t thrown_size) throw();
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxxabi/include/cxxabi.h:82:75: error: unknown type name 'uint32_t'
> extern _LIBCXXABI_FUNC_VIS _LIBCXXABI_ALWAYS_COLD int __cxa_guard_acquire(uint32_t *);
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxxabi/include/cxxabi.h:83:76: error: unknown type name 'uint32_t'
> extern _LIBCXXABI_FUNC_VIS _LIBCXXABI_ALWAYS_COLD void __cxa_guard_release(uint32_t *);
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxxabi/include/cxxabi.h:84:74: error: unknown type name 'uint32_t'
> extern _LIBCXXABI_FUNC_VIS _LIBCXXABI_ALWAYS_COLD void __cxa_guard_abort(uint32_t *);
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxxabi/include/cxxabi.h:93:15: error: unknown type name 'size_t'
> __cxa_vec_new(size_t element_count, size_t element_size, size_t padding_size,
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxxabi/include/cxxabi.h:93:37: error: unknown type name 'size_t'
> __cxa_vec_new(size_t element_count, size_t element_size, size_t padding_size,
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxxabi/include/cxxabi.h:93:58: error: unknown type name 'size_t'
> __cxa_vec_new(size_t element_count, size_t element_size, size_t padding_size,
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxxabi/include/cxxabi.h:97:16: error: unknown type name 'size_t'
> __cxa_vec_new2(size_t element_count, size_t element_size, size_t padding_size,
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxxabi/include/cxxabi.h:97:38: error: unknown type name 'size_t'
> __cxa_vec_new2(size_t element_count, size_t element_size, size_t padding_size,
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxxabi/include/cxxabi.h:97:59: error: unknown type name 'size_t'
> __cxa_vec_new2(size_t element_count, size_t element_size, size_t padding_size,
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxxabi/include/cxxabi.h:99:31: error: unknown type name 'size_t'
> void *(*alloc)(size_t), void (*dealloc)(void *));
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxxabi/include/cxxabi.h:102:16: error: unknown type name 'size_t'
> __cxa_vec_new3(size_t element_count, size_t element_size, size_t padding_size,
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxxabi/include/cxxabi.h:102:38: error: unknown type name 'size_t'
> __cxa_vec_new3(size_t element_count, size_t element_size, size_t padding_size,
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxxabi/include/cxxabi.h:102:59: error: unknown type name 'size_t'
> __cxa_vec_new3(size_t element_count, size_t element_size, size_t padding_size,
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxxabi/include/cxxabi.h:104:31: error: unknown type name 'size_t'
> void *(*alloc)(size_t), void (*dealloc)(void *, size_t));
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxxabi/include/cxxabi.h:104:64: error: unknown type name 'size_t'
> void *(*alloc)(size_t), void (*dealloc)(void *, size_t));
> ^
> --- src/CMakeFiles/cxxabi_static.dir/cxa_default_handlers.cpp.o ---
> In file included from /tmp/work/lang/wasi-libcxx/work/libcxxabi/src/cxa_default_handlers.cpp:11:
> In file included from /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/exception:83:
> In file included from /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/cstdlib:85:
> /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/stdlib.h:142:34: error: unknown type name 'ldiv_t'
> inline _LIBCPP_INLINE_VISIBILITY ldiv_t div(long __x, long __y) _NOEXCEPT {
> ^
> --- src/CMakeFiles/cxxabi_static.dir/cxa_aux_runtime.cpp.o ---
> /tmp/work/lang/wasi-libcxx/work/libcxxabi/include/cxxabi.h:107:37: error: unknown type name 'size_t'
> __cxa_vec_ctor(void *array_address, size_t element_count, size_t element_size,
> ^
> --- src/CMakeFiles/cxxabi_static.dir/cxa_default_handlers.cpp.o ---
> /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/stdlib.h:143:12: error: no member named 'ldiv' in the global namespace
> return ::ldiv(__x, __y);
> ~~^
> --- src/CMakeFiles/cxxabi_static.dir/cxa_aux_runtime.cpp.o ---
> /tmp/work/lang/wasi-libcxx/work/libcxxabi/include/cxxabi.h:107:59: error: unknown type name 'size_t'
> --- src/CMakeFiles/cxxabi_static.dir/cxa_default_handlers.cpp.o ---
> /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/stdlib.h:146:34: error: unknown type name 'lldiv_t'
> inline _LIBCPP_INLINE_VISIBILITY lldiv_t div(long long __x,
> ^
> --- src/CMakeFiles/cxxabi_static.dir/cxa_aux_runtime.cpp.o ---
> __cxa_vec_ctor(void *array_address, size_t element_count, size_t element_size,
> ^
> --- src/CMakeFiles/cxxabi_static.dir/cxa_default_handlers.cpp.o ---
> /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/stdlib.h:148:12: error: no member named 'lldiv' in the global namespace
> return ::lldiv(__x, __y);
> ~~^
> --- src/CMakeFiles/cxxabi_static.dir/cxa_aux_runtime.cpp.o ---
> /tmp/work/lang/wasi-libcxx/work/libcxxabi/include/cxxabi.h:111:48: error: unknown type name 'size_t'
> size_t element_count,
> ^
> fatal error: too many errors emitted, stopping now [-ferror-limit=]
> --- src/CMakeFiles/cxxabi_static.dir/cxa_demangle.cpp.o ---
> In file included from /tmp/work/lang/wasi-libcxx/work/libcxxabi/src/cxa_demangle.cpp:13:
> In file included from /tmp/work/lang/wasi-libcxx/work/libcxxabi/src/demangle/ItaniumDemangle.h:22:
> In file included from /tmp/work/lang/wasi-libcxx/work/libcxxabi/src/demangle/StringView.h:17:
> In file included from /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/algorithm:649:
> In file included from /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/__debug:14:
> In file included from /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/iosfwd:98:
> /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/wchar.h:137:77: error: use of undeclared identifier 'wcschr'
> wchar_t* __libcpp_wcschr(const wchar_t* __s, wchar_t __c) {return (wchar_t*)wcschr(__s, __c);}
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/wchar.h:144:87: error: use of undeclared identifier 'wcspbrk'
> wchar_t* __libcpp_wcspbrk(const wchar_t* __s1, const wchar_t* __s2) {return (wchar_t*)wcspbrk(__s1, __s2);}
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/wchar.h:151:78: error: use of undeclared identifier 'wcsrchr'; did you mean 'wcschr'?
> wchar_t* __libcpp_wcsrchr(const wchar_t* __s, wchar_t __c) {return (wchar_t*)wcsrchr(__s, __c);}
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/wchar.h:139:16: note: 'wcschr' declared here
> const wchar_t* wcschr(const wchar_t* __s, wchar_t __c) {return __libcpp_wcschr(__s, __c);}
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/wchar.h:158:86: error: use of undeclared identifier 'wcsstr'; did you mean 'wcschr'?
> wchar_t* __libcpp_wcsstr(const wchar_t* __s1, const wchar_t* __s2) {return (wchar_t*)wcsstr(__s1, __s2);}
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/wchar.h:141:16: note: 'wcschr' declared here
> wchar_t* wcschr( wchar_t* __s, wchar_t __c) {return __libcpp_wcschr(__s, __c);}
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/wchar.h:158:86: error: no matching function for call to 'wcschr'
> wchar_t* __libcpp_wcsstr(const wchar_t* __s1, const wchar_t* __s2) {return (wchar_t*)wcsstr(__s1, __s2);}
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/wchar.h:141:16: note: candidate disabled: <no message provided>
> wchar_t* wcschr( wchar_t* __s, wchar_t __c) {return __libcpp_wcschr(__s, __c);}
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/wchar.h:158:93: error: cannot initialize a parameter of type 'wchar_t *' with an lvalue of type 'const wchar_t *'
> wchar_t* __libcpp_wcsstr(const wchar_t* __s1, const wchar_t* __s2) {return (wchar_t*)wcsstr(__s1, __s2);}
> ^~~~
> /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/wchar.h:141:38: note: passing argument to parameter '__s' here
> wchar_t* wcschr( wchar_t* __s, wchar_t __c) {return __libcpp_wcschr(__s, __c);}
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/wchar.h:165:60: error: unknown type name 'size_t'
> wchar_t* __libcpp_wmemchr(const wchar_t* __s, wchar_t __c, size_t __n) {return (wchar_t*)wmemchr(__s, __c, __n);}
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/wchar.h:167:57: error: unknown type name 'size_t'
> const wchar_t* wmemchr(const wchar_t* __s, wchar_t __c, size_t __n) {return __libcpp_wmemchr(__s, __c, __n);}
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/wchar.h:169:57: error: unknown type name 'size_t'
> wchar_t* wmemchr( wchar_t* __s, wchar_t __c, size_t __n) {return __libcpp_wmemchr(__s, __c, __n);}
> ^
> In file included from /tmp/work/lang/wasi-libcxx/work/libcxxabi/src/cxa_demangle.cpp:13:
> In file included from /tmp/work/lang/wasi-libcxx/work/libcxxabi/src/demangle/ItaniumDemangle.h:22:
> In file included from /tmp/work/lang/wasi-libcxx/work/libcxxabi/src/demangle/StringView.h:17:
> In file included from /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/algorithm:649:
> In file included from /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/__debug:14:
> /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/iosfwd:222:14: error: use of undeclared identifier 'mbstate_t'
> typedef fpos<mbstate_t> streampos;
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/iosfwd:223:14: error: use of undeclared identifier 'mbstate_t'
> typedef fpos<mbstate_t> wstreampos;
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/iosfwd:225:14: error: use of undeclared identifier 'mbstate_t'
> typedef fpos<mbstate_t> u8streampos;
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/iosfwd:228:14: error: use of undeclared identifier 'mbstate_t'
> typedef fpos<mbstate_t> u16streampos;
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/iosfwd:229:14: error: use of undeclared identifier 'mbstate_t'
> typedef fpos<mbstate_t> u32streampos;
> ^
> In file included from /tmp/work/lang/wasi-libcxx/work/libcxxabi/src/cxa_demangle.cpp:13:
> In file included from /tmp/work/lang/wasi-libcxx/work/libcxxabi/src/demangle/ItaniumDemangle.h:22:
> In file included from /tmp/work/lang/wasi-libcxx/work/libcxxabi/src/demangle/StringView.h:17:
> In file included from /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/algorithm:649:
> In file included from /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/__debug:25:
> In file included from /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/cstdlib:85:
> /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/stdlib.h:142:34: error: unknown type name 'ldiv_t'
> inline _LIBCPP_INLINE_VISIBILITY ldiv_t div(long __x, long __y) _NOEXCEPT {
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/stdlib.h:143:12: error: no member named 'ldiv' in the global namespace
> return ::ldiv(__x, __y);
> ~~^
> /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/stdlib.h:146:34: error: unknown type name 'lldiv_t'
> inline _LIBCPP_INLINE_VISIBILITY lldiv_t div(long long __x,
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/stdlib.h:148:12: error: no member named 'lldiv' in the global namespace
> return ::lldiv(__x, __y);
> ~~^
> In file included from /tmp/work/lang/wasi-libcxx/work/libcxxabi/src/cxa_demangle.cpp:13:
> In file included from /tmp/work/lang/wasi-libcxx/work/libcxxabi/src/demangle/ItaniumDemangle.h:22:
> In file included from /tmp/work/lang/wasi-libcxx/work/libcxxabi/src/demangle/StringView.h:17:
> In file included from /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/algorithm:649:
> /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/__debug:130:41: error: reference to unresolved using declaration
> virtual bool __addable(const void*, ptrdiff_t) const = 0;
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/cstddef:49:1: note: using declaration annotated with 'using_if_exists' here
> using ::ptrdiff_t _LIBCPP_USING_IF_EXISTS;
> ^
> fatal error: too many errors emitted, stopping now [-ferror-limit=]
> --- src/CMakeFiles/cxxabi_static.dir/cxa_default_handlers.cpp.o ---
> In file included from /tmp/work/lang/wasi-libcxx/work/libcxxabi/src/cxa_default_handlers.cpp:11:
> /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/exception:184:12: error: reference to unresolved using declaration
> _VSTD::abort();
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxx-13.0.0.src/include/cstdlib:128:1: note: using declaration annotated with 'using_if_exists' here
> using ::abort _LIBCPP_USING_IF_EXISTS;
> ^
> In file included from /tmp/work/lang/wasi-libcxx/work/libcxxabi/src/cxa_default_handlers.cpp:13:
> In file included from /tmp/work/lang/wasi-libcxx/work/libcxxabi/src/abort_message.h:12:
> /tmp/work/lang/wasi-libcxx/work/libcxxabi/include/cxxabi.h:82:75: error: unknown type name 'uint32_t'
> extern _LIBCXXABI_FUNC_VIS _LIBCXXABI_ALWAYS_COLD int __cxa_guard_acquire(uint32_t *);
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxxabi/include/cxxabi.h:83:76: error: unknown type name 'uint32_t'
> extern _LIBCXXABI_FUNC_VIS _LIBCXXABI_ALWAYS_COLD void __cxa_guard_release(uint32_t *);
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxxabi/include/cxxabi.h:84:74: error: unknown type name 'uint32_t'
> extern _LIBCXXABI_FUNC_VIS _LIBCXXABI_ALWAYS_COLD void __cxa_guard_abort(uint32_t *);
> ^
> In file included from /tmp/work/lang/wasi-libcxx/work/libcxxabi/src/cxa_default_handlers.cpp:16:
> In file included from /tmp/work/lang/wasi-libcxx/work/libcxxabi/src/cxa_exception.h:18:
> /usr/pkg/lib/clang/13.0.0/include/unwind.h:55:9: error: unknown type name 'uintptr_t'
> typedef uintptr_t _Unwind_Word __attribute__((__mode__(__unwind_word__)));
> ^
> /usr/pkg/lib/clang/13.0.0/include/unwind.h:56:9: error: unknown type name 'intptr_t'
> typedef intptr_t _Unwind_Sword __attribute__((__mode__(__unwind_word__)));
> ^
> /usr/pkg/lib/clang/13.0.0/include/unwind.h:57:9: error: unknown type name 'uintptr_t'
> typedef uintptr_t _Unwind_Ptr;
> ^
> /usr/pkg/lib/clang/13.0.0/include/unwind.h:58:9: error: unknown type name 'uintptr_t'
> typedef uintptr_t _Unwind_Internal_Ptr;
> ^
> /usr/pkg/lib/clang/13.0.0/include/unwind.h:59:9: error: unknown type name 'uint64_t'
> typedef uint64_t _Unwind_Exception_Class;
> ^
> /usr/pkg/lib/clang/13.0.0/include/unwind.h:61:9: error: unknown type name 'intptr_t'
> typedef intptr_t _sleb128_t;
> ^
> /usr/pkg/lib/clang/13.0.0/include/unwind.h:62:9: error: unknown type name 'uintptr_t'
> typedef uintptr_t _uleb128_t;
> ^
> In file included from /tmp/work/lang/wasi-libcxx/work/libcxxabi/src/cxa_default_handlers.cpp:16:
> /tmp/work/lang/wasi-libcxx/work/libcxxabi/src/cxa_exception.h:22:14: error: unknown type name 'uint64_t'
> static const uint64_t kOurExceptionClass = 0x434C4E47432B2B00; // CLNGC++\0
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxxabi/src/cxa_exception.h:23:14: error: unknown type name 'uint64_t'
> static const uint64_t kOurDependentExceptionClass = 0x434C4E47432B2B01; // CLNGC++\1
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxxabi/src/cxa_exception.h:24:14: error: unknown type name 'uint64_t'
> static const uint64_t get_vendor_and_language = 0xFFFFFFFFFFFFFF00; // mask for CLNGC++
> ^
> /tmp/work/lang/wasi-libcxx/work/libcxxabi/src/cxa_exception.h:26:19: error: unknown type name 'uint64_t'
> _LIBCXXABI_HIDDEN uint64_t __getExceptionClass (const _Unwind_Exception*);
> ^
> fatal error: too many errors emitted, stopping now [-ferror-limit=]
> --- src/CMakeFiles/cxxabi_static.dir/cxa_aux_runtime.cpp.o ---
> 20 errors generated.
> *** [src/CMakeFiles/cxxabi_static.dir/cxa_aux_runtime.cpp.o] Error code 1
>
> make[2]: stopped in /tmp/work/lang/wasi-libcxx/work/build_libcxxabi
> --- src/CMakeFiles/cxxabi_static.dir/cxa_default_handlers.cpp.o ---
> 20 errors generated.
> *** [src/CMakeFiles/cxxabi_static.dir/cxa_default_handlers.cpp.o] Error code 1
>
> make[2]: stopped in /tmp/work/lang/wasi-libcxx/work/build_libcxxabi
> --- src/CMakeFiles/cxxabi_static.dir/cxa_demangle.cpp.o ---
> 20 errors generated.
> *** [src/CMakeFiles/cxxabi_static.dir/cxa_demangle.cpp.o] Error code 1
>
> make[2]: stopped in /tmp/work/lang/wasi-libcxx/work/build_libcxxabi
> 3 errors
>
> make[2]: stopped in /tmp/work/lang/wasi-libcxx/work/build_libcxxabi
> *** [src/CMakeFiles/cxxabi_static.dir/all] Error code 2
>
> make[1]: stopped in /tmp/work/lang/wasi-libcxx/work/build_libcxxabi
> 1 error
>
> make[1]: stopped in /tmp/work/lang/wasi-libcxx/work/build_libcxxabi
> *** [all] Error code 2
>
> make: stopped in /tmp/work/lang/wasi-libcxx/work/build_libcxxabi
> 1 error
>
> make: stopped in /tmp/work/lang/wasi-libcxx/work/build_libcxxabi
> *** Error code 2
>
> Stop.
> make[1]: stopped in /home/n0/gdt/pkgsrc-current/pkgsrc/lang/wasi-libcxx
> *** Error code 1
>
> Stop.
> make: stopped in /usr/pkgsrc/lang/wasi-libcxx
--
Ryo ONODERA // ryo%tetera.org@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3
Home |
Main Index |
Thread Index |
Old Index