Skip to content

Instantly share code, notes, and snippets.

@haruki7049
Created November 10, 2024 00:07
Show Gist options
  • Save haruki7049/e26e18e6525e6db1abc2aeb54377025c to your computer and use it in GitHub Desktop.
Save haruki7049/e26e18e6525e6db1abc2aeb54377025c to your computer and use it in GitHub Desktop.
this derivation will be built:
/nix/store/hpz99i1drxzxbfpzm7ffnqw2g4c7qbfk-jank-lang-dev.drv
building '/nix/store/hpz99i1drxzxbfpzm7ffnqw2g4c7qbfk-jank-lang-dev.drv'...
Running phase: unpackPhase
unpacking source archive /nix/store/bmn4d1m81fgpqgqb0jczklinnyjqlc2a-source
source root is source
Running phase: patchPhase
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running 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=Debug -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/62hkl0q6a74wsb4kj7r6qayrfh7phwf2-jank-lang-dev/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/62hkl0q6a74wsb4kj7r6qayrfh7phwf2-jank-lang-dev/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/62hkl0q6a74wsb4kj7r6qayrfh7phwf2-jank-lang-dev/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/62hkl0q6a74wsb4kj7r6qayrfh7phwf2-jank-lang-dev/share/doc/jank-lang -DCMAKE_INSTALL_INFODIR=/nix/store/62hkl0q6a74wsb4kj7r6qayrfh7phwf2-jank-lang-dev/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/62hkl0q6a74wsb4kj7r6qayrfh7phwf2-jank-lang-dev/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/62hkl0q6a74wsb4kj7r6qayrfh7phwf2-jank-lang-dev/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/62hkl0q6a74wsb4kj7r6qayrfh7phwf2-jank-lang-dev/include -DCMAKE_INSTALL_SBINDIR=/nix/store/62hkl0q6a74wsb4kj7r6qayrfh7phwf2-jank-lang-dev/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/62hkl0q6a74wsb4kj7r6qayrfh7phwf2-jank-lang-dev/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/62hkl0q6a74wsb4kj7r6qayrfh7phwf2-jank-lang-dev/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/j43qlfbrms4zyd1x88x7pv5vwmzipd0c-clang-wrapper-19.1.1/bin/strip -DCMAKE_RANLIB=/nix/store/j43qlfbrms4zyd1x88x7pv5vwmzipd0c-clang-wrapper-19.1.1/bin/ranlib -DCMAKE_AR=/nix/store/j43qlfbrms4zyd1x88x7pv5vwmzipd0c-clang-wrapper-19.1.1/bin/ar -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX=/nix/store/62hkl0q6a74wsb4kj7r6qayrfh7phwf2-jank-lang-dev -Djank_tests=on
-- The C compiler identification is Clang 19.1.1
-- The CXX compiler identification is Clang 19.1.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nix/store/j43qlfbrms4zyd1x88x7pv5vwmzipd0c-clang-wrapper-19.1.1/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/j43qlfbrms4zyd1x88x7pv5vwmzipd0c-clang-wrapper-19.1.1/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /nix/store/lgr3n0573wi478bj456zggh541wjrbiw-git-2.46.0/bin/git (found version "2.46.0")
-- Could NOT find FFI (missing: FFI_LIBRARIES HAVE_FFI_CALL)
-- Found ZLIB: /nix/store/a2wdr217q0xk9yp6jgymlcp7v00ixbyn-zlib-1.3.1/lib/libz.so (found version "1.3.1")
-- Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR)
-- Could NOT find FFI (missing: FFI_LIBRARIES HAVE_FFI_CALL)
-- Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR)
-- Could NOT find FFI (missing: FFI_LIBRARIES HAVE_FFI_CALL)
-- Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR)
-- Found supported version: LLVM 19.1.1
-- Using LLVMConfig.cmake in: /build/source/build/llvm-install/var/empty/local
-- Clang install prefix: /nix/store/byrnmdgs12cf7yzj2zlyfsgbh1778m8n-clang-19.1.1
-- Found supported version: Clang 19.1.1
-- Using ClangConfig.cmake in: /build/source/build/llvm-install/var/empty/local
-- Linker detection: GNU ld
-- Performing Test LLVM_LIBSTDCXX_MIN
-- Performing Test LLVM_LIBSTDCXX_MIN - Success
-- Performing Test LLVM_LIBSTDCXX_SOFT_ERROR
-- Performing Test LLVM_LIBSTDCXX_SOFT_ERROR - Success
-- Performing Test C_SUPPORTS_FPIC
-- Performing Test C_SUPPORTS_FPIC - Success
-- Performing Test CXX_SUPPORTS_FPIC
-- Performing Test CXX_SUPPORTS_FPIC - Success
-- Building with -fPIC
-- Performing Test C_SUPPORTS_FNO_SEMANTIC_INTERPOSITION
-- Performing Test C_SUPPORTS_FNO_SEMANTIC_INTERPOSITION - Success
-- Performing Test CXX_SUPPORTS_FNO_SEMANTIC_INTERPOSITION
-- Performing Test CXX_SUPPORTS_FNO_SEMANTIC_INTERPOSITION - Success
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - 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_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 - Failed
-- Looking for os_signpost_interval_begin
-- Looking for os_signpost_interval_begin - not found
-- CLANG_INCLUDE_DIRS: /nix/store/kdqmsb96yzbr317375wwbc33w7graqq0-clang-19.1.1-dev/include
-- LLVM_INCLUDE_DIRS: /nix/store/13s7nb907bq8l4cb2c20z8267zqkzg5i-llvm-19.1.1-dev/include
-- LLVM_DEFINITIONS_LIST: -D__STDC_CONSTANT_MACROS;-D__STDC_FORMAT_MACROS;-D__STDC_LIMIT_MACROS
CMake Warning (dev) at third-party/bdwgc/CMakeLists.txt:69 (option):
Policy CMP0077 is not set: option() honors normal variables. Run "cmake
--help-policy CMP0077" for policy details. Use the cmake_policy command to
set the policy and suppress this warning.
For compatibility with older versions of CMake, option is clearing the
normal variable 'BUILD_SHARED_LIBS'.
This warning is for project developers. Use -Wno-dev to suppress it.
-- CORD_VERSION_PROP = 1.5.1
-- GC_VERSION_PROP = 1.5.3
-- GCCPP_VERSION_PROP = 1.5.0
-- TARGET = aarch64-unknown-linux-6.6.31
-- Found Threads: TRUE
-- Thread library:
Explicit GC_INIT() calls may be required.
-- Looking for clock_gettime
-- Looking for clock_gettime - found
-- Performing Test HAVE_FLAG_WL_NO_UNDEFINED
-- Performing Test HAVE_FLAG_WL_NO_UNDEFINED - Success
-- Performing Test HAVE_FLAG_WERROR
-- Performing Test HAVE_FLAG_WERROR - Success
-- Performing Test HAVE_FLAG_WNO_UNUSED_CMDLINE_ARG
-- Performing Test HAVE_FLAG_WNO_UNUSED_CMDLINE_ARG - Success
-- Performing Test HAVE_FLAG_WNO_FRAME_ADDRESS
-- Performing Test HAVE_FLAG_WNO_FRAME_ADDRESS - Success
-- Performing Test HAVE_FLAG_F_VISIBILITY_HIDDEN
-- Performing Test HAVE_FLAG_F_VISIBILITY_HIDDEN - Success
-- Looking for execinfo.h
-- Looking for execinfo.h - found
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for getcontext
-- Looking for getcontext - found
-- Performing Test HAVE_GETCONTEXT_FUNC
-- Performing Test HAVE_GETCONTEXT_FUNC - Success
-- Looking for dl_iterate_phdr
-- Looking for dl_iterate_phdr - found
-- Performing Test HAVE_PTHREAD_SIGMASK
-- Performing Test HAVE_PTHREAD_SIGMASK - Success
-- Looking for sigsetjmp
-- Looking for sigsetjmp - found
-- Looking for wcslen
-- Looking for wcslen - found
-- Performing Test HAVE_PTHREAD_SETNAME_NP_WITHOUT_TID
-- Performing Test HAVE_PTHREAD_SETNAME_NP_WITHOUT_TID - Failed
-- Performing Test HAVE_PTHREAD_SETNAME_NP_WITH_TID_AND_ARG
-- Performing Test HAVE_PTHREAD_SETNAME_NP_WITH_TID_AND_ARG - Failed
-- Performing Test HAVE_PTHREAD_SETNAME_NP_WITH_TID
-- Performing Test HAVE_PTHREAD_SETNAME_NP_WITH_TID - Success
-- Performing Test HAVE_DLADDR
-- Performing Test HAVE_DLADDR - Success
-- Performing Test EMSCRIPTEN
-- Performing Test EMSCRIPTEN - Failed
-- {fmt} version: 11.0.2
-- Build type: Debug
-- Performing Test HAS_NULLPTR_WARNING
-- Performing Test HAS_NULLPTR_WARNING - Success
-- Found LIBZIP: /nix/store/vdy4nbpa2q58r30c5xkczqjb6a8nqyvb-libzip-1.10.1/lib/libzip.so
-- Found OpenSSL: /nix/store/hz7d51mkwawwq1wz9pydrpph8820c64m-openssl-3.3.2/lib/libcrypto.a (found version "3.3.2") found components: Crypto
-- Found Boost: /nix/store/w5y7likkrwhsmqgaamhjx3khsskjhah3-boost-1.86.0/lib/cmake/Boost-1.86.0/BoostConfig.cmake (found version "1.86.0") found components: filesystem
-- Configuring done (24.1s)
-- Generating done (0.1s)
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_EXPORT_NO_PACKAGE_REGISTRY
CMAKE_POLICY_DEFAULT_CMP0025
-- Build files have been written to: /build/source/build
cmake: enabled parallel building
cmake: enabled parallel installing
configurePhase completed in 53 seconds
Running phase: buildPhase
build flags: -j4
[1/112] Building CXX object third-party/bdwgc/CMakeFiles/gccpp.dir/gc_badalc.cc.o
[2/112] Building CXX object third-party/bdwgc/CMakeFiles/gccpp.dir/gc_cpp.cc.o
[3/112] Building C object third-party/bdwgc/CMakeFiles/gc.dir/pthread_start.c.o
[4/112] Building CXX object third-party/fmt/CMakeFiles/fmt.dir/src/os.cc.o
[5/112] Building CXX object third-party/libzippp/CMakeFiles/libzippp.dir/src/libzippp.cpp.o
[6/112] Building C object third-party/bdwgc/CMakeFiles/gc.dir/extra/gc.c.o
[7/112] Linking C shared library libgc.so.1.5.3
[8/112] Creating library symlink libgc.so.1 libgc.so
[9/112] Linking CXX shared library libgccpp.so.1.5.0
[10/112] Building CXX object third-party/fmt/CMakeFiles/fmt.dir/src/format.cc.o
[11/112] Linking CXX shared library libfmtd.so.11.0.2
[12/112] Building CXX object CMakeFiles/folly_lib.dir/third-party/folly/folly/ScopeGuard.cpp.o
[13/112] Building CXX object CMakeFiles/nanobench_lib.dir/third-party/nanobench/src/nanobench.cpp.o
In file included from /build/source/third-party/nanobench/src/nanobench.cpp:35:
In file included from /build/source/third-party/nanobench/include/nanobench.h:42:
In file included from /nix/store/gvs1z5fzx12xp787ays1ncqlfgv3j1c8-gcc-13.3.0/include/c++/13.3.0/chrono:35:
In file included from /nix/store/gvs1z5fzx12xp787ays1ncqlfgv3j1c8-gcc-13.3.0/include/c++/13.3.0/bits/requires_hosted.h:31:
In file included from /nix/store/gvs1z5fzx12xp787ays1ncqlfgv3j1c8-gcc-13.3.0/include/c++/13.3.0/aarch64-unknown-linux-gnu/bits/c++config.h:679:
In file included from /nix/store/gvs1z5fzx12xp787ays1ncqlfgv3j1c8-gcc-13.3.0/include/c++/13.3.0/aarch64-unknown-linux-gnu/bits/os_defines.h:39:
/nix/store/970mrbrvg7gnbhgm59smc2vmc5wv91s3-glibc-2.39-52-dev/include/features.h:414:4: warning: _FORTIFY_SOURCE requires compiling with optimization (-O) [-W#warnings]
414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
| ^
1 warning generated.
[14/112] Building CXX object CMakeFiles/folly_lib.dir/third-party/folly/folly/SharedMutex.cpp.o
[15/112] Building CXX object CMakeFiles/folly_lib.dir/third-party/folly/folly/synchronization/SanitizeThread.cpp.o
[16/112] Building CXX object CMakeFiles/folly_lib.dir/third-party/folly/folly/synchronization/ParkingLot.cpp.o
[17/112] Building CXX object CMakeFiles/folly_lib.dir/third-party/folly/folly/lang/SafeAssert.cpp.o
[18/112] Building CXX object CMakeFiles/folly_lib.dir/third-party/folly/folly/lang/ToAscii.cpp.o
[19/112] Building CXX object CMakeFiles/folly_lib.dir/third-party/folly/folly/concurrency/CacheLocality.cpp.o
[20/112] Building CXX object CMakeFiles/folly_lib.dir/third-party/folly/folly/lang/Exception.cpp.o
[21/112] Building CXX object CMakeFiles/folly_lib.dir/third-party/folly/folly/system/ThreadId.cpp.o
[22/112] Building CXX object CMakeFiles/folly_lib.dir/third-party/folly/folly/system/AtFork.cpp.o
[23/112] Creating library symlink libgccpp.so.1 libgccpp.so
[24/112] Creating library symlink libfmtd.so.11 libfmtd.so
[25/112] Linking CXX shared library libzippp.so
[26/112] Linking CXX static library libnanobench.a
[27/112] Building CXX object CMakeFiles/folly_lib.dir/third-party/folly/folly/detail/Futex.cpp.o
[28/112] Linking CXX static library libfolly.a
[29/112] Building CXX object CMakeFiles/jank_lib.dir/cmake_pch.hxx.pch
In file included from <built-in>:1:
In file included from /build/source/build/CMakeFiles/jank_lib.dir/cmake_pch.hxx:5:
In file included from /build/source/include/cpp/jank/prelude.hpp:3:
In file included from /nix/store/gvs1z5fzx12xp787ays1ncqlfgv3j1c8-gcc-13.3.0/include/c++/13.3.0/random:34:
In file included from /nix/store/gvs1z5fzx12xp787ays1ncqlfgv3j1c8-gcc-13.3.0/include/c++/13.3.0/bits/requires_hosted.h:31:
In file included from /nix/store/gvs1z5fzx12xp787ays1ncqlfgv3j1c8-gcc-13.3.0/include/c++/13.3.0/aarch64-unknown-linux-gnu/bits/c++config.h:679:
In file included from /nix/store/gvs1z5fzx12xp787ays1ncqlfgv3j1c8-gcc-13.3.0/include/c++/13.3.0/aarch64-unknown-linux-gnu/bits/os_defines.h:39:
/nix/store/970mrbrvg7gnbhgm59smc2vmc5wv91s3-glibc-2.39-52-dev/include/features.h:414:4: warning: _FORTIFY_SOURCE requires compiling with optimization (-O) [-W#warnings]
414 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
| ^
1 warning generated.
[30/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/util/sha256.cpp.o
[31/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/util/dir.cpp.o
[32/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/util/mapped_file.cpp.o
[33/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/hash.cpp.o
[34/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/util/scope_exit.cpp.o
[35/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/util/escape.cpp.o
[36/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/util/clang_format.cpp.o
[37/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/profile/time.cpp.o
[38/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/util/cli.cpp.o
[39/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/read/lex.cpp.o
[40/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/core/to_string.cpp.o
[41/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/core.cpp.o
[42/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/core/truthy.cpp.o
[43/112] Building CXX object CMakeFiles/jank_exe.dir/cmake_pch.hxx.pch
[44/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/read/parse.cpp.o
[45/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/core/munge.cpp.o
[46/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/core/math.cpp.o
[47/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/perf.cpp.o
[48/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/detail/native_persistent_array_map.cpp.o
[49/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/object.cpp.o
[50/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/module/loader.cpp.o
[51/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/ns.cpp.o
[52/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/obj/nil.cpp.o
[53/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/var.cpp.o
[54/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/obj/number.cpp.o
[55/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/obj/native_function_wrapper.cpp.o
[56/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/core/seq.cpp.o
[57/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/context.cpp.o
[58/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/obj/jit_function.cpp.o
[59/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/obj/keyword.cpp.o
[60/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/obj/symbol.cpp.o
[61/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/obj/character.cpp.o
[62/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/obj/multi_function.cpp.o
[63/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/obj/persistent_array_map.cpp.o
[64/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/obj/persistent_vector_sequence.cpp.o
[65/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/obj/persistent_list.cpp.o
[66/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/obj/persistent_vector.cpp.o
[67/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/obj/transient_hash_map.cpp.o
[68/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/obj/persistent_hash_map.cpp.o
[69/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/obj/transient_vector.cpp.o
[70/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/obj/persistent_hash_set.cpp.o
[71/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/obj/transient_hash_set.cpp.o
[72/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/obj/transient_sorted_map.cpp.o
[73/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/obj/persistent_string.cpp.o
[74/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/obj/persistent_sorted_map.cpp.o
[75/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/obj/persistent_string_sequence.cpp.o
[76/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/obj/cons.cpp.o
[77/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/obj/transient_sorted_set.cpp.o
[78/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/obj/range.cpp.o
[79/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/obj/iterator.cpp.o
[80/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/obj/persistent_sorted_set.cpp.o
[81/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/obj/chunk_buffer.cpp.o
[82/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/obj/lazy_sequence.cpp.o
[83/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/obj/array_chunk.cpp.o
[84/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/obj/native_array_sequence.cpp.o
[85/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/obj/native_vector_sequence.cpp.o
[86/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/obj/atom.cpp.o
[87/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/obj/chunked_cons.cpp.o
[88/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/obj/volatile.cpp.o
[89/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/behavior/metadatable.cpp.o
[90/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/obj/reduced.cpp.o
[91/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/behavior/derefable.cpp.o
[92/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/analyze/step/force_boxed.cpp.o
[93/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/analyze/local_frame.cpp.o
[94/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/runtime/behavior/callable.cpp.o
[95/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/analyze/processor.cpp.o
[96/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/evaluate.cpp.o
[97/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/codegen/processor.cpp.o
[98/112] Building CXX object CMakeFiles/jank_exe.dir/src/cpp/main.cpp.o
[99/112] Building CXX object CMakeFiles/jank_lib.dir/src/cpp/jank/jit/processor.cpp.o
[100/112] Linking CXX static library libjank.a
[101/112] Linking CXX executable jank
[102/112] Generating incremental.pch
FAILED: incremental.pch /build/source/build/incremental.pch
cd /build/source/build && /nix/store/j43qlfbrms4zyd1x88x7pv5vwmzipd0c-clang-wrapper-19.1.1/bin/clang++ -fno-semantic-interposition -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 -std=gnu++20 -DIMMER_HAS_LIBGC=1 -DIMMER_TAGGED_NODE=0 -DHAVE_CXX14=1 -DFMT_HEADER_ONLY=1 -DJANK_DEBUG -Wall -Wextra -Wpedantic -Wfloat-equal -Wuninitialized -Wswitch-enum -Wnon-virtual-dtor -Wold-style-cast -Wno-gnu-case-range -Wno-gnu-conditional-omitted-operand -Wno-implicit-fallthrough -Wno-covered-switch-default -fno-common -frtti -fexceptions -O0 -isystem /nix/store/kdqmsb96yzbr317375wwbc33w7graqq0-clang-19.1.1-dev/include -isystem /nix/store/13s7nb907bq8l4cb2c20z8267zqkzg5i-llvm-19.1.1-dev/include -I/build/source/include/cpp -I/build/source/third-party/nanobench/include -I/build/source/third-party/folly -I/build/source/third-party/bpptree/include -I/build/source/third-party/bdwgc/include -I/build/source/third-party/immer -I/build/source/third-party/magic_enum/include/magic_enum -I/build/source/third-party/cli11/include -I/build/source/third-party/libzippp/src -isystem /nix/store/13s7nb907bq8l4cb2c20z8267zqkzg5i-llvm-19.1.1-dev/include -Xclang -fincremental-extensions -Xclang -emit-pch -x c++-header -w -c /build/source/include/cpp/jank/prelude.hpp -o /build/source/build/incremental.pch
In file included from /build/source/include/cpp/jank/prelude.hpp:19:
In file included from /build/source/include/cpp/jank/type.hpp:45:
/build/source/include/cpp/jank/native_persistent_string.hpp:4:10: fatal error: 'fmt/format.h' file not found
4 | #include <fmt/format.h>
| ^~~~~~~~~~~~~~
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: /nix/store/byrnmdgs12cf7yzj2zlyfsgbh1778m8n-clang-19.1.1/bin/clang++ @/build/cc-params.DfoZ3d
1. /nix/store/w5y7likkrwhsmqgaamhjx3khsskjhah3-boost-1.86.0/include/boost/mpl/distance.hpp:31:19: current parser token 'namespace'
#0 0x0000007fec1a4848 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/nix/store/if4pk31s7jxwmkmz84i1kkigs0cssd8j-llvm-19.1.1-lib/lib/libLLVM.so.19.1+0xf54848)
#1 0x0000007fec1a2c40 llvm::sys::CleanupOnSignal(unsigned long) (/nix/store/if4pk31s7jxwmkmz84i1kkigs0cssd8j-llvm-19.1.1-lib/lib/libLLVM.so.19.1+0xf52c40)
#2 0x0000007fec0ac210 CrashRecoverySignalHandler(int) (/nix/store/if4pk31s7jxwmkmz84i1kkigs0cssd8j-llvm-19.1.1-lib/lib/libLLVM.so.19.1+0xe5c210)
#3 0x0000007ff7ffb8f8 (linux-vdso.so.1+0x8f8)
#4 0x0000007ff4bc855c clang::DeclContext::getRedeclContext() (/nix/store/fza22l534pazsmxaj90lbvpiy99zgg7w-clang-19.1.1-lib/lib/libclang-cpp.so.19.1+0xf8855c)
#5 0x0000007ff55d67b4 clang::Sema::ActOnStartNamespaceDef(clang::Scope*, clang::SourceLocation, clang::SourceLocation, clang::SourceLocation, clang::IdentifierInfo*, clang::SourceLocation, clang::ParsedAttributesView const&, clang::UsingDirectiveDecl*&, bool) (/nix/store/fza22l534pazsmxaj90lbvpiy99zgg7w-clang-19.1.1-lib/lib/libclang-cpp.so.19.1+0x19967b4)
#6 0x0000007ff4909424 clang::Parser::ParseNamespace(clang::DeclaratorContext, clang::SourceLocation&, clang::SourceLocation) (/nix/store/fza22l534pazsmxaj90lbvpiy99zgg7w-clang-19.1.1-lib/lib/libclang-cpp.so.19.1+0xcc9424)
#7 0x0000007ff48f2614 clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributes&, clang::ParsedAttributes&, clang::SourceLocation*) (/nix/store/fza22l534pazsmxaj90lbvpiy99zgg7w-clang-19.1.1-lib/lib/libclang-cpp.so.19.1+0xcb2614)
#8 0x0000007ff49b3074 clang::Parser::ParseExternalDeclaration(clang::ParsedAttributes&, clang::ParsedAttributes&, clang::ParsingDeclSpec*) (/nix/store/fza22l534pazsmxaj90lbvpiy99zgg7w-clang-19.1.1-lib/lib/libclang-cpp.so.19.1+0xd73074)
#9 0x0000007ff49b4644 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, clang::Sema::ModuleImportState&) (/nix/store/fza22l534pazsmxaj90lbvpiy99zgg7w-clang-19.1.1-lib/lib/libclang-cpp.so.19.1+0xd74644)
#10 0x0000007ff48c135c clang::ParseAST(clang::Sema&, bool, bool) (/nix/store/fza22l534pazsmxaj90lbvpiy99zgg7w-clang-19.1.1-lib/lib/libclang-cpp.so.19.1+0xc8135c)
#11 0x0000007ff6a9468c clang::FrontendAction::Execute() (/nix/store/fza22l534pazsmxaj90lbvpiy99zgg7w-clang-19.1.1-lib/lib/libclang-cpp.so.19.1+0x2e5468c)
#12 0x0000007ff6a2a674 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/nix/store/fza22l534pazsmxaj90lbvpiy99zgg7w-clang-19.1.1-lib/lib/libclang-cpp.so.19.1+0x2dea674)
#13 0x0000007ff6b16c58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/nix/store/fza22l534pazsmxaj90lbvpiy99zgg7w-clang-19.1.1-lib/lib/libclang-cpp.so.19.1+0x2ed6c58)
#14 0x0000000000413408 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/nix/store/byrnmdgs12cf7yzj2zlyfsgbh1778m8n-clang-19.1.1/bin/clang+++0x413408)
#15 0x000000000040d258 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&) (/nix/store/byrnmdgs12cf7yzj2zlyfsgbh1778m8n-clang-19.1.1/bin/clang+++0x40d258)
#16 0x0000007ff66be2b0 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const::'lambda'()>(long) (/nix/store/fza22l534pazsmxaj90lbvpiy99zgg7w-clang-19.1.1-lib/lib/libclang-cpp.so.19.1+0x2a7e2b0)
#17 0x0000007fec0ac744 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/nix/store/if4pk31s7jxwmkmz84i1kkigs0cssd8j-llvm-19.1.1-lib/lib/libLLVM.so.19.1+0xe5c744)
#18 0x0000007ff66be9e8 clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const (.part.0) (/nix/store/fza22l534pazsmxaj90lbvpiy99zgg7w-clang-19.1.1-lib/lib/libclang-cpp.so.19.1+0x2a7e9e8)
#19 0x0000007ff668a910 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/nix/store/fza22l534pazsmxaj90lbvpiy99zgg7w-clang-19.1.1-lib/lib/libclang-cpp.so.19.1+0x2a4a910)
#20 0x0000007ff668b184 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const (/nix/store/fza22l534pazsmxaj90lbvpiy99zgg7w-clang-19.1.1-lib/lib/libclang-cpp.so.19.1+0x2a4b184)
#21 0x0000007ff669cc5c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) (/nix/store/fza22l534pazsmxaj90lbvpiy99zgg7w-clang-19.1.1-lib/lib/libclang-cpp.so.19.1+0x2a5cc5c)
#22 0x0000000000410210 clang_main(int, char**, llvm::ToolContext const&) (/nix/store/byrnmdgs12cf7yzj2zlyfsgbh1778m8n-clang-19.1.1/bin/clang+++0x410210)
#23 0x000000000040cc00 main (/nix/store/byrnmdgs12cf7yzj2zlyfsgbh1778m8n-clang-19.1.1/bin/clang+++0x40cc00)
#24 0x0000007fead5c584 __libc_start_call_main (/nix/store/mvsq4z2g9l05vfwdkr9nihbxyxm18nak-glibc-2.39-52/lib/libc.so.6+0x2c584)
#25 0x0000007fead5c658 __libc_start_main@GLIBC_2.17 (/nix/store/mvsq4z2g9l05vfwdkr9nihbxyxm18nak-glibc-2.39-52/lib/libc.so.6+0x2c658)
#26 0x000000000040ccb0 _start (/nix/store/byrnmdgs12cf7yzj2zlyfsgbh1778m8n-clang-19.1.1/bin/clang+++0x40ccb0)
clang++: error: clang frontend command failed with exit code 139 (use -v to see invocation)
clang version 19.1.1
Target: aarch64-unknown-linux-gnu
Thread model: posix
InstalledDir: /nix/store/byrnmdgs12cf7yzj2zlyfsgbh1778m8n-clang-19.1.1/bin
clang++: error: unable to execute command: Segmentation fault (core dumped)
clang++: note: diagnostic msg: Error generating preprocessed source(s).
ninja: build stopped: subcommand failed.
error: builder for '/nix/store/hpz99i1drxzxbfpzm7ffnqw2g4c7qbfk-jank-lang-dev.drv' failed with exit code 1;
last 25 log lines:
> #10 0x0000007ff48c135c clang::ParseAST(clang::Sema&, bool, bool) (/nix/store/fza22l534pazsmxaj90lbvpiy99zgg7w-clang-19.1.1-lib/lib/libclang-cpp.so.19.1+0xc8135c)
> #11 0x0000007ff6a9468c clang::FrontendAction::Execute() (/nix/store/fza22l534pazsmxaj90lbvpiy99zgg7w-clang-19.1.1-lib/lib/libclang-cpp.so.19.1+0x2e5468c)
> #12 0x0000007ff6a2a674 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/nix/store/fza22l534pazsmxaj90lbvpiy99zgg7w-clang-19.1.1-lib/lib/libclang-cpp.so.19.1+0x2dea674)
> #13 0x0000007ff6b16c58 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/nix/store/fza22l534pazsmxaj90lbvpiy99zgg7w-clang-19.1.1-lib/lib/libclang-cpp.so.19.1+0x2ed6c58)
> #14 0x0000000000413408 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/nix/store/byrnmdgs12cf7yzj2zlyfsgbh1778m8n-clang-19.1.1/bin/clang+++0x413408)
> #15 0x000000000040d258 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&, llvm::ToolContext const&) (/nix/store/byrnmdgs12cf7yzj2zlyfsgbh1778m8n-clang-19.1.1/bin/clang+++0x40d258)
> #16 0x0000007ff66be2b0 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const::'lambda'()>(long) (/nix/store/fza22l534pazsmxaj90lbvpiy99zgg7w-clang-19.1.1-lib/lib/libclang-cpp.so.19.1+0x2a7e2b0)
> #17 0x0000007fec0ac744 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/nix/store/if4pk31s7jxwmkmz84i1kkigs0cssd8j-llvm-19.1.1-lib/lib/libLLVM.so.19.1+0xe5c744)
> #18 0x0000007ff66be9e8 clang::driver::CC1Command::Execute(llvm::ArrayRef<std::optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const (.part.0) (/nix/store/fza22l534pazsmxaj90lbvpiy99zgg7w-clang-19.1.1-lib/lib/libclang-cpp.so.19.1+0x2a7e9e8)
> #19 0x0000007ff668a910 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/nix/store/fza22l534pazsmxaj90lbvpiy99zgg7w-clang-19.1.1-lib/lib/libclang-cpp.so.19.1+0x2a4a910)
> #20 0x0000007ff668b184 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const (/nix/store/fza22l534pazsmxaj90lbvpiy99zgg7w-clang-19.1.1-lib/lib/libclang-cpp.so.19.1+0x2a4b184)
> #21 0x0000007ff669cc5c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) (/nix/store/fza22l534pazsmxaj90lbvpiy99zgg7w-clang-19.1.1-lib/lib/libclang-cpp.so.19.1+0x2a5cc5c)
> #22 0x0000000000410210 clang_main(int, char**, llvm::ToolContext const&) (/nix/store/byrnmdgs12cf7yzj2zlyfsgbh1778m8n-clang-19.1.1/bin/clang+++0x410210)
> #23 0x000000000040cc00 main (/nix/store/byrnmdgs12cf7yzj2zlyfsgbh1778m8n-clang-19.1.1/bin/clang+++0x40cc00)
> #24 0x0000007fead5c584 __libc_start_call_main (/nix/store/mvsq4z2g9l05vfwdkr9nihbxyxm18nak-glibc-2.39-52/lib/libc.so.6+0x2c584)
> #25 0x0000007fead5c658 __libc_start_main@GLIBC_2.17 (/nix/store/mvsq4z2g9l05vfwdkr9nihbxyxm18nak-glibc-2.39-52/lib/libc.so.6+0x2c658)
> #26 0x000000000040ccb0 _start (/nix/store/byrnmdgs12cf7yzj2zlyfsgbh1778m8n-clang-19.1.1/bin/clang+++0x40ccb0)
> clang++: error: clang frontend command failed with exit code 139 (use -v to see invocation)
> clang version 19.1.1
> Target: aarch64-unknown-linux-gnu
> Thread model: posix
> InstalledDir: /nix/store/byrnmdgs12cf7yzj2zlyfsgbh1778m8n-clang-19.1.1/bin
> clang++: error: unable to execute command: Segmentation fault (core dumped)
> clang++: note: diagnostic msg: Error generating preprocessed source(s).
> ninja: build stopped: subcommand failed.
For full logs, run 'nix-store -l /nix/store/hpz99i1drxzxbfpzm7ffnqw2g4c7qbfk-jank-lang-dev.drv'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment