vosen / ZLUDA

CUDA on non-NVIDIA GPUs
https://vosen.github.io/ZLUDA/
Apache License 2.0
9.73k stars 636 forks source link

Failing to build ZLUDA #232

Closed radna0 closed 5 months ago

radna0 commented 6 months ago

System:

Ubuntu22.04


(base) r4-0@r40-desktop:~/ZLUDA$ cargo xtask --release
    Updating crates.io index
  Downloaded bitflags v2.4.1
  Downloaded argh_shared v0.1.12
  Downloaded adler v1.0.2
  Downloaded time-core v0.1.1
  Downloaded num_threads v0.1.7
  Downloaded cfg-if v1.0.0
  Downloaded filetime v0.2.23
  Downloaded errno v0.3.8
  Downloaded cargo_metadata v0.17.0
  Downloaded itoa v1.0.10
  Downloaded camino v1.1.6
  Downloaded argh v0.1.12
  Downloaded cargo-platform v0.1.5
  Downloaded argh_derive v0.1.12
  Downloaded thiserror v1.0.51
  Downloaded xattr v1.2.0
  Downloaded quote v1.0.33
  Downloaded thiserror-impl v1.0.51
  Downloaded semver v1.0.20
  Downloaded miniz_oxide v0.7.2
  Downloaded serde_derive v1.0.193
  Downloaded crc32fast v1.4.0
  Downloaded proc-macro2 v1.0.70
  Downloaded tar v0.4.40
  Downloaded unicode-ident v1.0.12
  Downloaded ryu v1.0.16
  Downloaded cc v1.0.83
  Downloaded serde v1.0.193
  Downloaded flate2 v1.0.29
  Downloaded cloudflare-zlib-sys v0.3.3
  Downloaded serde_json v1.0.108
  Downloaded time v0.3.23
  Downloaded syn v2.0.41
  Downloaded rustix v0.38.28
  Downloaded libc v0.2.151
  Downloaded linux-raw-sys v0.4.12
  Downloaded 36 crates (4.1 MB) in 0.81s (largest was `linux-raw-sys` at 1.5 MB)
   Compiling proc-macro2 v1.0.70
   Compiling unicode-ident v1.0.12
   Compiling serde v1.0.193
   Compiling libc v0.2.151
   Compiling cfg-if v1.0.0
   Compiling rustix v0.38.28
   Compiling crc32fast v1.4.0
   Compiling bitflags v2.4.1
   Compiling serde_json v1.0.108
   Compiling linux-raw-sys v0.4.12
   Compiling thiserror v1.0.51
   Compiling camino v1.1.6
   Compiling semver v1.0.20
   Compiling ryu v1.0.16
   Compiling adler v1.0.2
   Compiling itoa v1.0.10
   Compiling num_threads v0.1.7
   Compiling miniz_oxide v0.7.2
   Compiling time-core v0.1.1
   Compiling quote v1.0.33
   Compiling syn v2.0.41
   Compiling cc v1.0.83
   Compiling filetime v0.2.23
   Compiling time v0.3.23
   Compiling xattr v1.2.0
   Compiling tar v0.4.40
   Compiling cloudflare-zlib-sys v0.3.3
   Compiling serde_derive v1.0.193
   Compiling thiserror-impl v1.0.51
   Compiling flate2 v1.0.29
   Compiling argh_shared v0.1.12
   Compiling cargo-platform v0.1.5
   Compiling argh_derive v0.1.12
   Compiling cargo_metadata v0.17.0
   Compiling argh v0.1.12
   Compiling xtask v0.0.0 (/home/r4-0/ZLUDA/xtask)
    Finished dev [unoptimized + debuginfo] target(s) in 3m 46s
     Running `target/debug/xtask --release`
  Downloaded allocator-api2 v0.2.16
  Downloaded arrayref v0.3.7
  Downloaded scroll_derive v0.11.1
  Downloaded sha2 v0.10.8
  Downloaded arrayvec v0.7.4
  Downloaded anyhow v1.0.79
  Downloaded ahash v0.8.7
  Downloaded crunchy v0.2.2
  Downloaded cloudflare-zlib v0.2.10
  Downloaded enum-iterator v1.5.0
  Downloaded phf_shared v0.10.0
  Downloaded tinyvec_macros v0.1.1
  Downloaded new_debug_unreachable v1.0.4
  Downloaded smallvec v1.11.2
  Downloaded slab v0.4.9
  Downloaded num_enum_derive v0.4.3
  Downloaded equivalent v1.0.1
  Downloaded precomputed-hash v0.1.1
  Downloaded percent-encoding v2.3.1
  Downloaded dirs-sys-next v0.1.2
  Downloaded cmake v0.1.50
  Downloaded block-buffer v0.10.4
  Downloaded bit-set v0.5.3
  Downloaded bit-vec v0.6.3
  Downloaded ascii-canvas v3.0.0
  Downloaded cpufeatures v0.2.11
  Downloaded string_cache v0.8.7
  Downloaded thread-id v4.2.1
  Downloaded subtle v2.5.0
  Downloaded static_assertions v1.1.0
  Downloaded siphasher v0.3.11
  Downloaded const_format_proc_macros v0.2.32
  Downloaded autocfg v1.1.0
  Downloaded crypto-common v0.1.6
  Downloaded convert_case v0.5.0
  Downloaded constant_time_eq v0.2.6
  Downloaded memoffset v0.8.0
  Downloaded enum-iterator-derive v1.3.0
  Downloaded form_urlencoded v1.2.1
  Downloaded generic-array v0.14.7
  Downloaded ena v0.14.2
  Downloaded dynasmrt v1.2.3
  Downloaded byteorder v1.5.0
  Downloaded fallible-streaming-iterator v0.1.9
  Downloaded unicode-xid v0.2.4
  Downloaded either v1.9.0
  Downloaded digest v0.10.7
  Downloaded dirs-sys v0.3.7
  Downloaded is-terminal v0.4.9
  Downloaded plain v0.2.3
  Downloaded lalrpop-util v0.20.0
  Downloaded pkg-config v0.3.29
  Downloaded tiny-keccak v2.0.2
  Downloaded version_check v0.9.4
  Downloaded fallible-iterator v0.2.0
  Downloaded getset v0.1.2
  Downloaded paste v1.0.14
  Downloaded time-macros v0.2.10
  Downloaded fixedbitset v0.4.2
  Downloaded rustversion v1.0.14
  Downloaded dirs-next v2.0.0
  Downloaded pico-args v0.5.0
  Downloaded scopeguard v1.2.0
  Downloaded rustc-hash v1.1.0
  Downloaded fastrand v2.0.1
  Downloaded lazy_static v1.4.0
  Downloaded capnpc v0.17.2
  Downloaded dirs v4.0.0
  Downloaded memmap2 v0.5.10
  Downloaded lock_api v0.4.11
  Downloaded jobserver v0.1.27
  Downloaded hashlink v0.8.4
  Downloaded scroll v0.11.0
  Downloaded proc-macro-error-attr v1.0.4
  Downloaded tempfile v3.8.1
  Downloaded log v0.4.20
  Downloaded libloading v0.8.1
  Downloaded parking_lot_core v0.9.9
  Downloaded term v0.7.0
  Downloaded proc-macro-crate v0.1.5
  Downloaded once_cell v1.19.0
  Downloaded proc-macro-error v1.0.4
  Downloaded bitflags v1.3.2
  Downloaded crossbeam-utils v0.8.17
  Downloaded vergen v7.5.1
  Downloaded derivative v2.2.0
  Downloaded parking_lot v0.12.1
  Downloaded diff v0.1.13
  Downloaded typenum v1.17.0
  Downloaded toml v0.5.11
  Downloaded tinyvec v1.6.0
  Downloaded half v1.8.2
  Downloaded num-traits v0.2.17
  Downloaded indexmap v2.1.0
  Downloaded aho-corasick v1.1.2
  Downloaded cpp_demangle v0.3.5
  Downloaded unicode-bidi v0.3.15
  Downloaded url v2.5.0
  Downloaded const_format v0.2.32
  Downloaded crossbeam-channel v0.5.9
  Downloaded unicode-normalization v0.1.22
  Downloaded dynasm v1.2.3
  Downloaded memchr v2.6.4
  Downloaded capnp v0.17.2
  Downloaded libm v0.2.8
  Downloaded zerocopy v0.7.32
  Downloaded hashbrown v0.14.3
  Downloaded rusqlite v0.28.0
  Downloaded goblin v0.5.4
  Downloaded itertools v0.10.5
  Downloaded blake3 v1.3.3
  Downloaded vcpkg v0.2.15
  Downloaded syn v1.0.109
  Downloaded petgraph v0.6.4
  Downloaded git2 v0.16.1
  Downloaded lalrpop v0.20.0
  Downloaded regex v1.10.2
  Downloaded idna v0.5.0
  Downloaded regex-syntax v0.7.5
  Downloaded regex-syntax v0.8.2
  Downloaded lz4-sys v1.9.4
  Downloaded regex-automata v0.4.3
  Downloaded num_enum v0.4.3
  Downloaded libgit2-sys v0.14.2+1.5.1
  Downloaded libz-sys v1.1.15
  Downloaded libsqlite3-sys v0.25.2
  Downloaded 126 crates (17.8 MB) in 1.94s (largest was `libsqlite3-sys` at 4.8 MB)
   Compiling libc v0.2.151
   Compiling proc-macro2 v1.0.70
   Compiling version_check v0.9.4
   Compiling unicode-ident v1.0.12
   Compiling syn v1.0.109
   Compiling pkg-config v0.3.29
   Compiling vcpkg v0.2.15
   Compiling autocfg v1.1.0
   Compiling cfg-if v1.0.0
   Compiling serde v1.0.193
   Compiling typenum v1.17.0
   Compiling unicode-xid v0.2.4
   Compiling hip_runtime-sys v0.0.0 (/home/r4-0/ZLUDA/hip_runtime-sys)
   Compiling once_cell v1.19.0
   Compiling memchr v2.6.4
   Compiling zerocopy v0.7.32
   Compiling ahash v0.8.7
   Compiling generic-array v0.14.7
   Compiling serde_json v1.0.108
   Compiling allocator-api2 v0.2.16
   Compiling subtle v2.5.0
   Compiling ryu v1.0.16
   Compiling rustc-hash v1.1.0
   Compiling rustix v0.38.28
   Compiling itoa v1.0.10
   Compiling quote v1.0.33
   Compiling hashbrown v0.14.3
   Compiling proc-macro-error-attr v1.0.4
   Compiling plain v0.2.3
   Compiling syn v2.0.41
   Compiling fallible-iterator v0.2.0
   Compiling log v0.4.20
   Compiling const_format_proc_macros v0.2.32
   Compiling cpufeatures v0.2.11
   Compiling bitflags v1.3.2
   Compiling bitflags v2.4.1
   Compiling either v1.9.0
   Compiling fallible-streaming-iterator v0.1.9
   Compiling smallvec v1.11.2
   Compiling hashlink v0.8.4
   Compiling itertools v0.10.5
   Compiling lock_api v0.4.11
   Compiling jobserver v0.1.27
   Compiling proc-macro-error v1.0.4
   Compiling libloading v0.8.1
   Compiling crypto-common v0.1.6
   Compiling block-buffer v0.10.4
   Compiling cc v1.0.83
   Compiling parking_lot_core v0.9.9
   Compiling paste v1.0.14
   Compiling digest v0.10.7
   Compiling thiserror v1.0.51
   Compiling const_format v0.2.32
   Compiling sha2 v0.10.8
   Compiling capnp v0.17.2
   Compiling dirs-sys-next v0.1.2
   Compiling aho-corasick v1.1.2
   Compiling scopeguard v1.2.0
   Compiling tinyvec_macros v0.1.1
   Compiling regex-syntax v0.8.2
   Compiling crunchy v0.2.2
   Compiling tinyvec v1.6.0
   Compiling dirs-next v2.0.0
   Compiling libsqlite3-sys v0.25.2
   Compiling cloudflare-zlib-sys v0.3.3
   Compiling lz4-sys v1.9.4
   Compiling libz-sys v1.1.15
   Compiling cmake v0.1.50
   Compiling bit-vec v0.6.3
   Compiling anyhow v1.0.79
   Compiling siphasher v0.3.11
   Compiling serde_derive v1.0.193
   Compiling scroll_derive v0.11.1
   Compiling thiserror-impl v1.0.51
   Compiling rustversion v1.0.14
   Compiling linux-raw-sys v0.4.12
   Compiling tiny-keccak v2.0.2
   Compiling regex-automata v0.4.3
   Compiling convert_case v0.5.0
   Compiling equivalent v1.0.1
   Compiling indexmap v2.1.0
   Compiling scroll v0.11.0
   Compiling llvm-sys v150.1.2 (/home/r4-0/ZLUDA/ext/llvm-sys.rs)
   Compiling goblin v0.5.4
   Compiling phf_shared v0.10.0
   Compiling unicode-normalization v0.1.22
   Compiling parking_lot v0.12.1
   Compiling term v0.7.0
   Compiling libgit2-sys v0.14.2+1.5.1
   Compiling thread-id v4.2.1
   Compiling precomputed-hash v0.1.1
   Compiling libm v0.2.8
   Compiling unicode-bidi v0.3.15
   Compiling fixedbitset v0.4.2
   Compiling regex v1.10.2
   Compiling percent-encoding v2.3.1
   Compiling time-core v0.1.1
   Compiling new_debug_unreachable v1.0.4
   Compiling string_cache v0.8.7
   Compiling cuda_base v0.0.0 (/home/r4-0/ZLUDA/cuda_base)
   Compiling lalrpop-util v0.20.0
   Compiling bit-set v0.5.3
   Compiling time v0.3.23
   Compiling idna v0.5.0
   Compiling form_urlencoded v1.2.1
   Compiling petgraph v0.6.4
   Compiling is-terminal v0.4.9
   Compiling ascii-canvas v3.0.0
   Compiling ena v0.14.2
   Compiling num-traits v0.2.17
   Compiling cuda_types v0.0.0 (/home/r4-0/ZLUDA/cuda_types)
   Compiling diff v0.1.13
   Compiling regex-syntax v0.7.5
   Compiling pico-args v0.5.0
   Compiling vergen v7.5.1
   Compiling url v2.5.0
   Compiling enum-iterator-derive v1.3.0
   Compiling zluda_llvm v0.0.0 (/home/r4-0/ZLUDA/zluda_llvm)
   Compiling cpp_demangle v0.3.5
   Compiling enum-iterator v1.5.0
   Compiling lalrpop v0.20.0
   Compiling getset v0.1.2
   Compiling half v1.8.2
   Compiling toml v0.5.11
   Compiling blake3 v1.3.3
   Compiling memoffset v0.8.0
   Compiling crossbeam-utils v0.8.17
   Compiling lazy_static v1.4.0
   Compiling proc-macro-crate v0.1.5
   Compiling num_enum_derive v0.4.3
   Compiling derivative v2.2.0
   Compiling dirs-sys v0.3.7
   Compiling slab v0.4.9
   Compiling rocm_smi-sys v0.0.0 (/home/r4-0/ZLUDA/rocm_smi-sys)
   Compiling constant_time_eq v0.2.6
   Compiling arrayvec v0.7.4
   Compiling rocblas-sys v0.0.0 (/home/r4-0/ZLUDA/rocblas-sys)
   Compiling arrayref v0.3.7
   Compiling rocsolver-sys v0.0.0 (/home/r4-0/ZLUDA/rocsolver-sys)
   Compiling hipblaslt-sys v0.0.0 (/home/r4-0/ZLUDA/hipblaslt-sys)
   Compiling hipfft-sys v0.0.0 (/home/r4-0/ZLUDA/hipfft-sys)
   Compiling fastrand v2.0.1
   Compiling rocsparse-sys v0.0.0 (/home/r4-0/ZLUDA/rocsparse-sys)
   Compiling byteorder v1.5.0
   Compiling miopen-sys v0.0.0 (/home/r4-0/ZLUDA/miopen-sys)
   Compiling dynasm v1.2.3
   Compiling tempfile v3.8.1
   Compiling dirs v4.0.0
   Compiling memmap2 v0.5.10
   Compiling static_assertions v1.1.0
   Compiling num_enum v0.4.3
   Compiling crossbeam-channel v0.5.9
   Compiling zluda_ml v0.0.0 (/home/r4-0/ZLUDA/zluda_ml)
   Compiling zluda_ccl v0.0.0 (/home/r4-0/ZLUDA/zluda_ccl)
   Compiling zluda_dnn v0.0.0 (/home/r4-0/ZLUDA/zluda_dnn)
   Compiling ptx v0.0.0 (/home/r4-0/ZLUDA/ptx)
   Compiling cloudflare-zlib v0.2.10
   Compiling dynasmrt v1.2.3
   Compiling git2 v0.16.1
   Compiling zluda v0.0.0 (/home/r4-0/ZLUDA/zluda)
   Compiling rusqlite v0.28.0
   Compiling hip_common v0.0.0 (/home/r4-0/ZLUDA/hip_common)
   Compiling zluda_dark_api v0.0.0 (/home/r4-0/ZLUDA/zluda_dark_api)
   Compiling comgr v0.0.0 (/home/r4-0/ZLUDA/comgr)
   Compiling zluda_fft v0.0.0 (/home/r4-0/ZLUDA/zluda_fft)
   Compiling zluda_sparse v0.0.0 (/home/r4-0/ZLUDA/zluda_sparse)
   Compiling zluda_blas v0.0.0 (/home/r4-0/ZLUDA/zluda_blas)
   Compiling zluda_blaslt v0.0.0 (/home/r4-0/ZLUDA/zluda_blaslt)
