Skip to content

Instantly share code, notes, and snippets.

@khaneliman
Created December 30, 2024 15:55
Show Gist options
  • Save khaneliman/ebdafe3b92413ea91fad1f3734e9148c to your computer and use it in GitHub Desktop.
Save khaneliman/ebdafe3b92413ea91fad1f3734e9148c to your computer and use it in GitHub Desktop.
rocm-llvm-libc-6.0.2
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/p4a8g4qva95m58g4j1ppx5afqhjgd8xw-source
source root is source/runtimes
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
fixing cmake files...
cmake flags: -GNinja -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LOCALEDIR=/nix/store/j3yx5caja6nzqwc7fkzi9vqnwcy86am4-rocm-llvm-libc-6.0.2/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/j3yx5caja6nzqwc7fkzi9vqnwcy86am4-rocm-llvm-libc-6.0.2/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/j3yx5caja6nzqwc7fkzi9vqnwcy86am4-rocm-llvm-libc-6.0.2/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/jqg83sknasfcdjcxrjm8p0wx7bjy461b-rocm-llvm-libc-6.0.2-doc/share/doc/Runtimes -DCMAKE_INSTALL_INFODIR=/nix/store/j3yx5caja6nzqwc7fkzi9vqnwcy86am4-rocm-llvm-libc-6.0.2/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/j3yx5caja6nzqwc7fkzi9vqnwcy86am4-rocm-llvm-libc-6.0.2/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/j3yx5caja6nzqwc7fkzi9vqnwcy86am4-rocm-llvm-libc-6.0.2/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/j3yx5caja6nzqwc7fkzi9vqnwcy86am4-rocm-llvm-libc-6.0.2/include -DCMAKE_INSTALL_SBINDIR=/nix/store/j3yx5caja6nzqwc7fkzi9vqnwcy86am4-rocm-llvm-libc-6.0.2/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/j3yx5caja6nzqwc7fkzi9vqnwcy86am4-rocm-llvm-libc-6.0.2/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/j3yx5caja6nzqwc7fkzi9vqnwcy86am4-rocm-llvm-libc-6.0.2/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/g8yj2r057p9ai1c1c5sj321gg2c9smcr-rocm-llvm-binutils-6.0.2/bin/strip -DCMAKE_RANLIB=/nix/store/7sqn5142gh5asri8aqxvsvib9ii37fyq-rocm-llvm-clang-unwrapped-wrapper-6.0.2/bin/ranlib -DCMAKE_AR=/nix/store/7sqn5142gh5asri8aqxvsvib9ii37fyq-rocm-llvm-clang-unwrapped-wrapper-6.0.2/bin/ar -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX=/nix/store/j3yx5caja6nzqwc7fkzi9vqnwcy86am4-rocm-llvm-libc-6.0.2 -DLLVM_TARGETS_TO_BUILD=AMDGPU\;X86 -DLLVM_ENABLE_RUNTIMES=libc -DLLVM_INCLUDE_DOCS=ON -DLLVM_BUILD_DOCS=ON -DLLVM_ENABLE_SPHINX=ON -DSPHINX_OUTPUT_HTML=ON -DSPHINX_OUTPUT_MAN=ON -DSPHINX_WARNINGS_AS_ERRORS=OFF -DLLVM_INCLUDE_TESTS=ON -DLLVM_BUILD_TESTS=ON -DLLVM_EXTERNAL_LIT=/nix/store/ll40w9mfpybkn17vs148wz47226i7bbh-python3.12-lit-18.1.8/bin/.lit-wrapped
-- The C compiler identification is Clang 17.0.0
-- The CXX compiler identification is Clang 17.0.0
-- The ASM compiler identification is Clang with GNU-like command-line
-- Found assembler: /nix/store/7sqn5142gh5asri8aqxvsvib9ii37fyq-rocm-llvm-clang-unwrapped-wrapper-6.0.2/bin/clang
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nix/store/7sqn5142gh5asri8aqxvsvib9ii37fyq-rocm-llvm-clang-unwrapped-wrapper-6.0.2/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /nix/store/7sqn5142gh5asri8aqxvsvib9ii37fyq-rocm-llvm-clang-unwrapped-wrapper-6.0.2/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could NOT find LLVM (missing: LLVM_DIR)
-- Could NOT find Clang (missing: Clang_DIR)
-- Performing Test CXX_SUPPORTS_UNWINDLIB_EQ_NONE_FLAG
-- Performing Test CXX_SUPPORTS_UNWINDLIB_EQ_NONE_FLAG - Success
-- Performing Test C_SUPPORTS_START_NO_UNUSED_ARGUMENTS
-- Performing Test C_SUPPORTS_START_NO_UNUSED_ARGUMENTS - Success
-- Performing Test CXX_SUPPORTS_NOSTDLIBXX_FLAG
-- Performing Test CXX_SUPPORTS_NOSTDLIBXX_FLAG - Success
-- Performing Test CXX_SUPPORTS_NOSTDINCXX_FLAG
-- Performing Test CXX_SUPPORTS_NOSTDINCXX_FLAG - Success
-- Linker detection: LLD
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success
-- Performing Test C_SUPPORTS_WERROR_DATE_TIME
-- Performing Test C_SUPPORTS_WERROR_DATE_TIME - Success
-- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME
-- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME - Success
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW
-- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Success
-- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW
-- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Success
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG
-- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success
-- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG
-- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success
-- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG
-- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
-- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Success
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
-- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Success
-- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG
-- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG - Failed
-- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG
-- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG - Success
-- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR
-- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR - Success
-- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG
-- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG - Success
-- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL
-- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL - Success
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP
-- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Success
-- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG
-- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG - Success
-- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG
-- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG - Success
-- Performing Test C_SUPPORTS_MISLEADING_INDENTATION_FLAG
-- Performing Test C_SUPPORTS_MISLEADING_INDENTATION_FLAG - Success
-- Performing Test CXX_SUPPORTS_MISLEADING_INDENTATION_FLAG
-- Performing Test CXX_SUPPORTS_MISLEADING_INDENTATION_FLAG - Success
-- Performing Test C_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG
-- Performing Test C_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG - Success
-- Performing Test CXX_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG
-- Performing Test CXX_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG - Success
-- Performing Test LINKER_SUPPORTS_COLOR_DIAGNOSTICS
-- Performing Test LINKER_SUPPORTS_COLOR_DIAGNOSTICS - Success
-- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS
-- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS - Success
-- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS
-- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS - Success
-- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS
-- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS - Success
-- Performing Test C_SUPPORTS_FDATA_SECTIONS
-- Performing Test C_SUPPORTS_FDATA_SECTIONS - Success
-- Performing Test CXX_SUPPORTS_FDATA_SECTIONS
-- Performing Test CXX_SUPPORTS_FDATA_SECTIONS - Success
-- Looking for os_signpost_interval_begin
-- Looking for os_signpost_interval_begin - not found
-- Found Python3: /nix/store/17gplrlgbkpxzviwqg988n9ajybjaw4c-python3-3.12.8-env/bin/python3.12 (found version "3.12.8") found components: Interpreter
-- LLVM host triple: x86_64-unknown-linux-gnu
-- LLVM default target triple: x86_64-unknown-linux-gnu
CMake Deprecation Warning at /build/source/cmake/Modules/CMakePolicy.cmake:6 (cmake_policy):
The OLD behavior for policy CMP0114 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
Call Stack (most recent call first):
/build/source/libc/CMakeLists.txt:7 (include)

