Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure: rocmPackages.llvm.libc #370990

Closed
Readf0x opened this issue Jan 4, 2025 · 1 comment
Closed

Build failure: rocmPackages.llvm.libc #370990

Readf0x opened this issue Jan 4, 2025 · 1 comment
Labels
0.kind: build failure A package fails to build 2.status: duplicate This is a duplicate of another issue or PR

Comments

@Readf0x
Copy link

Readf0x commented Jan 4, 2025

Steps To Reproduce

Steps to reproduce the behavior:

  1. nix build github:nixos/nixpkgs/6df24922a1400241dae323af55f30e4318a6ca65#legacyPackages.x86_64-linux.rocmPackages.llvm.libc

Build log

Build Log
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
�[0mCMake 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)

�[0m
�[0mCMake 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)

�[0m
-- 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
�[33mCMake Warning at /build/source/libc/utils/MPFRWrapper/CMakeLists.txt:24 (message):
  Math tests using MPFR will be skipped.

�[0m
�[0mWARNING: Math test dyadic_float_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test cosf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test cos_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test sinf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test sin_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test sincosf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test tanf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test fabs_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test fabsf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test fabsl_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test trunc_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test truncf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test truncl_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test ceil_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test ceilf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test ceill_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test floor_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test floorf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test floorl_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test round_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test roundf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test roundl_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test lround_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test lroundf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test lroundl_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test llround_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test llroundf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test llroundl_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test rint_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test rintf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test rintl_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test lrint_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test lrintf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test lrintl_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test llrint_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test llrintf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test llrintl_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test expf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test exp2f_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test exp10f_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test frexp_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test frexpf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test frexpl_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test sqrtf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test sqrt_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test sqrtl_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test generic_sqrtf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test generic_sqrt_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test generic_sqrtl_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test remquof_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test remquo_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test remquol_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test hypotf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test hypot_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test fmaf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test fma_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test tan_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test expm1f_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test mod_k_pi_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test logf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test log2f_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test log10_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test log10f_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test log1pf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test explogxf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test coshf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test sinhf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test tanhf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test atanhf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test asinhf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test acoshf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test asinf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test asin_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test acosf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test atanf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test inv_trigf_utils_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test pow_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test scalbn_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test scalbnf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test scalbnl_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test ceil_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test ceilf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test ceill_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test sqrtf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test sinf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test cosf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test sincosf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test tanf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test expf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test exp2f_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test exp10f_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test expm1f_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test logf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test log10f_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test log1pf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test log2f_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test hypotf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test fmod_generic_impl_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test coshf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test sinhf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test tanhf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test acoshf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test asinhf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test atanhf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test atanf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test asinf_test will be skipped as MPFR library is not available.�[0m
�[0mWARNING: Math test acosf_test will be skipped as MPFR library is not available.�[0m
-- 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 (7.4s)
-- Generating done (0.6s)
�[33mCMake 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

�[0m
-- 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: -j12
[1/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.
[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/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.
[5/322] Building CXX object libc/src/errno/CMakeFiles/libc.src.errno.errno.dir/libc_errno.cpp.o
[6/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.
[7/322] Building CXX object libc/src/stdio/printf_core/CMakeFiles/libc.src.stdio.printf_core.writer.dir/writer.cpp.o
[8/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.
[9/322] Building CXX object libc/src/math/generic/CMakeFiles/libc.src.math.generic.math_utils.dir/math_utils.cpp.o
[10/322] Building CXX object libc/src/__support/File/CMakeFiles/libc.src.__support.File.file.dir/file.cpp.o
[11/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.
[12/322] Building CXX object libc/test/UnitTest/CMakeFiles/TestLogger.dir/TestLogger.cpp.o
ninja: build stopped: subcommand failed.

Additional context

Metadata

  • system: "x86_64-linux"
  • host os: Linux 6.12.2-zen1, NixOS, 25.05 (Warbler), 25.05.20241219.d70bd19
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.24.11
  • nixpkgs: /nix/store/8fwsiv0hd7nw1brkvka0jf1frk3m7qkr-source

Notify maintainers

@lovesegfault @acowley


Note for maintainers: Please tag this issue in your PR.


Add a 👍 reaction to issues you find important.

@Readf0x Readf0x added the 0.kind: build failure A package fails to build label Jan 4, 2025
@SigmaSquadron
Copy link
Contributor

Duplicate of #368672, which was fixed but has not yet reached unstable.

@SigmaSquadron SigmaSquadron added the 2.status: duplicate This is a duplicate of another issue or PR label Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build 2.status: duplicate This is a duplicate of another issue or PR
Projects
None yet
Development

No branches or pull requests

2 participants