warning: crate `cublasLt` should have a snake case name
  |
  = help: convert the identifier to snake case: `cublas_lt`
  = note: `#[warn(non_snake_case)]` on by default

warning: `zluda_blaslt` (lib) generated 1 warning
error: failed to run custom build command for `llvm-sys v150.1.2 (/home/r4-0/ZLUDA/ext/llvm-sys.rs)`

Caused by:
  process didn't exit successfully: `/home/r4-0/ZLUDA/target/release/build/llvm-sys-04d8e9102fc43ca1/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-changed=build.rs
  cargo:rerun-if-changed=/home/r4-0/ZLUDA/ext/llvm-project/llvm
  cargo:rerun-if-changed=/home/r4-0/ZLUDA/ext/llvm-sys.rs/build.cmake
  CMAKE_TOOLCHAIN_FILE_x86_64-unknown-linux-gnu = None
  CMAKE_TOOLCHAIN_FILE_x86_64_unknown_linux_gnu = None
  HOST_CMAKE_TOOLCHAIN_FILE = None
  CMAKE_TOOLCHAIN_FILE = None
  CMAKE_PREFIX_PATH_x86_64-unknown-linux-gnu = None
  CMAKE_PREFIX_PATH_x86_64_unknown_linux_gnu = None
  HOST_CMAKE_PREFIX_PATH = None
  CMAKE_PREFIX_PATH = None
  CMAKE_x86_64-unknown-linux-gnu = None
  CMAKE_x86_64_unknown_linux_gnu = None
  HOST_CMAKE = None
  CMAKE = None
  running: "cmake" "/home/r4-0/ZLUDA/ext/llvm-project/llvm" "-G" "Ninja" "-DLLVM_ENABLE_LIBXML2=OFF" "-DLLVM_ENABLE_ZLIB=OFF" "-DLLVM_ENABLE_ZSTD=OFF" "-DLLVM_ENABLE_CURL=OFF" "-DLLVM_ENABLE_HTTPLIB=OFF" "-DLLVM_ENABLE_LIBEDIT=OFF" "-DLLVM_ENABLE_TERMINFO=OFF" "-DLLVM_BUILD_TOOLS=OFF" "-DLLVM_TARGETS_TO_BUILD=" "-DLLVM_ENABLE_PROJECTS=" "-DCMAKE_PROJECT_INCLUDE_BEFORE=/home/r4-0/ZLUDA/ext/llvm-sys.rs/build.cmake" "-DCMAKE_INSTALL_PREFIX=/home/r4-0/ZLUDA/target/release/build/llvm-sys-22ea7c535897be01/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/home/r4-0/miniconda3/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/home/r4-0/miniconda3/bin/cc" "-DCMAKE_BUILD_TYPE=Release"
  -- The C compiler identification is GNU 12.1.0
  -- The CXX compiler identification is GNU 11.4.0
  -- The ASM compiler identification is GNU
  -- Found assembler: /home/r4-0/miniconda3/bin/cc
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Check for working C compiler: /home/r4-0/miniconda3/bin/cc - 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: /usr/bin/c++ - skipped
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  -- Looking for dlfcn.h
  -- Looking for dlfcn.h - found
  -- Looking for errno.h
  -- Looking for errno.h - found
  -- Looking for fcntl.h
  -- Looking for fcntl.h - found
  -- Looking for link.h
  -- Looking for link.h - found
  -- Looking for malloc/malloc.h
  -- Looking for malloc/malloc.h - not found
  -- Looking for pthread.h
  -- Looking for pthread.h - found
  -- Looking for signal.h
  -- Looking for signal.h - found
  -- Looking for sys/ioctl.h
  -- Looking for sys/ioctl.h - found
  -- Looking for sys/mman.h
  -- Looking for sys/mman.h - found
  -- Looking for sys/param.h
  -- Looking for sys/param.h - found
  -- Looking for sys/resource.h
  -- Looking for sys/resource.h - found
  -- Looking for sys/stat.h
  -- Looking for sys/stat.h - found
  -- Looking for sys/time.h
  -- Looking for sys/time.h - found
  -- Looking for sys/types.h
  -- Looking for sys/types.h - found
  -- Looking for sysexits.h
  -- Looking for sysexits.h - found
  -- Looking for termios.h
  -- Looking for termios.h - found
  -- Looking for unistd.h
  -- Looking for unistd.h - found
  -- Looking for valgrind/valgrind.h
  -- Looking for valgrind/valgrind.h - not found
  -- Looking for fenv.h
  -- Looking for fenv.h - found
  -- Looking for FE_ALL_EXCEPT
  -- Looking for FE_ALL_EXCEPT - found
  -- Looking for FE_INEXACT
  -- Looking for FE_INEXACT - found
  -- Looking for mach/mach.h
  -- Looking for mach/mach.h - not found
  -- Looking for CrashReporterClient.h
  -- Looking for CrashReporterClient.h - not found
  -- Looking for linux/magic.h
  -- Looking for linux/magic.h - found
  -- Looking for pthread_create in pthread
  -- Looking for pthread_create in pthread - found
  -- Looking for pthread_rwlock_init in pthread
  -- Looking for pthread_rwlock_init in pthread - found
  -- Looking for pthread_mutex_lock in pthread
  -- Looking for pthread_mutex_lock in pthread - found
  -- Looking for dlopen in dl
  -- Looking for dlopen in dl - found
  -- Looking for clock_gettime in rt
  -- Looking for clock_gettime in rt - found
  -- Looking for pfm_initialize in pfm
  -- Looking for pfm_initialize in pfm - not found
  -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
  -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
  -- Looking for pthread_create in pthreads
  -- Looking for pthread_create in pthreads - not found
  -- Looking for pthread_create in pthread
  -- Looking for pthread_create in pthread - found
  -- Found Threads: TRUE  
  -- Looking for xar_open in xar
  -- Looking for xar_open in xar - not found
  -- Looking for arc4random
  -- Looking for arc4random - not found
  -- Looking for backtrace
  -- Looking for backtrace - found
  -- backtrace facility detected in default set of libraries
  -- Found Backtrace: /home/r4-0/miniconda3/x86_64-conda-linux-gnu/sysroot/usr/include  
  -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW
  -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed
  -- Looking for __register_frame
  -- Looking for __register_frame - found
  -- Looking for __deregister_frame
  -- Looking for __deregister_frame - found
  -- Looking for __unw_add_dynamic_fde
  -- Looking for __unw_add_dynamic_fde - not found
  -- Looking for _Unwind_Backtrace
  -- Looking for _Unwind_Backtrace - found
  -- Looking for getpagesize
  -- Looking for getpagesize - found
  -- Looking for sysconf
  -- Looking for sysconf - found
  -- Looking for getrusage
  -- Looking for getrusage - found
  -- Looking for setrlimit
  -- Looking for setrlimit - found
  -- Looking for isatty
  -- Looking for isatty - found
  -- Looking for futimens
  -- Looking for futimens - found
  -- Looking for futimes
  -- Looking for futimes - found
  -- Looking for sigaltstack
  -- Looking for sigaltstack - found
  -- Looking for lseek64
  -- Looking for lseek64 - found
  -- Looking for mallctl
  -- Looking for mallctl - not found
  -- Looking for mallinfo
  -- Looking for mallinfo - found
  -- Looking for mallinfo2
  -- Looking for mallinfo2 - not found
  -- Looking for malloc_zone_statistics
  -- Looking for malloc_zone_statistics - not found
  -- Looking for getrlimit
  -- Looking for getrlimit - found
  -- Looking for posix_spawn
  -- Looking for posix_spawn - found
  -- Looking for pread
  -- Looking for pread - found
  -- Looking for sbrk
  -- Looking for sbrk - found
  -- Looking for strerror
  -- Looking for strerror - found
  -- Looking for strerror_r
  -- Looking for strerror_r - found
  -- Looking for strerror_s
  -- Looking for strerror_s - not found
  -- Looking for setenv
  -- Looking for setenv - found
  -- Looking for dlopen
  -- Looking for dlopen - found
  -- Looking for dladdr
  -- Looking for dladdr - not found
  -- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC
  -- Performing Test HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC - Failed
  -- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC
  -- Performing Test HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC - Success
  -- Looking for __GLIBC__
  -- Looking for __GLIBC__ - found
  -- Looking for pthread_getname_np
  -- Looking for pthread_getname_np - found
  -- Looking for pthread_setname_np
  -- Looking for pthread_setname_np - found
  -- Looking for proc_pid_rusage
  -- Looking for proc_pid_rusage - not found
  -- Performing Test HAVE_STD_IS_TRIVIALLY_COPYABLE
  -- Performing Test HAVE_STD_IS_TRIVIALLY_COPYABLE - Success
  -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB
  -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success
  -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB
  -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success
  -- Performing Test LLVM_HAS_ATOMICS
  -- Performing Test LLVM_HAS_ATOMICS - Success
  -- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG
  -- Performing Test SUPPORTS_VARIADIC_MACROS_FLAG - Success
  -- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG
  -- Performing Test SUPPORTS_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS_FLAG - Failed
  -- Performing Test HAS_MAYBE_UNINITIALIZED
  -- Performing Test HAS_MAYBE_UNINITIALIZED - Success
  -- Native target X86 is not selected; lli will not JIT code
  -- Threads enabled.
  -- Doxygen disabled.
  -- Go bindings disabled.
  -- Ninja version: 1.10.2
  -- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) 
  -- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) 
  -- OCaml bindings disabled.
  -- Could NOT find Python module pygments
  -- Could NOT find Python module pygments.lexers.c_cpp
  -- Could NOT find Python module yaml
  -- LLVM host triple: x86_64-unknown-linux-gnu
  -- LLVM default target triple: x86_64-unknown-linux-gnu
  -- 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 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 CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW
  -- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed
  -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG
  -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success
  -- Performing Test C_SUPPORTS_CXX98_COMPAT_EXTRA_SEMI_FLAG
  -- Performing Test C_SUPPORTS_CXX98_COMPAT_EXTRA_SEMI_FLAG - Failed
  -- Performing Test CXX_SUPPORTS_CXX98_COMPAT_EXTRA_SEMI_FLAG
  -- Performing Test CXX_SUPPORTS_CXX98_COMPAT_EXTRA_SEMI_FLAG - Failed
  -- 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 - Failed
  -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG
  -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed
  -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG
  -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG - Success
  -- Performing Test CXX_SUPPORTS_REDUNDANT_MOVE_FLAG
  -- Performing Test CXX_SUPPORTS_REDUNDANT_MOVE_FLAG - Success
  -- Performing Test CXX_SUPPORTS_PESSIMIZING_MOVE_FLAG
  -- Performing Test CXX_SUPPORTS_PESSIMIZING_MOVE_FLAG - Success
  -- 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 - Failed
  -- 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 - Failed
  -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG
  -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG - Failed
  -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG
  -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG - Failed
  -- 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 LINKER_SUPPORTS_COLOR_DIAGNOSTICS
  -- Performing Test LINKER_SUPPORTS_COLOR_DIAGNOSTICS - Failed
  -- 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: /home/r4-0/miniconda3/bin/python3.12 (found suitable version "3.12.2", minimum required is "3.6") found components: Interpreter 
  -- Linker detection: GNU ld
  -- Performing Test HAS_WERROR_GLOBAL_CTORS
  -- Performing Test HAS_WERROR_GLOBAL_CTORS - Failed
  -- Looking for __x86_64__
  -- Looking for __x86_64__ - found
  -- Found Git: /usr/bin/git (found version "2.34.1") 
  -- Registering Bye as a pass plugin (static build: OFF)
  -- Failed to find LLVM FileCheck
  -- git version: v0.0.0 normalized to 0.0.0
  -- Version: 1.6.0
  -- Looking for shm_open in rt
  -- Looking for shm_open in rt - found
  -- Performing Test HAVE_CXX_FLAG_STD_CXX11
  -- Performing Test HAVE_CXX_FLAG_STD_CXX11 - Success
  -- Performing Test HAVE_CXX_FLAG_WALL
  -- Performing Test HAVE_CXX_FLAG_WALL - Success
  -- Performing Test HAVE_CXX_FLAG_WEXTRA
  -- Performing Test HAVE_CXX_FLAG_WEXTRA - Success
  -- Performing Test HAVE_CXX_FLAG_WSHADOW
  -- Performing Test HAVE_CXX_FLAG_WSHADOW - Success
  -- Performing Test HAVE_CXX_FLAG_WSUGGEST_OVERRIDE
  -- Performing Test HAVE_CXX_FLAG_WSUGGEST_OVERRIDE - Success
  -- Performing Test HAVE_CXX_FLAG_PEDANTIC
  -- Performing Test HAVE_CXX_FLAG_PEDANTIC - Success
  -- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS
  -- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS - Success
  -- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32
  -- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Failed
  -- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING
  -- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING - Success
  -- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS
  -- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS - Success
  -- Performing Test HAVE_CXX_FLAG_FNO_EXCEPTIONS
  -- Performing Test HAVE_CXX_FLAG_FNO_EXCEPTIONS - Success
  -- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING
  -- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING - Success
  -- Performing Test HAVE_CXX_FLAG_WD654
  -- Performing Test HAVE_CXX_FLAG_WD654 - Failed
  -- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY
  -- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY - Failed
  -- Performing Test HAVE_CXX_FLAG_COVERAGE
  -- Performing Test HAVE_CXX_FLAG_COVERAGE - Success
  -- Performing Test HAVE_GNU_POSIX_REGEX
  -- Performing Test HAVE_GNU_POSIX_REGEX
  -- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
  -- Performing Test HAVE_POSIX_REGEX
  -- Performing Test HAVE_POSIX_REGEX
  -- Performing Test HAVE_POSIX_REGEX -- success
  -- Performing Test HAVE_STEADY_CLOCK
  -- Performing Test HAVE_STEADY_CLOCK
  -- Performing Test HAVE_STEADY_CLOCK -- success
  -- Configuring done (15.7s)
  -- Generating done (1.1s)
  -- Build files have been written to: /home/r4-0/ZLUDA/target/release/build/llvm-sys-22ea7c535897be01/out/build
  running: "cmake" "--build" "." "--target" "LLVMCore" "--config" "Release" "--parallel" "12"
  [1/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ABIBreak.cpp.o
  [2/355] Building CXX object lib/Demangle/CMakeFiles/LLVMDemangle.dir/Demangle.cpp.o
  [3/355] Building CXX object lib/Demangle/CMakeFiles/LLVMDemangle.dir/DLangDemangle.cpp.o
  [4/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/AddressRanges.cpp.o
  [5/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/TargetParser.cpp.o
  [6/355] Building CXX object lib/Demangle/CMakeFiles/LLVMDemangle.dir/RustDemangle.cpp.o
  [7/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/AArch64TargetParser.cpp.o
  [8/355] Building CXX object lib/Demangle/CMakeFiles/LLVMDemangle.dir/MicrosoftDemangleNodes.cpp.o
  [9/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APSInt.cpp.o
  [10/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/AutoConvert.cpp.o
  [11/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ARMTargetParser.cpp.o
  [12/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ARMWinEH.cpp.o
  [13/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ARMBuildAttrs.cpp.o
  [14/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/AMDGPUMetadata.cpp.o
  [15/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APFixedPoint.cpp.o
  [16/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Allocator.cpp.o
  [17/355] Building CXX object lib/Demangle/CMakeFiles/LLVMDemangle.dir/MicrosoftDemangle.cpp.o
  [18/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/BlockFrequency.cpp.o
  [19/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/BuryPointer.cpp.o
  [20/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/BinaryStreamError.cpp.o
  [21/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/BranchProbability.cpp.o
  [22/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/COM.cpp.o
  [23/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ARMAttributeParser.cpp.o
  [24/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/BinaryStreamRef.cpp.o
  [25/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/circular_raw_ostream.cpp.o
  [26/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/BinaryStreamWriter.cpp.o
  [27/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/BinaryStreamReader.cpp.o
  [28/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Chrono.cpp.o
  [29/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/CRC.cpp.o
  [30/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ConvertUTF.cpp.o
  [31/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Compression.cpp.o
  [32/355] Building CXX object lib/Demangle/CMakeFiles/LLVMDemangle.dir/ItaniumDemangle.cpp.o
  [33/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APInt.cpp.o
  [34/355] Linking CXX static library lib/libLLVMDemangle.a
  [35/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/CachePruning.cpp.o
  [36/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ConvertUTFWrapper.cpp.o
  [37/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/CSKYAttributes.cpp.o
  [38/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Caching.cpp.o
  [39/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/CodeGenCoverage.cpp.o
  [40/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/APFloat.cpp.o
  [41/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/CrashRecoveryContext.cpp.o
  [42/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/DivisionByConstantInfo.cpp.o
  [43/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Debug.cpp.o
  [44/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/CSKYAttributeParser.cpp.o
  [45/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/CSKYTargetParser.cpp.o
  [46/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ExtensibleRTTI.cpp.o
  [47/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/DJB.cpp.o
  [48/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/DeltaAlgorithm.cpp.o
  [49/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ELFAttributes.cpp.o
  [50/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/DataExtractor.cpp.o
  [51/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/DebugCounter.cpp.o
  [52/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FormattedStream.cpp.o
  [53/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/DAGDeltaAlgorithm.cpp.o
  [54/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Error.cpp.o
  [55/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ErrorHandling.cpp.o
  [56/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FoldingSet.cpp.o
  [57/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FormatVariadic.cpp.o
  [58/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Hashing.cpp.o
  [59/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ELFAttributeParser.cpp.o
  [60/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/InstructionCost.cpp.o
  [61/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FileOutputBuffer.cpp.o
  [62/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FileUtilities.cpp.o
  [63/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/FileCollector.cpp.o
  [64/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/IntEqClasses.cpp.o
  [65/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/InitLLVM.cpp.o
  [66/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/GlobPattern.cpp.o
  [67/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/IntervalMap.cpp.o
  [68/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/LineIterator.cpp.o
  [69/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Locale.cpp.o
  [70/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/LEB128.cpp.o
  [71/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/MemAlloc.cpp.o
  [72/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/GraphWriter.cpp.o
  [73/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/MathExtras.cpp.o
  [74/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/LowLevelType.cpp.o
  [75/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ManagedStatic.cpp.o
  [76/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/MemoryBufferRef.cpp.o
  [77/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/MSP430Attributes.cpp.o
  [78/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/MD5.cpp.o
  [79/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/KnownBits.cpp.o
  [80/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Optional.cpp.o
  [81/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/CommandLine.cpp.o
  [82/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/LockFileManager.cpp.o
  [83/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/MSP430AttributeParser.cpp.o
  [84/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/NativeFormatting.cpp.o
  [85/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/OptimizedStructLayout.cpp.o
  [86/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/MemoryBuffer.cpp.o
  [87/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/PrettyStackTrace.cpp.o
  [88/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/RISCVAttributes.cpp.o
  [89/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/PluginLoader.cpp.o
  [90/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Regex.cpp.o
  [91/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/RISCVAttributeParser.cpp.o
  [92/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Parallel.cpp.o
  [93/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ScaledNumber.cpp.o
  [94/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Signposts.cpp.o
  [95/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SHA1.cpp.o
  [96/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/RandomNumberGenerator.cpp.o
  [97/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SmallPtrSet.cpp.o
  [98/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/JSON.cpp.o
  [99/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SmallVector.cpp.o
  [100/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/StringMap.cpp.o
  [101/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SHA256.cpp.o
  [102/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/StringExtras.cpp.o
  [103/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/StringSaver.cpp.o
  [104/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SystemUtils.cpp.o
  [105/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SuffixTree.cpp.o
  [106/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SymbolRemappingReader.cpp.o
  [107/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ScopedPrinter.cpp.o
  [108/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Statistic.cpp.o
  [109/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/RISCVISAInfo.cpp.o
  [110/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SourceMgr.cpp.o
  [111/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/StringRef.cpp.o
  [112/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/SpecialCaseList.cpp.o
  [113/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/TarWriter.cpp.o
  [114/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ThreadPool.cpp.o
  [115/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/TrigramIndex.cpp.o
  [116/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Twine.cpp.o
  [117/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Unicode.cpp.o
  [118/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ItaniumManglingCanonicalizer.cpp.o
  [119/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/UnicodeCaseFold.cpp.o
  [120/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ToolOutputFile.cpp.o
  [121/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/TypeSize.cpp.o
  [122/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/UnicodeNameToCodepointGenerated.cpp.o
  [123/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/VersionTuple.cpp.o
  [124/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/raw_os_ostream.cpp.o
  [125/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/X86TargetParser.cpp.o
  [126/355] Building C object lib/Support/CMakeFiles/LLVMSupport.dir/regerror.c.o
  [127/355] Building C object lib/Support/CMakeFiles/LLVMSupport.dir/regfree.c.o
  [128/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/UnicodeNameToCodepoint.cpp.o
  [129/355] Building C object lib/Support/CMakeFiles/LLVMSupport.dir/regstrlcpy.c.o
  [130/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/TimeProfiler.cpp.o
  [131/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Triple.cpp.o
  [132/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/WithColor.cpp.o
  [133/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Atomic.cpp.o
  [134/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Timer.cpp.o
  [135/355] Building C object lib/Support/CMakeFiles/LLVMSupport.dir/regcomp.c.o
  [136/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Errno.cpp.o
  [137/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/xxhash.cpp.o
  [138/355] Building C object lib/Support/CMakeFiles/LLVMSupport.dir/regexec.c.o
  [139/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Z3Solver.cpp.o
  [140/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/DynamicLibrary.cpp.o
  [141/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/YAMLTraits.cpp.o
  [142/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/raw_ostream.cpp.o
  [143/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Valgrind.cpp.o
  [144/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/RWMutex.cpp.o
  [145/355] Building ASM object lib/Support/BLAKE3/CMakeFiles/LLVMSupportBlake3.dir/blake3_sse41_x86-64_unix.S.o
  [146/355] Building ASM object lib/Support/BLAKE3/CMakeFiles/LLVMSupportBlake3.dir/blake3_avx2_x86-64_unix.S.o
  [147/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Watchdog.cpp.o
  [148/355] Building ASM object lib/Support/BLAKE3/CMakeFiles/LLVMSupportBlake3.dir/blake3_avx512_x86-64_unix.S.o
  [149/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Memory.cpp.o
  [150/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Process.cpp.o
  In file included from /home/r4-0/ZLUDA/ext/llvm-project/llvm/lib/Support/Process.cpp:107:
  /home/r4-0/ZLUDA/ext/llvm-project/llvm/lib/Support/Unix/Process.inc: In static member function ‘static size_t llvm::sys::Process::GetMallocUsage()’:
  /home/r4-0/ZLUDA/ext/llvm-project/llvm/lib/Support/Unix/Process.inc:97:10: warning: ‘mallinfo mallinfo()’ is deprecated [-Wdeprecated-declarations]
     97 |   mi = ::mallinfo();
        |          ^~~~~~~~
  In file included from /home/r4-0/ZLUDA/ext/llvm-project/llvm/lib/Support/Unix/Process.inc:34,
                   from /home/r4-0/ZLUDA/ext/llvm-project/llvm/lib/Support/Process.cpp:107:
  /usr/include/malloc.h:114:24: note: declared here
    114 | extern struct mallinfo mallinfo (void) __THROW __MALLOC_DEPRECATED;
        |                        ^~~~~~~~
  In file included from /home/r4-0/ZLUDA/ext/llvm-project/llvm/lib/Support/Process.cpp:107:
  /home/r4-0/ZLUDA/ext/llvm-project/llvm/lib/Support/Unix/Process.inc:97:18: warning: ‘mallinfo mallinfo()’ is deprecated [-Wdeprecated-declarations]
     97 |   mi = ::mallinfo();
        |        ~~~~~~~~~~^~
  In file included from /home/r4-0/ZLUDA/ext/llvm-project/llvm/lib/Support/Unix/Process.inc:34,
                   from /home/r4-0/ZLUDA/ext/llvm-project/llvm/lib/Support/Process.cpp:107:
  /usr/include/malloc.h:114:24: note: declared here
    114 | extern struct mallinfo mallinfo (void) __THROW __MALLOC_DEPRECATED;
        |                        ^~~~~~~~
  [151/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/ThreadLocal.cpp.o
  [152/355] Building ASM object lib/Support/BLAKE3/CMakeFiles/LLVMSupportBlake3.dir/blake3_sse2_x86-64_unix.S.o
  [153/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/YAMLParser.cpp.o
  [154/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Threading.cpp.o
  [155/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Host.cpp.o
  [156/355] Building C object lib/Support/BLAKE3/CMakeFiles/LLVMSupportBlake3.dir/blake3_dispatch.c.o
  [157/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Program.cpp.o
  [158/355] Building C object lib/Support/BLAKE3/CMakeFiles/LLVMSupportBlake3.dir/blake3.c.o
  [159/355] Building C object lib/Support/BLAKE3/CMakeFiles/LLVMSupportBlake3.dir/blake3_neon.c.o
  [160/355] Building C object lib/Support/BLAKE3/CMakeFiles/LLVMSupportBlake3.dir/blake3_portable.c.o
  [161/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Signals.cpp.o
  [162/355] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/TableGenBackend.cpp.o
  [163/355] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/Error.cpp.o
  [164/355] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/TableGenBackendSkeleton.cpp.o
  [165/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/Path.cpp.o
  [166/355] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/DetailedRecordsBackend.cpp.o
  [167/355] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/StringMatcher.cpp.o
  [168/355] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/Parser.cpp.o
  [169/355] Building CXX object lib/Support/CMakeFiles/LLVMSupport.dir/VirtualFileSystem.cpp.o
  [170/355] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/JSONBackend.cpp.o
  [171/355] Linking CXX static library lib/libLLVMSupport.a
  [172/355] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/Main.cpp.o
  [173/355] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/TGLexer.cpp.o
  [174/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/Attributes.cpp.o
  [175/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/AsmWriterInst.cpp.o
  [176/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenHwModes.cpp.o
  [177/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/CallingConvEmitter.cpp.o
  [178/355] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/SetTheory.cpp.o
  [179/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeEmitterGen.cpp.o
  [180/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenMapTable.cpp.o
  [181/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenInstruction.cpp.o
  [182/355] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/TGParser.cpp.o
  [183/355] Building CXX object lib/TableGen/CMakeFiles/LLVMTableGen.dir/Record.cpp.o
  [184/355] Linking CXX static library lib/libLLVMTableGen.a
  [185/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/DAGISelEmitter.cpp.o
  [186/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/DAGISelMatcherOpt.cpp.o
  [187/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/AsmWriterEmitter.cpp.o
  [188/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/DAGISelMatcher.cpp.o
  [189/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/DAGISelMatcherGen.cpp.o
  [190/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/DAGISelMatcherEmitter.cpp.o
  [191/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenTarget.cpp.o
  [192/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/DisassemblerEmitter.cpp.o
  [193/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/AsmMatcherEmitter.cpp.o
  [194/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/DirectiveEmitter.cpp.o
  [195/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/ExegesisEmitter.cpp.o
  [196/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/DFAEmitter.cpp.o
  [197/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/DFAPacketizerEmitter.cpp.o
  [198/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenSchedule.cpp.o
  [199/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/DecoderEmitter.cpp.o
  [200/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenRegisters.cpp.o
  In file included from /home/r4-0/ZLUDA/ext/llvm-project/llvm/utils/TableGen/CodeGenRegisters.h:25,
                   from /home/r4-0/ZLUDA/ext/llvm-project/llvm/utils/TableGen/CodeGenRegisters.cpp:14:
  /home/r4-0/ZLUDA/ext/llvm-project/llvm/include/llvm/ADT/SparseBitVector.h: In member function ‘unsigned int llvm::CodeGenRegister::getWeight(const llvm::CodeGenRegBank&) const’:
  /home/r4-0/ZLUDA/ext/llvm-project/llvm/include/llvm/ADT/SparseBitVector.h:130:15: warning: array subscript 2 is above array bounds of ‘const BitWord [2]’ {aka ‘const long unsigned int [2]’} [-Warray-bounds]
    130 |       if (Bits[i] != 0)
        |           ~~~~^
  /home/r4-0/ZLUDA/ext/llvm-project/llvm/include/llvm/ADT/SparseBitVector.h:55:11: note: while referencing ‘llvm::SparseBitVectorElement<128>::Bits’
     55 |   BitWord Bits[BITWORDS_PER_ELEMENT];
        |           ^~~~
  /home/r4-0/ZLUDA/ext/llvm-project/llvm/include/llvm/ADT/SparseBitVector.h: In function ‘bool normalizeWeight(llvm::CodeGenRegister*, std::vector<{anonymous}::UberRegSet>&, std::vector<{anonymous}::UberRegSet*>&, llvm::BitVector&, llvm::CodeGenRegister::RegUnitList&, llvm::CodeGenRegBank&)’:
  /home/r4-0/ZLUDA/ext/llvm-project/llvm/include/llvm/ADT/SparseBitVector.h:130:15: warning: array subscript 2 is above array bounds of ‘const BitWord [2]’ {aka ‘const long unsigned int [2]’} [-Warray-bounds]
    130 |       if (Bits[i] != 0)
        |           ~~~~^
  /home/r4-0/ZLUDA/ext/llvm-project/llvm/include/llvm/ADT/SparseBitVector.h:55:11: note: while referencing ‘llvm::SparseBitVectorElement<128>::Bits’
     55 |   BitWord Bits[BITWORDS_PER_ELEMENT];
        |           ^~~~
  /home/r4-0/ZLUDA/ext/llvm-project/llvm/include/llvm/ADT/SparseBitVector.h: In member function ‘void llvm::CodeGenRegisterClass::buildRegUnitSet(const llvm::CodeGenRegBank&, std::vector<unsigned int, std::allocator<unsigned int> >&) const’:
  /home/r4-0/ZLUDA/ext/llvm-project/llvm/include/llvm/ADT/SparseBitVector.h:130:15: warning: array subscript 2 is above array bounds of ‘const BitWord [2]’ {aka ‘const long unsigned int [2]’} [-Warray-bounds]
    130 |       if (Bits[i] != 0)
        |           ~~~~^
  /home/r4-0/ZLUDA/ext/llvm-project/llvm/include/llvm/ADT/SparseBitVector.h:55:11: note: while referencing ‘llvm::SparseBitVectorElement<128>::Bits’
     55 |   BitWord Bits[BITWORDS_PER_ELEMENT];
        |           ^~~~
  [201/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/DXILEmitter.cpp.o
  [202/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/OptEmitter.cpp.o
  [203/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/InfoByHwMode.cpp.o
  [204/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenDAGPatterns.cpp.o
  [205/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/InstrDocsEmitter.cpp.o
  [206/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/OptRSTEmitter.cpp.o
  [207/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/PredicateExpander.cpp.o
  [208/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/IntrinsicEmitter.cpp.o
  [209/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/OptParserEmitter.cpp.o
  [210/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/SDNodeProperties.cpp.o
  [211/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/PseudoLoweringEmitter.cpp.o
  [212/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/Types.cpp.o
  [213/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/FastISelEmitter.cpp.o
  [214/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/RegisterBankEmitter.cpp.o
  [215/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/GICombinerEmitter.cpp.o
  [216/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/SubtargetFeatureInfo.cpp.o
  [217/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/TableGen.cpp.o
  [218/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/InstrInfoEmitter.cpp.o
  [219/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/X86ModRMFilters.cpp.o
  [220/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/X86DisassemblerTables.cpp.o
  [221/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/CompressInstEmitter.cpp.o
  [222/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/X86EVEX2VEXTablesEmitter.cpp.o
  [223/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/X86MnemonicTables.cpp.o
  [224/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/WebAssemblyDisassemblerEmitter.cpp.o
  [225/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/X86FoldTablesEmitter.cpp.o
  [226/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/VarLenCodeEmitterGen.cpp.o
  [227/355] Building CXX object utils/TableGen/GlobalISel/CMakeFiles/LLVMTableGenGlobalISel.dir/GIMatchDagOperands.cpp.o
  [228/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/CTagsEmitter.cpp.o
  [229/355] Building CXX object utils/TableGen/GlobalISel/CMakeFiles/LLVMTableGenGlobalISel.dir/GIMatchDagEdge.cpp.o
  [230/355] Building CXX object utils/TableGen/GlobalISel/CMakeFiles/LLVMTableGenGlobalISel.dir/CodeExpander.cpp.o
  [231/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/SearchableTableEmitter.cpp.o
  [232/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/X86RecognizableInstr.cpp.o
  [233/355] Building CXX object utils/TableGen/GlobalISel/CMakeFiles/LLVMTableGenGlobalISel.dir/GIMatchDagPredicateDependencyEdge.cpp.o
  [234/355] Building CXX object lib/BinaryFormat/CMakeFiles/LLVMBinaryFormat.dir/COFF.cpp.o
  [235/355] Building CXX object utils/TableGen/GlobalISel/CMakeFiles/LLVMTableGenGlobalISel.dir/GIMatchDagPredicate.cpp.o
  [236/355] Building CXX object lib/BinaryFormat/CMakeFiles/LLVMBinaryFormat.dir/ELF.cpp.o
  [237/355] Building CXX object utils/TableGen/GlobalISel/CMakeFiles/LLVMTableGenGlobalISel.dir/GIMatchDag.cpp.o
  [238/355] Building CXX object utils/TableGen/GlobalISel/CMakeFiles/LLVMTableGenGlobalISel.dir/GIMatchDagInstr.cpp.o
  [239/355] Building CXX object lib/BinaryFormat/CMakeFiles/LLVMBinaryFormat.dir/Minidump.cpp.o
  [240/355] Building CXX object lib/BinaryFormat/CMakeFiles/LLVMBinaryFormat.dir/AMDGPUMetadataVerifier.cpp.o
  [241/355] Building CXX object lib/BinaryFormat/CMakeFiles/LLVMBinaryFormat.dir/Magic.cpp.o
  [242/355] Building CXX object lib/BinaryFormat/CMakeFiles/LLVMBinaryFormat.dir/MachO.cpp.o
  [243/355] Building CXX object lib/BinaryFormat/CMakeFiles/LLVMBinaryFormat.dir/Wasm.cpp.o
  [244/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/SubtargetEmitter.cpp.o
  [245/355] Building CXX object lib/BinaryFormat/CMakeFiles/LLVMBinaryFormat.dir/MsgPackWriter.cpp.o
  [246/355] Building CXX object lib/BinaryFormat/CMakeFiles/LLVMBinaryFormat.dir/MsgPackReader.cpp.o
  [247/355] Building CXX object lib/BinaryFormat/CMakeFiles/LLVMBinaryFormat.dir/Dwarf.cpp.o
  [248/355] Building CXX object lib/BinaryFormat/CMakeFiles/LLVMBinaryFormat.dir/XCOFF.cpp.o
  [249/355] Building CXX object lib/BinaryFormat/CMakeFiles/LLVMBinaryFormat.dir/MsgPackDocumentYAML.cpp.o
  [250/355] Building CXX object lib/BinaryFormat/CMakeFiles/LLVMBinaryFormat.dir/MsgPackDocument.cpp.o
  [251/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/RegisterInfoEmitter.cpp.o
  In file included from /home/r4-0/ZLUDA/ext/llvm-project/llvm/utils/TableGen/CodeGenRegisters.h:25,
                   from /home/r4-0/ZLUDA/ext/llvm-project/llvm/utils/TableGen/RegisterInfoEmitter.cpp:15:
  /home/r4-0/ZLUDA/ext/llvm-project/llvm/include/llvm/ADT/SparseBitVector.h: In member function ‘void llvm::SparseBitVector<ElementSize>::SparseBitVectorIterator::AdvanceToFirstNonZero() [with unsigned int ElementSize = 128]’:
  /home/r4-0/ZLUDA/ext/llvm-project/llvm/include/llvm/ADT/SparseBitVector.h:130:15: warning: array subscript 2 is above array bounds of ‘const BitWord [2]’ {aka ‘const long unsigned int [2]’} [-Warray-bounds]
    130 |       if (Bits[i] != 0)
        |           ~~~~^
  /home/r4-0/ZLUDA/ext/llvm-project/llvm/include/llvm/ADT/SparseBitVector.h:55:11: note: while referencing ‘llvm::SparseBitVectorElement<128>::Bits’
     55 |   BitWord Bits[BITWORDS_PER_ELEMENT];
        |           ^~~~
  [252/355] Linking CXX static library lib/libLLVMBinaryFormat.a
  [253/355] Building CXX object lib/Bitstream/Reader/CMakeFiles/LLVMBitstreamReader.dir/BitstreamReader.cpp.o
  [254/355] Linking CXX static library lib/libLLVMBitstreamReader.a
  [255/355] Building CXX object utils/TableGen/GlobalISel/CMakeFiles/LLVMTableGenGlobalISel.dir/GIMatchTree.cpp.o
  [256/355] Linking CXX static library lib/libLLVMTableGenGlobalISel.a
  [257/355] Building CXX object utils/TableGen/CMakeFiles/llvm-tblgen.dir/GlobalISelEmitter.cpp.o
  [258/355] Linking CXX executable bin/llvm-tblgen
  FAILED: bin/llvm-tblgen 
  : && /usr/bin/c++ -ffunction-sections -fdata-sections -fPIC -m64 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -Wl,-rpath-link,/home/r4-0/ZLUDA/target/release/build/llvm-sys-22ea7c535897be01/out/build/./lib  -Wl,--gc-sections utils/TableGen/CMakeFiles/llvm-tblgen.dir/AsmMatcherEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/AsmWriterEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/AsmWriterInst.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/Attributes.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/CallingConvEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeEmitterGen.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenDAGPatterns.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenHwModes.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenInstruction.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenMapTable.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenRegisters.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenSchedule.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenTarget.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/DAGISelEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/DAGISelMatcherEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/DAGISelMatcherGen.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/DAGISelMatcherOpt.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/DAGISelMatcher.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/DecoderEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/DFAEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/DFAPacketizerEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/DirectiveEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/DisassemblerEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/DXILEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/ExegesisEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/FastISelEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/GICombinerEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/GlobalISelEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/InfoByHwMode.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/InstrInfoEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/InstrDocsEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/IntrinsicEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/OptEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/OptParserEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/OptRSTEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/PredicateExpander.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/PseudoLoweringEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/CompressInstEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/RegisterBankEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/RegisterInfoEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/SDNodeProperties.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/SearchableTableEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/SubtargetEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/SubtargetFeatureInfo.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/TableGen.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/Types.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/VarLenCodeEmitterGen.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/X86DisassemblerTables.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/X86EVEX2VEXTablesEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/X86FoldTablesEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/X86MnemonicTables.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/X86ModRMFilters.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/X86RecognizableInstr.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/WebAssemblyDisassemblerEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/CTagsEmitter.cpp.o -o bin/llvm-tblgen -L/home/r4-0/miniconda3/lib/gcc/x86_64-conda-linux-gnu/12.1.0   -L/home/r4-0/miniconda3/lib/gcc   -L/home/r4-0/miniconda3/x86_64-conda-linux-gnu/lib   -L/home/r4-0/miniconda3/lib   -L/home/r4-0/miniconda3/x86_64-conda-linux-gnu/sysroot/lib   -L/home/r4-0/miniconda3/x86_64-conda-linux-gnu/sysroot/usr/lib -Wl,-rpath,"\$ORIGIN/../lib"  lib/libLLVMSupport.a  lib/libLLVMTableGen.a  -lpthread  lib/libLLVMTableGenGlobalISel.a  lib/libLLVMTableGen.a  lib/libLLVMSupport.a  -lrt  -ldl  -lpthread  -lm  lib/libLLVMDemangle.a && :
  /usr/bin/ld: cannot find /lib64/libpthread.so.0: No such file or directory
  /usr/bin/ld: cannot find /usr/lib64/libpthread_nonshared.a: No such file or directory
  collect2: error: ld returned 1 exit status
  ninja: build stopped: subcommand failed.

  --- stderr
  thread 'main' panicked at '
  command did not execute successfully, got: exit status: 1

  build script failed, must exit now', /home/r4-0/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.50/src/lib.rs:1098:5
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
Error: "\"/home/r4-0/.rustup/toolchains/1.66.1-x86_64-unknown-linux-gnu/bin/cargo\" \"build\" \"--locked\" \"-p\" \"zluda_blas\" \"-p\" \"zluda_blaslt\" \"-p\" \"zluda_ccl\" \"-p\" \"zluda_dnn\" \"-p\" \"zluda_dump\" \"-p\" \"zluda_fft\" \"-p\" \"zluda_ml\" \"-p\" \"zluda_lib\" \"-p\" \"zluda_sparse\" \"--release\" failed with exit code 101"
vosen commented 6 months ago

Try installing build-essential package

radna0 commented 6 months ago

I already have build-essential installed

(base) r4-0@r40-desktop:~/ZLUDA$ sudo apt install build-essential
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
build-essential is already the newest version (12.9ubuntu3).
The following packages were automatically installed and are no longer required:
  libllvm16.0.50703-amdgpu libllvm16.0.50703-amdgpu:i386
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

I remember having installed all of the dependencies already, by following the dockerfile.

Same Error?

(base) r4-0@r40-desktop:~/ZLUDA$ cargo xtask --release
    Finished dev [unoptimized + debuginfo] target(s) in 0.06s
     Running `target/debug/xtask --release`
   Compiling llvm-sys v150.1.2 (/home/r4-0/ZLUDA/ext/llvm-sys.rs)
warning: crate `cublasLt` should have a snake case name
  |
  = help: convert the identifier to snake case: `cublas_lt`
  = note: `#[warn(non_snake_case)]` on by default

warning: `zluda_blaslt` (lib) generated 1 warning
error: failed to run custom build command for `llvm-sys v150.1.2 (/home/r4-0/ZLUDA/ext/llvm-sys.rs)`

Caused by:
  process didn't exit successfully: `/home/r4-0/ZLUDA/target/release/build/llvm-sys-04d8e9102fc43ca1/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-changed=build.rs
  cargo:rerun-if-changed=/home/r4-0/ZLUDA/ext/llvm-project/llvm
  cargo:rerun-if-changed=/home/r4-0/ZLUDA/ext/llvm-sys.rs/build.cmake
  CMAKE_TOOLCHAIN_FILE_x86_64-unknown-linux-gnu = None
  CMAKE_TOOLCHAIN_FILE_x86_64_unknown_linux_gnu = None
  HOST_CMAKE_TOOLCHAIN_FILE = None
  CMAKE_TOOLCHAIN_FILE = None
  CMAKE_PREFIX_PATH_x86_64-unknown-linux-gnu = None
  CMAKE_PREFIX_PATH_x86_64_unknown_linux_gnu = None
  HOST_CMAKE_PREFIX_PATH = None
  CMAKE_PREFIX_PATH = None
  CMAKE_x86_64-unknown-linux-gnu = None
  CMAKE_x86_64_unknown_linux_gnu = None
  HOST_CMAKE = None
  CMAKE = None
  running: "cmake" "/home/r4-0/ZLUDA/ext/llvm-project/llvm" "-G" "Ninja" "-DLLVM_ENABLE_LIBXML2=OFF" "-DLLVM_ENABLE_ZLIB=OFF" "-DLLVM_ENABLE_ZSTD=OFF" "-DLLVM_ENABLE_CURL=OFF" "-DLLVM_ENABLE_HTTPLIB=OFF" "-DLLVM_ENABLE_LIBEDIT=OFF" "-DLLVM_ENABLE_TERMINFO=OFF" "-DLLVM_BUILD_TOOLS=OFF" "-DLLVM_TARGETS_TO_BUILD=" "-DLLVM_ENABLE_PROJECTS=" "-DCMAKE_PROJECT_INCLUDE_BEFORE=/home/r4-0/ZLUDA/ext/llvm-sys.rs/build.cmake" "-DCMAKE_INSTALL_PREFIX=/home/r4-0/ZLUDA/target/release/build/llvm-sys-22ea7c535897be01/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/home/r4-0/miniconda3/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/home/r4-0/miniconda3/bin/cc" "-DCMAKE_BUILD_TYPE=Release"
  -- Native target X86 is not selected; lli will not JIT code
  -- Threads enabled.
  -- Doxygen disabled.
  -- Go bindings disabled.
  -- Ninja version: 1.10.2
  -- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) 
  -- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) 
  -- OCaml bindings disabled.
  -- LLVM host triple: x86_64-unknown-linux-gnu
  -- LLVM default target triple: x86_64-unknown-linux-gnu
  -- Building with -fPIC
  -- Registering Bye as a pass plugin (static build: OFF)
  -- Failed to find LLVM FileCheck
  -- git version: v0.0.0 normalized to 0.0.0
  -- Version: 1.6.0
  -- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
  -- Performing Test HAVE_POSIX_REGEX -- success
  -- Performing Test HAVE_STEADY_CLOCK -- success
  -- Configuring done (2.2s)
  -- Generating done (1.0s)
  -- Build files have been written to: /home/r4-0/ZLUDA/target/release/build/llvm-sys-22ea7c535897be01/out/build
  running: "cmake" "--build" "." "--target" "LLVMCore" "--config" "Release" "--parallel" "12"
  [1/98] Linking CXX executable bin/llvm-tblgen
  FAILED: bin/llvm-tblgen 
  : && /usr/bin/c++ -ffunction-sections -fdata-sections -fPIC -m64 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -Wl,-rpath-link,/home/r4-0/ZLUDA/target/release/build/llvm-sys-22ea7c535897be01/out/build/./lib  -Wl,--gc-sections utils/TableGen/CMakeFiles/llvm-tblgen.dir/AsmMatcherEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/AsmWriterEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/AsmWriterInst.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/Attributes.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/CallingConvEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeEmitterGen.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenDAGPatterns.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenHwModes.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenInstruction.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenMapTable.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenRegisters.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenSchedule.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenTarget.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/DAGISelEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/DAGISelMatcherEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/DAGISelMatcherGen.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/DAGISelMatcherOpt.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/DAGISelMatcher.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/DecoderEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/DFAEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/DFAPacketizerEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/DirectiveEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/DisassemblerEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/DXILEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/ExegesisEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/FastISelEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/GICombinerEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/GlobalISelEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/InfoByHwMode.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/InstrInfoEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/InstrDocsEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/IntrinsicEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/OptEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/OptParserEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/OptRSTEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/PredicateExpander.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/PseudoLoweringEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/CompressInstEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/RegisterBankEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/RegisterInfoEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/SDNodeProperties.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/SearchableTableEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/SubtargetEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/SubtargetFeatureInfo.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/TableGen.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/Types.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/VarLenCodeEmitterGen.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/X86DisassemblerTables.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/X86EVEX2VEXTablesEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/X86FoldTablesEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/X86MnemonicTables.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/X86ModRMFilters.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/X86RecognizableInstr.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/WebAssemblyDisassemblerEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/CTagsEmitter.cpp.o -o bin/llvm-tblgen -L/home/r4-0/miniconda3/lib/gcc/x86_64-conda-linux-gnu/12.1.0   -L/home/r4-0/miniconda3/lib/gcc   -L/home/r4-0/miniconda3/x86_64-conda-linux-gnu/lib   -L/home/r4-0/miniconda3/lib   -L/home/r4-0/miniconda3/x86_64-conda-linux-gnu/sysroot/lib   -L/home/r4-0/miniconda3/x86_64-conda-linux-gnu/sysroot/usr/lib -Wl,-rpath,"\$ORIGIN/../lib"  lib/libLLVMSupport.a  lib/libLLVMTableGen.a  -lpthread  lib/libLLVMTableGenGlobalISel.a  lib/libLLVMTableGen.a  lib/libLLVMSupport.a  -lrt  -ldl  -lpthread  -lm  lib/libLLVMDemangle.a && :
  /usr/bin/ld: cannot find /lib64/libpthread.so.0: No such file or directory
  /usr/bin/ld: cannot find /usr/lib64/libpthread_nonshared.a: No such file or directory
  collect2: error: ld returned 1 exit status
  ninja: build stopped: subcommand failed.

  --- stderr
  thread 'main' panicked at '
  command did not execute successfully, got: exit status: 1

  build script failed, must exit now', /home/r4-0/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.50/src/lib.rs:1098:5
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error: "\"/home/r4-0/.rustup/toolchains/1.66.1-x86_64-unknown-linux-gnu/bin/cargo\" \"build\" \"--locked\" \"-p\" \"zluda_blas\" \"-p\" \"zluda_blaslt\" \"-p\" \"zluda_ccl\" \"-p\" \"zluda_dnn\" \"-p\" \"zluda_dump\" \"-p\" \"zluda_fft\" \"-p\" \"zluda_ml\" \"-p\" \"zluda_lib\" \"-p\" \"zluda_sparse\" \"--release\" failed with exit code 101"
vosen commented 6 months ago

Weird, linker is complaining about the lack of pthread libraries, but pthread is so fundamental that it's hard to avoid having it installed. Check if you have package libc6-dev and if file /usr/lib/x86_64-linux-gnu/libpthread.so.0 exists

radna0 commented 5 months ago

I wasn't able to get that instance to work, Normally I would just run a script to setup the OS, this time around I tried installing some unsual packages which I thought might help conpiling.

In the end, I resulted to just reseting everything and with the regular packages it compiled successfully