CMake Deprecation Warning at /build/source/cmake/Modules/CMakePolicy.cmake:11 (cmake_policy):
The OLD behavior for policy CMP0116 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
Call Stack (most recent call first):
/build/source/libc/CMakeLists.txt:7 (include)

-- Set COMPILER_RESOURCE_DIR to /nix/store/7sqn5142gh5asri8aqxvsvib9ii37fyq-rocm-llvm-clang-unwrapped-wrapper-6.0.2/resource-root using --print-resource-dir
-- Building libc for x86_64 on linux
-- Set CPU features: SSE2
CMake Warning at /build/source/libc/utils/MPFRWrapper/CMakeLists.txt:24 (message):
Math tests using MPFR will be skipped.

WARNING: Math test dyadic_float_test will be skipped as MPFR library is not available.
WARNING: Math test cosf_test will be skipped as MPFR library is not available.
WARNING: Math test cos_test will be skipped as MPFR library is not available.
WARNING: Math test sinf_test will be skipped as MPFR library is not available.
WARNING: Math test sin_test will be skipped as MPFR library is not available.
WARNING: Math test sincosf_test will be skipped as MPFR library is not available.
WARNING: Math test tanf_test will be skipped as MPFR library is not available.
WARNING: Math test fabs_test will be skipped as MPFR library is not available.
WARNING: Math test fabsf_test will be skipped as MPFR library is not available.
WARNING: Math test fabsl_test will be skipped as MPFR library is not available.
WARNING: Math test trunc_test will be skipped as MPFR library is not available.
WARNING: Math test truncf_test will be skipped as MPFR library is not available.
WARNING: Math test truncl_test will be skipped as MPFR library is not available.
WARNING: Math test ceil_test will be skipped as MPFR library is not available.
WARNING: Math test ceilf_test will be skipped as MPFR library is not available.
WARNING: Math test ceill_test will be skipped as MPFR library is not available.
WARNING: Math test floor_test will be skipped as MPFR library is not available.
WARNING: Math test floorf_test will be skipped as MPFR library is not available.
WARNING: Math test floorl_test will be skipped as MPFR library is not available.
WARNING: Math test round_test will be skipped as MPFR library is not available.
WARNING: Math test roundf_test will be skipped as MPFR library is not available.
WARNING: Math test roundl_test will be skipped as MPFR library is not available.
WARNING: Math test lround_test will be skipped as MPFR library is not available.
WARNING: Math test lroundf_test will be skipped as MPFR library is not available.
WARNING: Math test lroundl_test will be skipped as MPFR library is not available.
WARNING: Math test llround_test will be skipped as MPFR library is not available.
WARNING: Math test llroundf_test will be skipped as MPFR library is not available.
WARNING: Math test llroundl_test will be skipped as MPFR library is not available.
WARNING: Math test rint_test will be skipped as MPFR library is not available.
WARNING: Math test rintf_test will be skipped as MPFR library is not available.
WARNING: Math test rintl_test will be skipped as MPFR library is not available.
WARNING: Math test lrint_test will be skipped as MPFR library is not available.
WARNING: Math test lrintf_test will be skipped as MPFR library is not available.
WARNING: Math test lrintl_test will be skipped as MPFR library is not available.
WARNING: Math test llrint_test will be skipped as MPFR library is not available.
WARNING: Math test llrintf_test will be skipped as MPFR library is not available.
WARNING: Math test llrintl_test will be skipped as MPFR library is not available.
WARNING: Math test expf_test will be skipped as MPFR library is not available.
WARNING: Math test exp2f_test will be skipped as MPFR library is not available.
WARNING: Math test exp10f_test will be skipped as MPFR library is not available.
WARNING: Math test frexp_test will be skipped as MPFR library is not available.
WARNING: Math test frexpf_test will be skipped as MPFR library is not available.
WARNING: Math test frexpl_test will be skipped as MPFR library is not available.
WARNING: Math test sqrtf_test will be skipped as MPFR library is not available.
WARNING: Math test sqrt_test will be skipped as MPFR library is not available.
WARNING: Math test sqrtl_test will be skipped as MPFR library is not available.
WARNING: Math test generic_sqrtf_test will be skipped as MPFR library is not available.
WARNING: Math test generic_sqrt_test will be skipped as MPFR library is not available.
WARNING: Math test generic_sqrtl_test will be skipped as MPFR library is not available.
WARNING: Math test remquof_test will be skipped as MPFR library is not available.
WARNING: Math test remquo_test will be skipped as MPFR library is not available.
WARNING: Math test remquol_test will be skipped as MPFR library is not available.
WARNING: Math test hypotf_test will be skipped as MPFR library is not available.
WARNING: Math test hypot_test will be skipped as MPFR library is not available.
WARNING: Math test fmaf_test will be skipped as MPFR library is not available.
WARNING: Math test fma_test will be skipped as MPFR library is not available.
WARNING: Math test tan_test will be skipped as MPFR library is not available.
WARNING: Math test expm1f_test will be skipped as MPFR library is not available.
WARNING: Math test mod_k_pi_test will be skipped as MPFR library is not available.
WARNING: Math test logf_test will be skipped as MPFR library is not available.
WARNING: Math test log2f_test will be skipped as MPFR library is not available.
WARNING: Math test log10_test will be skipped as MPFR library is not available.
WARNING: Math test log10f_test will be skipped as MPFR library is not available.
WARNING: Math test log1pf_test will be skipped as MPFR library is not available.
WARNING: Math test explogxf_test will be skipped as MPFR library is not available.
WARNING: Math test coshf_test will be skipped as MPFR library is not available.
WARNING: Math test sinhf_test will be skipped as MPFR library is not available.
WARNING: Math test tanhf_test will be skipped as MPFR library is not available.
WARNING: Math test atanhf_test will be skipped as MPFR library is not available.
WARNING: Math test asinhf_test will be skipped as MPFR library is not available.
WARNING: Math test acoshf_test will be skipped as MPFR library is not available.
WARNING: Math test asinf_test will be skipped as MPFR library is not available.
WARNING: Math test asin_test will be skipped as MPFR library is not available.
WARNING: Math test acosf_test will be skipped as MPFR library is not available.
WARNING: Math test atanf_test will be skipped as MPFR library is not available.
WARNING: Math test inv_trigf_utils_test will be skipped as MPFR library is not available.
WARNING: Math test pow_test will be skipped as MPFR library is not available.
WARNING: Math test scalbn_test will be skipped as MPFR library is not available.
WARNING: Math test scalbnf_test will be skipped as MPFR library is not available.
WARNING: Math test scalbnl_test will be skipped as MPFR library is not available.
WARNING: Math test ceil_test will be skipped as MPFR library is not available.
WARNING: Math test ceilf_test will be skipped as MPFR library is not available.
WARNING: Math test ceill_test will be skipped as MPFR library is not available.
WARNING: Math test sqrtf_test will be skipped as MPFR library is not available.
WARNING: Math test sinf_test will be skipped as MPFR library is not available.
WARNING: Math test cosf_test will be skipped as MPFR library is not available.
WARNING: Math test sincosf_test will be skipped as MPFR library is not available.
WARNING: Math test tanf_test will be skipped as MPFR library is not available.
WARNING: Math test expf_test will be skipped as MPFR library is not available.
WARNING: Math test exp2f_test will be skipped as MPFR library is not available.
WARNING: Math test exp10f_test will be skipped as MPFR library is not available.
WARNING: Math test expm1f_test will be skipped as MPFR library is not available.
WARNING: Math test logf_test will be skipped as MPFR library is not available.
WARNING: Math test log10f_test will be skipped as MPFR library is not available.
WARNING: Math test log1pf_test will be skipped as MPFR library is not available.
WARNING: Math test log2f_test will be skipped as MPFR library is not available.
WARNING: Math test hypotf_test will be skipped as MPFR library is not available.
WARNING: Math test fmod_generic_impl_test will be skipped as MPFR library is not available.
WARNING: Math test coshf_test will be skipped as MPFR library is not available.
WARNING: Math test sinhf_test will be skipped as MPFR library is not available.
WARNING: Math test tanhf_test will be skipped as MPFR library is not available.
WARNING: Math test acoshf_test will be skipped as MPFR library is not available.
WARNING: Math test asinhf_test will be skipped as MPFR library is not available.
WARNING: Math test atanhf_test will be skipped as MPFR library is not available.
WARNING: Math test atanf_test will be skipped as MPFR library is not available.
WARNING: Math test asinf_test will be skipped as MPFR library is not available.
WARNING: Math test acosf_test will be skipped as MPFR library is not available.
-- Skipping test for 'libc.src.string.bcmp_x86_64_opt_sse4' insufficient host cpu features 'SSE4_2'
-- Skipping test for 'libc.src.string.bcmp_x86_64_opt_avx2' insufficient host cpu features 'AVX2'
-- Skipping test for 'libc.src.string.bcmp_x86_64_opt_avx512' insufficient host cpu features 'AVX512BW'
-- Skipping test for 'libc.src.string.bzero_x86_64_opt_sse4' insufficient host cpu features 'SSE4_2'
-- Skipping test for 'libc.src.string.bzero_x86_64_opt_avx2' insufficient host cpu features 'AVX2'
-- Skipping test for 'libc.src.string.bzero_x86_64_opt_avx512' insufficient host cpu features 'AVX512F'
-- Skipping test for 'libc.src.string.memcmp_x86_64_opt_sse4' insufficient host cpu features 'SSE4_2'
-- Skipping test for 'libc.src.string.memcmp_x86_64_opt_avx2' insufficient host cpu features 'AVX2'
-- Skipping test for 'libc.src.string.memcmp_x86_64_opt_avx512' insufficient host cpu features 'AVX512BW'
-- Skipping test for 'libc.src.string.memcpy_x86_64_opt_sse4' insufficient host cpu features 'SSE4_2'
-- Skipping test for 'libc.src.string.memcpy_x86_64_opt_avx2' insufficient host cpu features 'AVX2'
-- Skipping test for 'libc.src.string.memcpy_x86_64_opt_avx512' insufficient host cpu features 'AVX512F'
-- Skipping test for 'libc.src.string.memmove_x86_64_opt_sse4' insufficient host cpu features 'SSE4_2'
-- Skipping test for 'libc.src.string.memmove_x86_64_opt_avx2' insufficient host cpu features 'AVX2'
-- Skipping test for 'libc.src.string.memmove_x86_64_opt_avx512' insufficient host cpu features 'AVX512F'
-- Skipping test for 'libc.src.string.memset_x86_64_opt_sse4' insufficient host cpu features 'SSE4_2'
-- Skipping test for 'libc.src.string.memset_x86_64_opt_avx2' insufficient host cpu features 'AVX2'
-- Skipping test for 'libc.src.string.memset_x86_64_opt_avx512' insufficient host cpu features 'AVX512F'
-- Sphinx enabled.
-- Found Sphinx: /nix/store/bjl4aks63kjz8fq02868436z9vljc1zh-python3.12-sphinx-7.4.7/bin/sphinx-build
-- check-runtimes does nothing.
-- Configuring done (8.2s)
-- Generating done (0.7s)
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_EXPORT_NO_PACKAGE_REGISTRY
CMAKE_POLICY_DEFAULT_CMP0025
LLVM_BUILD_TESTS
LLVM_TARGETS_TO_BUILD

