Skip to content

Instantly share code, notes, and snippets.

@sonicrules1234
Created February 12, 2023 18:42
Show Gist options
  • Save sonicrules1234/f0de93ba9fe3f0639a46d295b6f1e993 to your computer and use it in GitHub Desktop.
Save sonicrules1234/f0de93ba9fe3f0639a46d295b6f1e993 to your computer and use it in GitHub Desktop.
Compiling stable-diffusion v0.1.0 (/home/westly/pykeio/stable-diffusion)
error: linking with `cc` failed: exit status: 1
|
= note: "cc" "-m64" "/tmp/rustcN6Oh5z/symbols.o" "/home/westly/pykeio/stable-diffusion/target/release/deps/stable_diffusion-68b64c2d80b2088d.stable_diffusion.fdc39c2c-cgu.0.rcgu.o" "/home/westly/pykeio/stable-diffusion/target/release/deps/stable_diffusion-68b64c2d80b2088d.stable_diffusion.fdc39c2c-cgu.1.rcgu.o" "/home/westly/pykeio/stable-diffusion/target/release/deps/stable_diffusion-68b64c2d80b2088d.stable_diffusion.fdc39c2c-cgu.10.rcgu.o" "/home/westly/pykeio/stable-diffusion/target/release/deps/stable_diffusion-68b64c2d80b2088d.stable_diffusion.fdc39c2c-cgu.11.rcgu.o" "/home/westly/pykeio/stable-diffusion/target/release/deps/stable_diffusion-68b64c2d80b2088d.stable_diffusion.fdc39c2c-cgu.12.rcgu.o" "/home/westly/pykeio/stable-diffusion/target/release/deps/stable_diffusion-68b64c2d80b2088d.stable_diffusion.fdc39c2c-cgu.13.rcgu.o" "/home/westly/pykeio/stable-diffusion/target/release/deps/stable_diffusion-68b64c2d80b2088d.stable_diffusion.fdc39c2c-cgu.14.rcgu.o" "/home/westly/pykeio/stable-diffusion/target/release/deps/stable_diffusion-68b64c2d80b2088d.stable_diffusion.fdc39c2c-cgu.15.rcgu.o" "/home/westly/pykeio/stable-diffusion/target/release/deps/stable_diffusion-68b64c2d80b2088d.stable_diffusion.fdc39c2c-cgu.2.rcgu.o" "/home/westly/pykeio/stable-diffusion/target/release/deps/stable_diffusion-68b64c2d80b2088d.stable_diffusion.fdc39c2c-cgu.3.rcgu.o" "/home/westly/pykeio/stable-diffusion/target/release/deps/stable_diffusion-68b64c2d80b2088d.stable_diffusion.fdc39c2c-cgu.4.rcgu.o" "/home/westly/pykeio/stable-diffusion/target/release/deps/stable_diffusion-68b64c2d80b2088d.stable_diffusion.fdc39c2c-cgu.5.rcgu.o" "/home/westly/pykeio/stable-diffusion/target/release/deps/stable_diffusion-68b64c2d80b2088d.stable_diffusion.fdc39c2c-cgu.6.rcgu.o" "/home/westly/pykeio/stable-diffusion/target/release/deps/stable_diffusion-68b64c2d80b2088d.stable_diffusion.fdc39c2c-cgu.7.rcgu.o" "/home/westly/pykeio/stable-diffusion/target/release/deps/stable_diffusion-68b64c2d80b2088d.stable_diffusion.fdc39c2c-cgu.8.rcgu.o" "/home/westly/pykeio/stable-diffusion/target/release/deps/stable_diffusion-68b64c2d80b2088d.stable_diffusion.fdc39c2c-cgu.9.rcgu.o" "/home/westly/pykeio/stable-diffusion/target/release/deps/stable_diffusion-68b64c2d80b2088d.3m0xek3pzp051vhr.rcgu.o" "-Wl,--as-needed" "-L" "/home/westly/pykeio/stable-diffusion/target/release/deps" "-L" "/home/westly/onnxruntime/dockerfiles/build/Linux/Release/" "-L" "/home/westly/onnxruntime/dockerfiles/build/Linux/Release/_deps/protobuf-build" "-L" "/home/westly/onnxruntime/dockerfiles/build/Linux/Release/_deps/onnx-build" "-L" "/home/westly/onnxruntime/dockerfiles/build/Linux/Release/_deps/google_nsync-build" "-L" "/home/westly/onnxruntime/dockerfiles/build/Linux/Release/_deps/pytorch_cpuinfo-build" "-L" "/home/westly/onnxruntime/dockerfiles/build/Linux/Release/_deps/pytorch_cpuinfo-build/deps/clog" "-L" "/home/westly/onnxruntime/dockerfiles/build/Linux/Release/_deps/re2-build" "-L" "/home/westly/onnxruntime/dockerfiles/build/Linux/Release/_deps/abseil_cpp-build/absl/base" "-L" "/home/westly/onnxruntime/dockerfiles/build/Linux/Release/_deps/abseil_cpp-build/absl/hash" "-L" "/home/westly/onnxruntime/dockerfiles/build/Linux/Release/_deps/abseil_cpp-build/absl/container" "-L" "/home/westly/pykeio/stable-diffusion/target/release/build/ring-98a294e0c9c73fee/out" "-L" "/home/westly/pykeio/stable-diffusion/target/release/build/onig_sys-a39e9b30f865b4e7/out" "-L" "/home/westly/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/home/westly/pykeio/stable-diffusion/target/release/deps/libpyke_diffusers-5c821a9734c71b7f.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libndarray_rand-f100e3dd51e67a1f.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/librand_distr-93d96d4387ee75f6.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libimage-43d555c2ba832dbf.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libbytemuck-44b3919a9a9741bc.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libcolor_quant-097985928283a0b3.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libnum_rational-7cbc2f35a1f019c2.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libanyhow-143e6e8d5852e1da.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libort-f925f7823e0ddced.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libhalf-961a83ae6dbccb50.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libureq-1625efbf039e28c4.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libwebpki_roots-5e0c9d7c1e4a7ceb.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/librustls-5379393cb6777f27.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libsct-221d4afded434b69.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libwebpki-349fe8ef9d6ef87b.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libring-9116f904d27fb509.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libspin-716835dad70ba480.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libuntrusted-c02d895c672743f8.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libflate2-13e28b1e753684ac.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libminiz_oxide-c5f31019be19e6f6.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libadler-359118335b634087.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libcrc32fast-e7c50df5112f3c0d.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/liburl-d8b40e7ca209d665.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libidna-8a05b93aca0f7bba.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libunicode_normalization-1f8ff196dff9f604.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libtinyvec-861b92e789981b2d.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libtinyvec_macros-83e9da9a79a41697.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libunicode_bidi-368313958396c2ff.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libform_urlencoded-c53653dfe3f10dfa.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libpercent_encoding-63e5b3e5164990c2.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libtracing-e13a5c07d95a0675.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libpin_project_lite-1e15ebadec396d73.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libtracing_core-19585c41e85f56e9.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libtokenizers-32ad697790cc24dd.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libesaxx_rs-8e3da5f09a16b030.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libthiserror-f503d1bb7fae07e9.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libregex-56d377950559e8c8.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libaho_corasick-7c988a2f7359094a.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libregex_syntax-6d338df9e30e1c81.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libunicode_normalization_alignments-c8b9c1026b58a371.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libsmallvec-cc96a7c44f83e3c4.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libspm_precompiled-64171e3d016c8a08.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libbase64-3048eabf3b340d76.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libunicode_segmentation-1c7a815423ad1d23.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libnom-59906487d4e19f9b.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libmemchr-6ef6e242f488a2a9.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libunicode_categories-9bfdd884ddbdd4e2.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/librand-90d478b3c5147d41.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/librand_chacha-e721f173128bac24.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libppv_lite86-b8c3d26f39d33f81.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/librand_core-349d2dec4122e210.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libgetrandom-31b4ffc28db7b2de.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libserde_json-be0e6c7028933d5c.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libryu-e947d1969e34da9b.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libitoa-eebfe3513fdd3a03.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libitertools-cb895ea2b676aff2.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libmacro_rules_attribute-9662fbc875109798.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/librayon_cond-cb602a9d4aea38ac.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libitertools-d63f5deb7580ca0b.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libonig-c1d587a86e496193.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libbitflags-c7b073b268f2979c.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libonig_sys-b5c89b07d4f12e79.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libonce_cell-abb55d6e7594fd31.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/liblazy_static-16eba8560d4e4203.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/liblog-19d44e7b8d35c348.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libserde-bb87e0281d15d93d.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libndarray-e8846f707fc11250.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libmatrixmultiply-233610b13139d815.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libnum_complex-dd62b457d96b0af4.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libnum_integer-01dca4d64a6b706c.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libnum_traits-12dccf861944397d.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/librawpointer-c2a5736a220767cf.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/librayon-815691895ea6e7cc.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/librayon_core-24aafe33bb74a81b.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libnum_cpus-7875d0f946c96e9a.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/liblibc-493e0760681c2ddc.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libcrossbeam_deque-06fb0fc60cc91908.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libcrossbeam_epoch-09b54eb605b7ec6d.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libmemoffset-4c38a405616fa9d1.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libscopeguard-e7dd64e57ee55d88.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libcrossbeam_channel-198a523685fe7003.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libcrossbeam_utils-0da19dc91d554e53.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libcfg_if-1ba8969e86818473.rlib" "/home/westly/pykeio/stable-diffusion/target/release/deps/libeither-e7b6ced245cde848.rlib" "/home/westly/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-c6192dd4c4d410ac.rlib" "/home/westly/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-ff7377081f1949cc.rlib" "/home/westly/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-1cb453c5b22d87c0.rlib" "/home/westly/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-ef80a3f609e31ec2.rlib" "/home/westly/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-a690952b7d7394ed.rlib" "/home/westly/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-33a38bd462dea42b.rlib" "/home/westly/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-2804c2e5e3dadb10.rlib" "/home/westly/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-6cea4a991902c072.rlib" "/home/westly/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-3f9cac5a3a01ae1f.rlib" "/home/westly/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-be29f577ccd2e0c7.rlib" "/home/westly/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-40cbcc82de628eb3.rlib" "/home/westly/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-ce9e735ebca3a756.rlib" "/home/westly/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-52730b1d9cce8f6d.rlib" "/home/westly/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-dbd9b472d3582c61.rlib" "/home/westly/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8f1d87098c577a9e.rlib" "/home/westly/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-72ca4bc0b0597905.rlib" "/home/westly/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-cdff4f89b0741001.rlib" "/home/westly/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-92115cdd0b50e8be.rlib" "/home/westly/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-7f2d6606c0ceff89.rlib" "-Wl,-Bdynamic" "-lstdc++" "-lonnxruntime_providers_shared" "-lonnxruntime_providers_rocm" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/home/westly/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/westly/pykeio/stable-diffusion/target/release/deps/stable_diffusion-68b64c2d80b2088d" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-Wl,-O1" "-nodefaultlibs"
= note: /usr/bin/ld: /home/westly/pykeio/stable-diffusion/target/release/deps/stable_diffusion-68b64c2d80b2088d.stable_diffusion.fdc39c2c-cgu.11.rcgu.o: in function `ort::execution_providers::apply_execution_providers':
stable_diffusion.fdc39c2c-cgu.11:(.text._ZN3ort19execution_providers25apply_execution_providers17hf6faa52c39073d98E+0x4ab): undefined reference to `OrtSessionOptionsAppendExecutionProvider_ROCm'
collect2: error: ld returned 1 exit status
= note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
= note: use the `-l` flag to specify native libraries to link
= note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)
error: could not compile `stable-diffusion` due to previous error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment