Cant build, failed to compile zluda_blass.
Mike-Baks opened this issue · comments
Always stop on zluda_blass v.0.0.0
Conosle:
Compiling zluda_blas v0.0.0 (/root/zluda/zluda_blas)
error: linking with cc failed: exit status: 1
|
= note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:./:/hive/bin:/hive/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" VSLANG="1033" "cc"
"-Wl,--version-script=/tmp/rustccpxQoL/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustccpxQoL/symbols.o" "/root/zluda/target/release/deps/cublas.cublas.a7de7fa99ece7298-cgu.0.rcgu.o" "/root/zluda/targe
t/release/deps/cublas.cublas.a7de7fa99ece7298-cgu.1.rcgu.o" "/root/zluda/target/release/deps/cublas.18lied4g1dldz8yb.rcgu.o" "-Wl,--as-needed" "-L" "/root/zluda/target/release/deps" "-L" "/opt/rocm/lib/" "-
L" "/root/zluda/target/release/build/libsqlite3-sys-6e0b19d0adab051f/out" "-L" "/opt/rocm/lib/" "-L" "/opt/rocm/lib/" "-L" "/root/zluda/target/release/build/cloudflare-zlib-sys-59865021340806a9/out" "-L" "/
root/zluda/target/release/build/lz4-sys-bdfd7521c30cbcb7/out" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/root/zluda/target/release/deps/libzluda_dark_api-a2f9436414697925.rlib" "/
root/zluda/target/release/deps/libthread_id-dabe4b2845790515.rlib" "/root/zluda/target/release/deps/liblz4_sys-238dce6c46d9efd0.rlib" "/root/zluda/target/release/deps/liblibc-699228b58f0ac3f1.rlib" "/root/z
luda/target/release/deps/libcloudflare_zlib-e32548e95c047d8d.rlib" "/root/zluda/target/release/deps/libcloudflare_zlib_sys-452e8781d059e841.rlib" "/root/zluda/target/release/deps/libbitflags-927f13dde35d81c
9.rlib" "/root/zluda/target/release/deps/libbit_vec-0624cbcb9f0e1ca0.rlib" "/root/zluda/target/release/deps/libhip_common-31d6b62c56ac6dd8.rlib" "/root/zluda/target/release/deps/liblibloading-38c3e5d860852c
50.rlib" "/root/zluda/target/release/deps/libmemchr-24685c35eac6b0f0.rlib" "/root/zluda/target/release/deps/librustc_hash-f4bef25a296bca06.rlib" "/root/zluda/target/release/deps/libcapnp-f88227e285b8a767.rl
ib" "/root/zluda/target/release/deps/libgoblin-4c21b29a9acabc2e.rlib" "/root/zluda/target/release/deps/libplain-7ef547eaec5a109b.rlib" "/root/zluda/target/release/deps/liblog-3559641d0764d7d6.rlib" "/root/z
luda/target/release/deps/libscroll-d614890956461b63.rlib" "/root/zluda/target/release/deps/librusqlite-38c1a020aac292c8.rlib" "/root/zluda/target/release/deps/libbitflags-3992ac9bab25daad.rlib" "/root/zluda
/target/release/deps/libsmallvec-bdafd60f8d1659ee.rlib" "/root/zluda/target/release/deps/libserde_json-eab9f2497f7a4b1b.rlib" "/root/zluda/target/release/deps/libitoa-96a05def571e3048.rlib" "/root/zluda/tar
get/release/deps/libryu-2284c446764c1db9.rlib" "/root/zluda/target/release/deps/libserde-b769ec12910556fd.rlib" "/root/zluda/target/release/deps/libfallible_streaming_iterator-d30dc44084fe5350.rlib" "/root/
zluda/target/release/deps/libfallible_iterator-aa97566d06119268.rlib" "/root/zluda/target/release/deps/libhashlink-7ffd4e0d65379a2c.rlib" "/root/zluda/target/release/deps/libhashbrown-4d404fa121184641.rlib"
"/root/zluda/target/release/deps/libahash-5beebdc23d8768fc.rlib" "/root/zluda/target/release/deps/libonce_cell-f74ad9ad610e6cc8.rlib" "/root/zluda/target/release/deps/libcfg_if-990fb7313fdf7f92.rlib" "/roo
t/zluda/target/release/deps/libzerocopy-2c37e84aa8f91374.rlib" "/root/zluda/target/release/deps/liballocator_api2-7449b13a4dffc836.rlib" "/root/zluda/target/release/deps/liblibsqlite3_sys-24deb01dd4414dd8.r
lib" "/root/zluda/target/release/deps/libitertools-5f3051091c0c6130.rlib" "/root/zluda/target/release/deps/libeither-dc868d6bddf1e1c2.rlib" "/root/zluda/target/release/deps/libhip_runtime_sys-a76fcd3ce29102
20.rlib" "/root/zluda/target/release/deps/librocsolver_sys-a7e9585ab032129a.rlib" "/root/zluda/target/release/deps/librocblas_sys-277bd3ccb8e9623f.rlib" "/root/zluda/target/release/deps/libcuda_types-37293f
6d07054957.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a919ac36939c6a74.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5b1af30ff494eed3.rlib" "/usr/lib/rustlib/x86_64-u
Шура, [09.04.2024 10:14]
nknown-linux-gnu/lib/libobject-cde6014e068b2206.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-b856467eaec7be00.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d55ca6597b3d
ea9e.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-8403d93f19320a4b.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-1ebf1fef7e902321.rlib" "/usr/lib/rustlib/x86_64-unk
nown-linux-gnu/lib/libstd_detect-3d09fe05550c1626.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-72ff981b90a36c50.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspa
ce_alloc-7a080bb6c669e2a5.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-a0fbdaa1b59535e2.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-4de9427704d92df2.rlib" "/usr/lib/
rustlib/x86_64-unknown-linux-gnu/lib/libunwind-0ee1a23e1d90169f.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-253c507a4182bcf6.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-4
b486003e3bc7510.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-6ebfb9195a794d59.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-018ca28ec81d9285.rlib" "/usr/l
ib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-734d62dbbe33665c.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-361a11600613d51d.rlib" "-Wl,-Bdynamic" "-ldl" "-lamdhip64" "-lrocso
lver" "-lrocblas" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/root/zluda/target/release/dep
s/libcublas.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs" "-Wl,-soname=libcublas.so"
= note: /usr/bin/ld: cannot find -lamdhip64
/usr/bin/ld: cannot find -lrocsolver
/usr/bin/ld: cannot find -lrocblas
collect2: error: ld returned 1 exit status
error: could not compile zluda_blas (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
Building [======================> ] 272/286: llvm-sys(build)
note: /usr/bin/ld: cannot find -lamdhip64
/usr/bin/ld: cannot find -lrocsolver
/usr/bin/ld: cannot find -lrocblas
You need to install ROCm: https://rocm.docs.amd.com/projects/install-on-linux/en/latest/. Steps depend on your particular distro, but make sure that you follow post-installation instructions