pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: error building lang/wasi-compiler-rt





On Tue, 10 Oct 2023 at 13:55, Paul Goyette <paul%whooppee.com@localhost> wrote:
On Tue, 10 Oct 2023, Chavdar Ivanov wrote:

> FWIW, it compiles for me without any problems on 10.99.10 amd64.

There was an earlier report from someone else (Mike Pumford) at
https://mail-index.netbsd.org/pkgsrc-users/2023/10/08/msg038231.html
with identical error log.

No idea. Here it is:
...
# pkg_info -L wasi-compiler-rt-15.0.7nb1
Information for wasi-compiler-rt-15.0.7nb1:

Files:
/usr/pkg/lib/clang/15.0.7/lib/wasi/libclang_rt.builtins-wasm32.a

# ls -l /usr/pkg/lib/clang/15.0.7/lib/wasi/libclang_rt.builtins-wasm32.a
-rw-r--r--  1 root  wheel  90276 Oct 10 14:02 /usr/pkg/lib/clang/15.0.7/lib/wasi/libclang_rt.builtins-wasm32.a
# uname -a
NetBSD ymir.lorien.lan 10.99.10 NetBSD 10.99.10 (GENERIC) #10: Mon Oct  9 15:38:29 BST 2023  sysbuild%ymir.lorien.lan@localhost:/dumps/sysbuild/amd64/obj/home/sysbuild/src/sys/arch/amd64/com
pile/GENERIC amd64
...


 
>
>
> On Tue, 10 Oct 2023 at 07:03, Ryo ONODERA <ryo%tetera.org@localhost> wrote:
>
>> Hi,
>>
>> I have a fix for this issue.
>> I will commit the fix tonight hopefully.
>>
>>
>> --
>> Ryo ONODERA // ryo%tetera.org@localhost
>> PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3
>>
>> On Tue, Oct 10, 2023, 02:18 Paul Goyette <paul%whooppee.com@localhost> wrote:
>>
>>> repeatable error.  pkgsrc up-to-date, host is a amd64 running
>>> NetBSD 10.99.8
>>>
>>> ### 4870 - wasi-compiler-rt - Installing on Mon, Oct  9, 2023 at 17:13:01
>>> UTC
>>> ===> Cleaning for wasi-compiler-rt-16.0.6
>>> => Bootstrap dependency digest>=20211023: found digest-20220214
>>> => Checksum BLAKE2s OK for cmake-16.0.6.src.tar.xz
>>> => Checksum SHA512 OK for cmake-16.0.6.src.tar.xz
>>> => Checksum BLAKE2s OK for compiler-rt-16.0.6.src.tar.xz
>>> => Checksum SHA512 OK for compiler-rt-16.0.6.src.tar.xz
>>> ===> Installing dependencies for wasi-compiler-rt-16.0.6
>>> ==========================================================================
>>> The following variables will affect the build process of this package,
>>> wasi-compiler-rt-16.0.6.  Their current value is shown below:
>>>
>>>          * TERMINFO_DEFAULT = terminfo
>>>
>>> Based on these variables, the following variables have been set:
>>>
>>>          * TERMINFO_TYPE = terminfo
>>>
>>> You may want to abort the process now with CTRL-C and change the value
>>> of variables in the first group before continuing.  Be sure to run
>>> `/usr/bin/make clean' after the changes.
>>> ==========================================================================
>>> => Tool dependency cmake>=0: found cmake-3.27.6
>>> => Tool dependency mktools-[0-9]*: found mktools-20220614
>>> => Tool dependency cwrappers>=20150314: found cwrappers-20220403
>>> => Build dependency clang>=16.0.0<17: found clang-16.0.6
>>> => Build dependency wasi-libc>=0.0.0pre20210923: found
>>> wasi-libc-0.0.0pre20220311nb3
>>> => Full dependency llvm>=16.0.0<17: found llvm-16.0.6
>>> ===> Skipping vulnerability checks.
>>> WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
>>> WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb
>>> fetch-pkg-vulnerabilities'.
>>> ===> Overriding tools for wasi-compiler-rt-16.0.6
>>> ===> Extracting for wasi-compiler-rt-16.0.6
>>> /bin/ln -f -s
>>> /tmp/pkgs/lang/wasi-compiler-rt/work.x86_64/cmake-16.0.6.src
>>> /tmp/pkgs/lang/wasi-compiler-rt/work.x86_64/cmake
>>> ===> Patching for wasi-compiler-rt-16.0.6
>>> => Applying pkgsrc patches for wasi-compiler-rt-16.0.6
>>> ===> Creating toolchain wrappers for wasi-compiler-rt-16.0.6
>>> ===> Configuring for wasi-compiler-rt-16.0.6
>>> -- The C compiler identification is Clang 16.0.6
>>> -- The CXX compiler identification is Clang 16.0.6
>>> -- The ASM compiler identification is Clang with GNU-like command-line
>>> -- Found assembler:
>>> /tmp/pkgs/lang/wasi-compiler-rt/work.x86_64/.cwrapper/bin/gcc
>>> -- Detecting C compiler ABI info
>>> -- Detecting C compiler ABI info - failed
>>> -- Detecting C compile features
>>> -- Detecting C compile features - done
>>> -- Detecting CXX compiler ABI info
>>> -- Detecting CXX compiler ABI info - failed
>>> -- Detecting CXX compile features
>>> -- Detecting CXX compile features - done
>>> -- Looking for unwind.h
>>> -- Looking for unwind.h - not found
>>> -- Looking for rpc/xdr.h
>>> -- Looking for rpc/xdr.h - not found
>>> CMake Warning at cmake/Modules/CompilerRTUtils.cmake:281 (message):
>>>    LLVM_CONFIG_PATH is deprecated, please use LLVM_CMAKE_DIR instead
>>> Call Stack (most recent call first):
>>>    CMakeLists.txt:92 (load_llvm_config)
>>>
>>>
>>> CMake Warning at cmake/Modules/CompilerRTUtils.cmake:298 (message):
>>>    LLVM source tree not found at
>>>    "/tmp/pkgs/lang/wasi-compiler-rt/work.x86_64/llvm".  You are not using
>>> the
>>>    monorepo layout.  This configuration is DEPRECATED.
>>> Call Stack (most recent call first):
>>>    CMakeLists.txt:92 (load_llvm_config)
>>>
>>>
>>> -- Performing Test Terminfo_LINKABLE
>>> -- Performing Test Terminfo_LINKABLE - Failed
>>> -- Could NOT find Terminfo (missing: Terminfo_LINKABLE)
>>> -- Found ZLIB: /usr/lib/libz.so (found version "1.2.13")
>>> -- Found zstd: /usr/pkg/lib/libzstd.so
>>> -- Found LibXml2: /usr/pkg/lib/libxml2.so (found version "2.10.4")
>>> CMake Warning at cmake/Modules/CompilerRTUtils.cmake:326 (message):
>>>    LLVMTestingSupport not found in LLVM_AVAILABLE_LIBS
>>> Call Stack (most recent call first):
>>>    CMakeLists.txt:92 (load_llvm_config)
>>>
>>>
>>> -- LLVM_MAIN_SRC_DIR: "/tmp/pkgs/lang/wasi-compiler-rt/work.x86_64/llvm"
>>> CMake Warning at cmake/Modules/CompilerRTUtils.cmake:338 (message):
>>>    LLVM_MAIN_SRC_DIR (/tmp/pkgs/lang/wasi-compiler-rt/work.x86_64/llvm)
>>> does
>>>    not exist.  You can override the inferred path by adding
>>>    `-DLLVM_MAIN_SRC_DIR=<path_to_llvm_src>` to your CMake invocation where
>>>    `<path_to_llvm_src>` is the path to the `llvm` directory in the
>>>    `llvm-project` repo.  This will be treated as error in the future.
>>> Call Stack (most recent call first):
>>>    CMakeLists.txt:92 (load_llvm_config)
>>>
>>>
>>> -- Found Python3: /usr/pkg/bin/python3.11 (found version "3.11.6") found
>>> components: Interpreter
>>> -- Performing Test CXX_SUPPORTS_UNWINDLIB_NONE_FLAG
>>> -- Performing Test CXX_SUPPORTS_UNWINDLIB_NONE_FLAG - Failed
>>> -- Looking for fopen in c
>>> -- Looking for fopen in c - not found
>>> -- Looking for __gcc_personality_v0 in gcc_s
>>> -- Looking for __gcc_personality_v0 in gcc_s - not found
>>> -- Performing Test C_SUPPORTS_NODEFAULTLIBS_FLAG
>>> -- Performing Test C_SUPPORTS_NODEFAULTLIBS_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_FFREESTANDING_FLAG
>>> -- Performing Test COMPILER_RT_HAS_FFREESTANDING_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_OMIT_FRAME_POINTER_FLAG
>>> -- Performing Test COMPILER_RT_HAS_OMIT_FRAME_POINTER_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_FCF_PROTECTION_FLAG
>>> -- Performing Test COMPILER_RT_HAS_FCF_PROTECTION_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_FNO_EXCEPTIONS_FLAG
>>> -- Performing Test COMPILER_RT_HAS_FNO_EXCEPTIONS_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_FOMIT_FRAME_POINTER_FLAG
>>> -- Performing Test COMPILER_RT_HAS_FOMIT_FRAME_POINTER_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_FUNWIND_TABLES_FLAG
>>> -- Performing Test COMPILER_RT_HAS_FUNWIND_TABLES_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_FNO_STACK_PROTECTOR_FLAG
>>> -- Performing Test COMPILER_RT_HAS_FNO_STACK_PROTECTOR_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_FNO_SANITIZE_SAFE_STACK_FLAG
>>> -- Performing Test COMPILER_RT_HAS_FNO_SANITIZE_SAFE_STACK_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_FVISIBILITY_HIDDEN_FLAG
>>> -- Performing Test COMPILER_RT_HAS_FVISIBILITY_HIDDEN_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_FRTTI_FLAG
>>> -- Performing Test COMPILER_RT_HAS_FRTTI_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_FNO_RTTI_FLAG
>>> -- Performing Test COMPILER_RT_HAS_FNO_RTTI_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_FNO_FUNCTION_SECTIONS_FLAG
>>> -- Performing Test COMPILER_RT_HAS_FNO_FUNCTION_SECTIONS_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_FTLS_MODEL_INITIAL_EXEC
>>> -- Performing Test COMPILER_RT_HAS_FTLS_MODEL_INITIAL_EXEC - Failed
>>> -- Performing Test COMPILER_RT_HAS_FNO_LTO_FLAG
>>> -- Performing Test COMPILER_RT_HAS_FNO_LTO_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_FNO_PROFILE_GENERATE_FLAG
>>> -- Performing Test COMPILER_RT_HAS_FNO_PROFILE_GENERATE_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_FNO_PROFILE_INSTR_GENERATE_FLAG
>>> -- Performing Test COMPILER_RT_HAS_FNO_PROFILE_INSTR_GENERATE_FLAG -
>>> Failed
>>> -- Performing Test COMPILER_RT_HAS_FNO_PROFILE_INSTR_USE_FLAG
>>> -- Performing Test COMPILER_RT_HAS_FNO_PROFILE_INSTR_USE_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_FNO_COVERAGE_MAPPING_FLAG
>>> -- Performing Test COMPILER_RT_HAS_FNO_COVERAGE_MAPPING_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_MCRC32_FLAG
>>> -- Performing Test COMPILER_RT_HAS_MCRC32_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_MSSE3_FLAG
>>> -- Performing Test COMPILER_RT_HAS_MSSE3_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_MSSE4_2_FLAG
>>> -- Performing Test COMPILER_RT_HAS_MSSE4_2_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_SYSROOT_FLAG
>>> -- Performing Test COMPILER_RT_HAS_SYSROOT_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_MCRC_FLAG
>>> -- Performing Test COMPILER_RT_HAS_MCRC_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_FNO_PARTIAL_INLINING_FLAG
>>> -- Performing Test COMPILER_RT_HAS_FNO_PARTIAL_INLINING_FLAG - Failed
>>> -- Performing Test -ftrivial-auto-var-init=pattern
>>> -- Performing Test -ftrivial-auto-var-init=pattern - Failed
>>> -- Performing Test COMPILER_RT_HAS_FVISIBILITY_INLINES_HIDDEN_FLAG
>>> -- Performing Test COMPILER_RT_HAS_FVISIBILITY_INLINES_HIDDEN_FLAG -
>>> Failed
>>> -- Performing Test COMPILER_RT_HAS_GR_FLAG
>>> -- Performing Test COMPILER_RT_HAS_GR_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_GS_FLAG
>>> -- Performing Test COMPILER_RT_HAS_GS_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_MT_FLAG
>>> -- Performing Test COMPILER_RT_HAS_MT_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_Oy_FLAG
>>> -- Performing Test COMPILER_RT_HAS_Oy_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_GLINE_TABLES_ONLY_FLAG
>>> -- Performing Test COMPILER_RT_HAS_GLINE_TABLES_ONLY_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_G_FLAG
>>> -- Performing Test COMPILER_RT_HAS_G_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_Zi_FLAG
>>> -- Performing Test COMPILER_RT_HAS_Zi_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_WALL_FLAG
>>> -- Performing Test COMPILER_RT_HAS_WALL_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_WERROR_FLAG
>>> -- Performing Test COMPILER_RT_HAS_WERROR_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_WFRAME_LARGER_THAN_FLAG
>>> -- Performing Test COMPILER_RT_HAS_WFRAME_LARGER_THAN_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_WGLOBAL_CONSTRUCTORS_FLAG
>>> -- Performing Test COMPILER_RT_HAS_WGLOBAL_CONSTRUCTORS_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_WC99_EXTENSIONS_FLAG
>>> -- Performing Test COMPILER_RT_HAS_WC99_EXTENSIONS_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_WGNU_FLAG
>>> -- Performing Test COMPILER_RT_HAS_WGNU_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_WNON_VIRTUAL_DTOR_FLAG
>>> -- Performing Test COMPILER_RT_HAS_WNON_VIRTUAL_DTOR_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_WVARIADIC_MACROS_FLAG
>>> -- Performing Test COMPILER_RT_HAS_WVARIADIC_MACROS_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_WUNUSED_PARAMETER_FLAG
>>> -- Performing Test COMPILER_RT_HAS_WUNUSED_PARAMETER_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_WCOVERED_SWITCH_DEFAULT_FLAG
>>> -- Performing Test COMPILER_RT_HAS_WCOVERED_SWITCH_DEFAULT_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_WSUGGEST_OVERRIDE_FLAG
>>> -- Performing Test COMPILER_RT_HAS_WSUGGEST_OVERRIDE_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_WTHREAD_SAFETY_FLAG
>>> -- Performing Test COMPILER_RT_HAS_WTHREAD_SAFETY_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_WTHREAD_SAFETY_REFERENCE_FLAG
>>> -- Performing Test COMPILER_RT_HAS_WTHREAD_SAFETY_REFERENCE_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_WTHREAD_SAFETY_BETA_FLAG
>>> -- Performing Test COMPILER_RT_HAS_WTHREAD_SAFETY_BETA_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_WNO_PEDANTIC
>>> -- Performing Test COMPILER_RT_HAS_WNO_PEDANTIC - Failed
>>> -- Performing Test COMPILER_RT_HAS_WNO_FORMAT
>>> -- Performing Test COMPILER_RT_HAS_WNO_FORMAT - Failed
>>> -- Performing Test COMPILER_RT_HAS_WNO_FORMAT_PEDANTIC
>>> -- Performing Test COMPILER_RT_HAS_WNO_FORMAT_PEDANTIC - Failed
>>> -- Performing Test COMPILER_RT_HAS_EXTERNAL_FLAG
>>> -- Performing Test COMPILER_RT_HAS_EXTERNAL_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_W4_FLAG
>>> -- Performing Test COMPILER_RT_HAS_W4_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_WX_FLAG
>>> -- Performing Test COMPILER_RT_HAS_WX_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_WD4146_FLAG
>>> -- Performing Test COMPILER_RT_HAS_WD4146_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_WD4206_FLAG
>>> -- Performing Test COMPILER_RT_HAS_WD4206_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_WD4291_FLAG
>>> -- Performing Test COMPILER_RT_HAS_WD4291_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_WD4221_FLAG
>>> -- Performing Test COMPILER_RT_HAS_WD4221_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_WD4391_FLAG
>>> -- Performing Test COMPILER_RT_HAS_WD4391_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_WD4722_FLAG
>>> -- Performing Test COMPILER_RT_HAS_WD4722_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_WD4800_FLAG
>>> -- Performing Test COMPILER_RT_HAS_WD4800_FLAG - Failed
>>> -- Performing Test -Warray-bounds
>>> -- Performing Test -Warray-bounds - Failed
>>> -- Performing Test -Wuninitialized
>>> -- Performing Test -Wuninitialized - Failed
>>> -- Performing Test -Wshadow
>>> -- Performing Test -Wshadow - Failed
>>> -- Performing Test -Wempty-body
>>> -- Performing Test -Wempty-body - Failed
>>> -- Performing Test -Wsizeof-pointer-memaccess
>>> -- Performing Test -Wsizeof-pointer-memaccess - Failed
>>> -- Performing Test -Wsizeof-array-argument
>>> -- Performing Test -Wsizeof-array-argument - Failed
>>> -- Performing Test -Wsuspicious-memaccess
>>> -- Performing Test -Wsuspicious-memaccess - Failed
>>> -- Performing Test -Wbuiltin-memcpy-chk-size
>>> -- Performing Test -Wbuiltin-memcpy-chk-size - Failed
>>> -- Performing Test -Warray-bounds-pointer-arithmetic
>>> -- Performing Test -Warray-bounds-pointer-arithmetic - Failed
>>> -- Performing Test -Wreturn-stack-address
>>> -- Performing Test -Wreturn-stack-address - Failed
>>> -- Performing Test -Wsizeof-array-decay
>>> -- Performing Test -Wsizeof-array-decay - Failed
>>> -- Performing Test -Wformat-insufficient-args
>>> -- Performing Test -Wformat-insufficient-args - Failed
>>> -- Performing Test -Wformat-security
>>> -- Performing Test -Wformat-security - Failed
>>> -- Performing Test -Wsizeof-array-div
>>> -- Performing Test -Wsizeof-array-div - Failed
>>> -- Performing Test -Wsizeof-pointer-div
>>> -- Performing Test -Wsizeof-pointer-div - Failed
>>> -- Looking for __func__
>>> -- Looking for __func__ - not found
>>> -- Performing Test COMPILER_RT_HAS_NOSTDINCXX_FLAG
>>> -- Performing Test COMPILER_RT_HAS_NOSTDINCXX_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_NOSTDLIBXX_FLAG
>>> -- Performing Test COMPILER_RT_HAS_NOSTDLIBXX_FLAG - Failed
>>> -- Looking for include file sys/auxv.h
>>> -- Looking for include file sys/auxv.h - not found
>>> -- Looking for dlopen in dl
>>> -- Looking for dlopen in dl - not found
>>> -- Looking for shm_open in rt
>>> -- Looking for shm_open in rt - not found
>>> -- Looking for pow in m
>>> -- Looking for pow in m - not found
>>> -- Looking for pthread_create in pthread
>>> -- Looking for pthread_create in pthread - not found
>>> -- Looking for backtrace in execinfo
>>> -- Looking for backtrace in execinfo - not found
>>> -- Looking for __cxa_throw in c++
>>> -- Looking for __cxa_throw in c++ - not found
>>> -- Looking for __cxa_throw in stdc++
>>> -- Looking for __cxa_throw in stdc++ - not found
>>> -- Performing Test COMPILER_RT_HAS_Z_TEXT
>>> -- Performing Test COMPILER_RT_HAS_Z_TEXT - Failed
>>> -- Performing Test COMPILER_RT_HAS_FUSE_LD_LLD_FLAG
>>> -- Performing Test COMPILER_RT_HAS_FUSE_LD_LLD_FLAG - Failed
>>> -- Performing Test COMPILER_RT_HAS_VERSION_SCRIPT
>>> -- Performing Test COMPILER_RT_HAS_VERSION_SCRIPT - Failed
>>> CMake Error at cmake/Modules/CompilerRTUtils.cmake:144 (message):
>>>    Cannot compile for wasm32:
>>>
>>>    Change Dir:
>>>
>>>  '/tmp/pkgs/lang/wasi-compiler-rt/work.x86_64/compiler-rt-16.0.6.src/cmake-pkgsrc-build/CMakeFiles/CMakeTmp'
>>>
>>>
>>>
>>>
>>>    Run Build Command(s): /usr/pkg/bin/cmake -E env VERBOSE=1
>>>    /usr/pkg/bin/gmake -f Makefile cmTC_e96cf/fast
>>>
>>>    make -f CMakeFiles/cmTC_e96cf.dir/build.make
>>>    CMakeFiles/cmTC_e96cf.dir/build
>>>
>>>    Building CXX object CMakeFiles/cmTC_e96cf.dir/simple.cc.o
>>>
>>>    /tmp/pkgs/lang/wasi-compiler-rt/work.x86_64/.cwrapper/bin/c++
>>>    --sysroot=/tmp/pkgs/lang/wasi-compiler-rt/work.x86_64/.buildlink/wasi
>>> -O2
>>>    -I/usr/pkg/include -I/usr/include -std=c++17
>>>    --target=wasm32-unknown-unknown -MD -MT
>>>    CMakeFiles/cmTC_e96cf.dir/simple.cc.o -MF
>>>    CMakeFiles/cmTC_e96cf.dir/simple.cc.o.d -o
>>>    CMakeFiles/cmTC_e96cf.dir/simple.cc.o -c
>>>
>>>  /tmp/pkgs/lang/wasi-compiler-rt/work.x86_64/compiler-rt-16.0.6.src/cmake-pkgsrc-build/CMakeFiles/simple.cc
>>>
>>>
>>>    In file included from
>>>
>>>  /tmp/pkgs/lang/wasi-compiler-rt/work.x86_64/compiler-rt-16.0.6.src/cmake-pkgsrc-build/CMakeFiles/simple.cc:2:
>>>
>>>
>>>    In file included from
>>>
>>>  /tmp/pkgs/lang/wasi-compiler-rt/work.x86_64/.buildlink/wasi/include/stdio.h:52:
>>>
>>>
>>>    In file included from
>>>
>>>  /tmp/pkgs/lang/wasi-compiler-rt/work.x86_64/.buildlink/wasi/include/__seek.h:4:
>>>
>>>
>>>
>>>
>>>  /tmp/pkgs/lang/wasi-compiler-rt/work.x86_64/.buildlink/wasi/include/wasi/api.h:27:2:
>>>    error: <wasi/api.h> is only supported on WASI platforms.
>>>
>>>    #error <wasi/api.h> is only supported on WASI platforms.
>>>
>>>     ^
>>>
>>>    1 error generated.
>>>
>>>    *** Error code 1
>>>
>>>
>>>
>>>    Stop.
>>>
>>>    make[1]: stopped in
>>>
>>>  /tmp/pkgs/lang/wasi-compiler-rt/work.x86_64/compiler-rt-16.0.6.src/cmake-pkgsrc-build/CMakeFiles/CMakeTmp
>>>
>>>
>>>    gmake: *** [Makefile:127: cmTC_e96cf/fast] Error 1
>>>
>>>
>>>
>>> Call Stack (most recent call first):
>>>    cmake/base-config-ix.cmake:267 (test_target_arch)
>>>    cmake/config-ix.cmake:242 (test_targets)
>>>    CMakeLists.txt:304 (include)
>>>
>>>
>>> -- Configuring incomplete, errors occurred!
>>> *** Error code 1
>>>
>>> Stop.
>>> make[1]: stopped in /build/pkgsrc/lang/wasi-compiler-rt
>>> *** Error code 1
>>>
>>> Stop.
>>> make: stopped in /build/pkgsrc/lang/wasi-compiler-rt
>>> ### 4870 - wasi-compiler-rt - Failed on Mon, Oct  9, 2023 at 17:13:28 UTC
>>>
>>> +--------------------+--------------------------+----------------------+
>>> | Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:    |
>>> | (Retired)          | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost    |
>>> | Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost  |
>>> | & Network Engineer |                          | pgoyette99%gmail.com@localhost |
>>> +--------------------+--------------------------+----------------------+
>>>
>>
>
>
> !DSPAM:6525451688714432327827!
>

+--------------------+--------------------------+----------------------+
| Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:    |
| (Retired)          | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost    |
| Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost  |
| & Network Engineer |                          | pgoyette99%gmail.com@localhost |
+--------------------+--------------------------+----------------------+


--
----


Home | Main Index | Thread Index | Old Index