-- Build files have been written to: /build/source/runtimes/build
cmake: enabled parallel building
cmake: enabled parallel installing
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
build flags: -j16
[1/322] Building CXX object libc/src/errno/CMakeFiles/libc.src.errno.errno.dir/libc_errno.cpp.o
[2/322] Building CXX object libc/utils/testutils/CMakeFiles/libc_test_utils.dir/StreamWrapper.cpp.o
FAILED: libc/utils/testutils/CMakeFiles/libc_test_utils.dir/StreamWrapper.cpp.o
/nix/store/7sqn5142gh5asri8aqxvsvib9ii37fyq-rocm-llvm-clang-unwrapped-wrapper-6.0.2/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=gnu++17 -MD -MT libc/utils/testutils/CMakeFiles/libc_test_utils.dir/StreamWrapper.cpp.o -MF libc/utils/testutils/CMakeFiles/libc_test_utils.dir/StreamWrapper.cpp.o.d -o libc/utils/testutils/CMakeFiles/libc_test_utils.dir/StreamWrapper.cpp.o -c /build/source/libc/utils/testutils/StreamWrapper.cpp
/build/source/libc/utils/testutils/StreamWrapper.cpp:10:10: fatal error: 'cassert' file not found
#include <cassert>
^~~~~~~~~
1 error generated.
[3/322] Building CXX object libc/utils/testutils/CMakeFiles/libc_test_utils.dir/Timer.cpp.o
FAILED: libc/utils/testutils/CMakeFiles/libc_test_utils.dir/Timer.cpp.o
/nix/store/7sqn5142gh5asri8aqxvsvib9ii37fyq-rocm-llvm-clang-unwrapped-wrapper-6.0.2/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=gnu++17 -MD -MT libc/utils/testutils/CMakeFiles/libc_test_utils.dir/Timer.cpp.o -MF libc/utils/testutils/CMakeFiles/libc_test_utils.dir/Timer.cpp.o.d -o libc/utils/testutils/CMakeFiles/libc_test_utils.dir/Timer.cpp.o -c /build/source/libc/utils/testutils/Timer.cpp
/build/source/libc/utils/testutils/Timer.cpp:11:10: fatal error: 'chrono' file not found
#include <chrono>
^~~~~~~~
1 error generated.
[4/322] Building CXX object libc/utils/testutils/CMakeFiles/libc_test_utils.dir/FDReaderUnix.cpp.o
FAILED: libc/utils/testutils/CMakeFiles/libc_test_utils.dir/FDReaderUnix.cpp.o
/nix/store/7sqn5142gh5asri8aqxvsvib9ii37fyq-rocm-llvm-clang-unwrapped-wrapper-6.0.2/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=gnu++17 -MD -MT libc/utils/testutils/CMakeFiles/libc_test_utils.dir/FDReaderUnix.cpp.o -MF libc/utils/testutils/CMakeFiles/libc_test_utils.dir/FDReaderUnix.cpp.o.d -o libc/utils/testutils/CMakeFiles/libc_test_utils.dir/FDReaderUnix.cpp.o -c /build/source/libc/utils/testutils/FDReaderUnix.cpp
/build/source/libc/utils/testutils/FDReaderUnix.cpp:10:10: fatal error: 'cassert' file not found
#include <cassert>
^~~~~~~~~
1 error generated.
[5/322] Building CXX object libc/utils/testutils/CMakeFiles/libc_test_utils.dir/RandUtils.cpp.o
FAILED: libc/utils/testutils/CMakeFiles/libc_test_utils.dir/RandUtils.cpp.o
/nix/store/7sqn5142gh5asri8aqxvsvib9ii37fyq-rocm-llvm-clang-unwrapped-wrapper-6.0.2/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=gnu++17 -MD -MT libc/utils/testutils/CMakeFiles/libc_test_utils.dir/RandUtils.cpp.o -MF libc/utils/testutils/CMakeFiles/libc_test_utils.dir/RandUtils.cpp.o.d -o libc/utils/testutils/CMakeFiles/libc_test_utils.dir/RandUtils.cpp.o -c /build/source/libc/utils/testutils/RandUtils.cpp
/build/source/libc/utils/testutils/RandUtils.cpp:11:10: fatal error: 'cstdlib' file not found
#include <cstdlib>
^~~~~~~~~
1 error generated.
[6/322] Building CXX object libc/utils/testutils/CMakeFiles/libc_test_utils.dir/ExecuteFunctionUnix.cpp.o
FAILED: libc/utils/testutils/CMakeFiles/libc_test_utils.dir/ExecuteFunctionUnix.cpp.o
/nix/store/7sqn5142gh5asri8aqxvsvib9ii37fyq-rocm-llvm-clang-unwrapped-wrapper-6.0.2/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=gnu++17 -MD -MT libc/utils/testutils/CMakeFiles/libc_test_utils.dir/ExecuteFunctionUnix.cpp.o -MF libc/utils/testutils/CMakeFiles/libc_test_utils.dir/ExecuteFunctionUnix.cpp.o.d -o libc/utils/testutils/CMakeFiles/libc_test_utils.dir/ExecuteFunctionUnix.cpp.o -c /build/source/libc/utils/testutils/ExecuteFunctionUnix.cpp
/build/source/libc/utils/testutils/ExecuteFunctionUnix.cpp:10:10: fatal error: 'cassert' file not found
#include <cassert>
^~~~~~~~~
1 error generated.
[7/322] Building CXX object libc/utils/testutils/CMakeFiles/libc_test_utils.dir/RoundingModeUtils.cpp.o
/build/source/libc/utils/testutils/RoundingModeUtils.cpp:30:3: warning: default label in switch which covers all enumeration values [-Wcovered-switch-default]
default:
^
1 warning generated.
[8/322] Building CXX object libc/src/stdio/printf_core/CMakeFiles/libc.src.stdio.printf_core.writer.dir/writer.cpp.o
[9/322] Building CXX object libc/src/__support/CPP/CMakeFiles/libc.src.__support.CPP.new.dir/new.cpp.o
[10/322] Building CXX object libc/src/ctype/CMakeFiles/libc.src.ctype.isalnum.dir/isalnum.cpp.o
[11/322] Building CXX object libc/src/math/generic/CMakeFiles/libc.src.math.generic.math_utils.dir/math_utils.cpp.o
[12/322] Building CXX object libc/src/__support/StringUtil/CMakeFiles/libc.src.__support.StringUtil.signal_to_string.dir/signal_to_string.cpp.o
[13/322] Building CXX object libc/src/stdio/printf_core/CMakeFiles/libc.src.stdio.printf_core.printf_main.dir/printf_main.cpp.o
[14/322] Building CXX object libc/src/__support/StringUtil/CMakeFiles/libc.src.__support.StringUtil.error_to_string.dir/error_to_string.cpp.o
[15/322] Building CXX object libc/src/__support/File/CMakeFiles/libc.src.__support.File.file.dir/file.cpp.o
[16/322] Building CXX object libc/test/UnitTest/CMakeFiles/LibcUnitTest.dir/LibcTest.cpp.o
FAILED: libc/test/UnitTest/CMakeFiles/LibcUnitTest.dir/LibcTest.cpp.o
/nix/store/7sqn5142gh5asri8aqxvsvib9ii37fyq-rocm-llvm-clang-unwrapped-wrapper-6.0.2/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/build/source/libc -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=gnu++17 -MD -MT libc/test/UnitTest/CMakeFiles/LibcUnitTest.dir/LibcTest.cpp.o -MF libc/test/UnitTest/CMakeFiles/LibcUnitTest.dir/LibcTest.cpp.o.d -o libc/test/UnitTest/CMakeFiles/LibcUnitTest.dir/LibcTest.cpp.o -c /build/source/libc/test/UnitTest/LibcTest.cpp
/build/source/libc/test/UnitTest/LibcTest.cpp:16:10: fatal error: 'cassert' file not found
#include <cassert>
^~~~~~~~~
1 error generated.
[17/322] Building CXX object libc/test/UnitTest/CMakeFiles/TestLogger.dir/TestLogger.cpp.o
ninja: build stopped: subcommand failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment