mozilla / sccache

Sccache is a ccache-like tool. It is used as a compiler wrapper and avoids compilation when possible. Sccache has the capability to utilize caching in remote storage environments, including various cloud storage options, or alternatively, in local storage.
Apache License 2.0
5.85k stars 552 forks source link

Build fails with "undefined reference to `ZSTD_freeCCtx" #862

Open baybal opened 4 years ago

baybal commented 4 years ago
  = note: "x86_64-pc-linux-gnu-gcc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/usr/lib64/rust-1.45.2/rustlib/x86_64-unknown-linux-gnu/lib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/sccache-b5cba06ce41181fd.sccache.bisj2njm-cgu.0.rcgu.o" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/sccache-b5cba06ce41181fd.sccache.bisj2njm-cgu.1.rcgu.o" "-o" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/sccache-b5cba06ce41181fd" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/sccache-b5cba06ce41181fd.54bs69hqney70o26.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs" "-L" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps" "-L" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/build/blake3-cdb57e3e0cab55ac/out" "-L" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/build/blake3-cdb57e3e0cab55ac/out" "-L" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/build/zstd-sys-1e46abc1d49e9a17/out" "-L" "/usr/lib64/rust-1.45.2/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libsccache-bc23873d4db48762.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libenv_logger-42933f0b7a8b3831.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libhumantime-102b8b4d12f337a1.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libquick_error-a27d4ba35035274f.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtermcolor-bf478b18c8aea18d.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libjobserver-c6d33fba9081de92.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libbase64-4a61e89cc8fa6f9c.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtoml-3dc1f9db296b7323.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libar-ea48a265f8d3efa3.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtar-4ac65e99e53c5454.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libxattr-851ff0e2c7b72018.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libbincode-0220ae79bc158d33.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libdaemonize-ad233406864bbaac.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libboxfnonce-65e17ec7113068c5.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libblake3-c1640a364249230b.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libconstant_time_eq-2c68453f9e6768c1.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libarrayvec-4b1b6cf9dc05da6f.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libarrayref-40932329fa929cf7.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libsha1-b417d78cc0d7650b.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libreqwest-8d0f7418868cbd16.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libserde_urlencoded-7f25854184ac9f62.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libmime_guess-d6f5b4ad3279d297.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libhyper_tls-b04fa5a257021bf6.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libnative_tls-48f979815279e6a3.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libopenssl_probe-2bbc0fc37ab334c2.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libopenssl-0e4b1798d3505c7b.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libopenssl_sys-09ba9b824c54b4b9.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libforeign_types-1d7a5a11f6700312.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libforeign_types_shared-625551b2fc66120b.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libencoding_rs-b5939eb69fdc6b2e.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libcookie_store-73689ce4197e59d2.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libpublicsuffix-02e84e84b93fe9a8.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/liberror_chain-e27defb0077b76ea.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtry_from-5b27e6abbbda3cd6.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libfailure-57aa3974e01381cf.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libbacktrace-7a94577fa6d81d49.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libobject-7c59659f893fd25f.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libaddr2line-828fd66d83d1810c.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libgimli-3f97fb2a78784810.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/librustc_demangle-f452f95d865f983d.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libcookie-6a16cb6417b7ada2.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libbase64-5370da4aee5e8f35.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libhmac-f927bdd202ccd8e5.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libcrypto_mac-c1d6c8545e7d5af4.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libsubtle-b729ac53f9896f8e.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libserde_json-a543bcd54a78d5d6.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libryu-1ee205af89792b72.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libchrono-44c56bd61ee291b7.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libnum_integer-2e1d5dfff2a05fad.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtower-c926c1f1881aaa8c.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtower_util-876e0d743a31a045.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtower_timeout-82aa3434ba59e001.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtower_retry-514fbd7bc100f0ff.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtower_load_shed-55fcc5cee9982f55.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtower_limit-ba837283c1ff6125.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtower_discover-4b4e3e7cbe878f81.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtower_buffer-7f8e7f8aef1721b5.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtracing-d35aebb91eb01db9.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtracing_core-50508f17cc6fe3ad.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtower_service-07f0a2a36ed83787.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtower_layer-25ac11b962944584.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtokio_serde_bincode-c5dd8833683a02ab.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtokio_serde-3efd94feeca6972a.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libbincode-d78638694dfa84ee.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libnum_traits-cb0d1a26466541da.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libnumber_prefix-d95e231ffc643ea6.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libnum_traits-71e52aee0e5650bf.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtokio_process-02715c6a012f6829.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libcrossbeam_queue-30293732182f5912.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libcrossbeam_utils-ac32b2034cb5d225.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtokio_signal-0da400719d41a434.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libsignal_hook_registry-119ff878f7e2785c.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libarc_swap-cb7e805738080128.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libsha2-4d4d4b98f107e8a2.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libdigest-94c3bd38aed0ba24.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libopaque_debug-931078c4fadad08c.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libfake_simd-1d7a4bd1825760f7.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libblock_buffer-a6ed113506e63ba5.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libgeneric_array-ea3153dcbcd977d5.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtypenum-e0b78c9ab58d3fa8.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libblock_padding-07e4ecba9e03fe09.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libbyte_tools-7ffde73cc677509b.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libuuid-baf9f933c9dfbb0c.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/librand-69e6d5ccf2d6b006.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/librand_xorshift-f1f302556be3eae1.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/librand_pcg-247989345d563ef9.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/librand_hc-edf7a09c2bb9ed79.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/librand_chacha-eb79d3b6d9a19459.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/librand_isaac-4d0570fe2eda2a13.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/librand_os-e6a779a8c99997fb.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/librand_jitter-5910b2cde6e7b98a.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libhyperx-c569fe54d53760e0.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libunicase-23afd83142e86f1c.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libmime-a12b1c99e9fa79ee.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/liblanguage_tags-70d8f01075121f33.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libbase64-e335ff1fe7f48833.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libsafemem-06c884f58e5c23a8.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libhyper-8bb1f24faae69c81.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libwant-61605e8ab4c56777.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtry_lock-4b599983f407a01e.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtokio-1e9be6fc3cf2b0ff.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtokio_uds-8b2cd31028ed9315.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtokio_udp-13cf8003e82cbb79.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtokio_tcp-59d564c6b48c3fec.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtokio_fs-1878e5546cd23fa7.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtokio_threadpool-7c81585366d724ac.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libcrossbeam_queue-1d342d452e84e60a.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libcrossbeam_deque-5ad1707ea241d8ea.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libcrossbeam_epoch-d576835c290de670.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libmemoffset-7c44de2034173eff.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtokio_codec-cb43351536fa61f8.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtime-9bed6283b1ee7dd7.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libhttparse-31088d8e0a269c78.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libhttp_body-dbe4a0f952fa37ea.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtokio_buf-d4ef948f7aba4f6a.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libh2-b5c3c9c3a05e3f34.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libindexmap-fbf51acd0a53bc6c.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libstring-129f1c1188b2611c.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libfutures_cpupool-70e7e6f795a11fd5.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libhttp-e073cc07f93b9f81.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/librand-c930d6ce9480aa4f.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/librand_core-1f579eac5ca3556d.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/librand_core-7e2d5d3ba4bf7d0d.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libserde-db0e1188fad426c1.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libregex-ea3cd82b00197a41.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libthread_local-e8cfe84c1a69139c.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libregex_syntax-acfded66a9e039a6.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libaho_corasick-82e2e99191edfdd6.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/liblocal_encoding-2d3c4f6ba231a328.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/liburl-11561b5709022889.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libpercent_encoding-c04c76b2fa495524.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libidna-e7198fcea73c5bce.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtokio_compat-ad51900da6f927f8.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtokio_current_thread-771104fe6bc1ca11.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtokio_timer-80b6ace3074664af.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtokio_reactor-70855fe8873f45e8.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtokio_sync-6a40e9c103220443.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtokio_io-6bc3e2f171fd83bb.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libbytes-614de33ebd858ade.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libparking_lot-4951b2ee2e2625fa.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libparking_lot_core-3057905b8556d4da.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libsmallvec-41c1c08f21bec16b.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libmaybe_uninit-12431386fecf4452.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/liblock_api-555eb20ec2e3820e.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libscopeguard-1dc9c66d0e45dea2.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtokio_executor-63a79201596acbb2.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libcrossbeam_utils-4f2a45292771f3b1.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libstrip_ansi_escapes-89c463d14f831d49.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libvte-a1ee718c4c4e7ebe.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libutf8parse-66ccb99ff544c0ac.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libwhich-67ebd19199ee58ff.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libthiserror-62ce8fb12b581a10.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libretry-f77269150e526fda.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/librand-964d4d252ef5bd0e.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/librand-3e1e603088ac1150.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libdirectories-ba9f010ea9a680d2.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libdirs_sys-5938efb4f460e69e.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libredis-8b067f1eb8deeb95.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libdtoa-369cafc694f5d6ee.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libitoa-5fa89332835cbbb5.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libsha1-57350ad88b1a7a77.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libcombine-0729f33d1ce9a7f6.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libascii-51e8913be34e33b4.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libunreachable-bcf97b8cdb2a0c0f.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libvoid-4e25eca0ec2bfc80.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libeither-093ebd817f299086.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/liburl-2e0f9b95b9fe489c.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libpercent_encoding-6a4e616d3518021f.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libidna-5a2509c2ec8f03ad.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libunicode_normalization-bb68998ce92a1846.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libsmallvec-f227cea056c6917b.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libunicode_bidi-df029a48ec0668fe.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libmatches-b4170e3b6f76b2d1.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtokio_util-0cab46093dfa3309.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtokio-215f3699b6a1fd31.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libmio_uds-7fce69f93e811a6f.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libfnv-e9145d9f3f5f70f8.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libmio-7775e90a91211aea.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libiovec-48e2039bc529578e.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libnet2-2c6c23c1ae161c46.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libbytes-3243a0555705d675.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libpin_project_lite-a290b8ab55f7584f.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libmemcached-67ed7893ca11cd67.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libbyteorder-b7938f5802456cca.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libsemver-f6573991ca333dda.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libsemver_parser-7c8a12c8de2dc615.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libunix_socket-d98004a29d0a394c.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libbufstream-e19e39c7df18459e.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libconhash-c4d498afe1930c7b.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libmd5-28856a00a95b8040.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/liblru_disk_cache-196594b6af97af60.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libwalkdir-3ef9953ab2b1969c.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libsame_file-501d4aba54fd6e58.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libfiletime-89d0137a03336db0.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/liblinked_hash_map-7fe2b79f1ea922ab.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libzstd-6aba10d37d8d407d.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libzstd_safe-14c4837c7350441a.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libzstd_sys-787f723819a1f966.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libzip-9abe757fabf6cc75.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libflate2-e40ae414e5c59c55.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libminiz_oxide-64732a6624468945.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libadler32-7eb267605eb7f9c7.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libcrc32fast-09608dbddbe66882.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libpodio-64e0fddd83847d9a.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtempfile-b642c00321fa6284.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/librand-4eaba785864a4aae.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/librand_chacha-9c4df877590e3e60.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libppv_lite86-8d9903b6911adb95.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/librand_core-c193a575d2157284.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libgetrandom-9b31723cefa8b1cf.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libremove_dir_all-d3fb320acca91c18.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libfutures-f1da7fc03eb8e702.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libfutures_executor-2a5e65efd304af65.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libnum_cpus-acf83c32aeefff3c.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libfutures_util-477c977701d09e7e.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libmemchr-b25ed7ef1cb29326.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libproc_macro_nested-92bfecc707ea727b.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libfutures_io-ac414285e4470001.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libslab-6effc30e52b7b0b1.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libfutures_channel-f76c390323bb5084.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libpin_project-fbc928dfaa866dd7.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libfutures_sink-b9bafbee276c4843.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libfutures_task-0da11ea76a9ae6f2.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libonce_cell-167eb9d6a73ab705.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libpin_utils-0c4567440cb1cb3e.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libfutures_core-7af611168a9bf92a.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libanyhow-217db01f7a4cd86f.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/liblog-f383f74a79527eab.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libcfg_if-155b52907a369b5e.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/liblazy_static-fd2a682fcb41275a.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libfutures-10e6737967fa778d.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libcounted_array-61a51d00c9bfdf54.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libclap-398cd767034771db.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libvec_map-c9182223ed3e4f8e.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libtextwrap-814c0d6e5baca141.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libunicode_width-1a5efbbf3dfeb81f.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libstrsim-1d2607e473e027ef.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libbitflags-202ee631081caab6.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libatty-22ccc9acab3d9c72.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/liblibc-487927d30270bff1.rlib" "/var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libansi_term-497fe57e069d3436.rlib" "-Wl,--start-group" "/usr/lib64/rust-1.45.2/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a59d13df26647bdc.rlib" "/usr/lib64/rust-1.45.2/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-56f110cb3af5151e.rlib" "/usr/lib64/rust-1.45.2/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-61dd6de5de110a23.rlib" "/usr/lib64/rust-1.45.2/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-450609618efd69ac.rlib" "/usr/lib64/rust-1.45.2/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-0429fcdf85e3f4bd.rlib" "/usr/lib64/rust-1.45.2/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-f3158d60146670c1.rlib" "/usr/lib64/rust-1.45.2/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-64acb3e224162238.rlib" "/usr/lib64/rust-1.45.2/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-9defa2624193f20c.rlib" "/usr/lib64/rust-1.45.2/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-aa88233385f657bc.rlib" "/usr/lib64/rust-1.45.2/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-eb3f517549652c7d.rlib" "/usr/lib64/rust-1.45.2/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-df9cd31040f4bacf.rlib" "/usr/lib64/rust-1.45.2/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-3f33cbba02b3f877.rlib" "/usr/lib64/rust-1.45.2/rustlib/x86_64-unknown-linux-gnu/lib/libcore-6d771c899527a5fa.rlib" "-Wl,--end-group" "/usr/lib64/rust-1.45.2/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-7106c4c833164690.rlib" "-Wl,-Bdynamic" "-lssl" "-lcrypto" "-lutil" "-ldl" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil"
  = note: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libzstd_safe-14c4837c7350441a.rlib(zstd_safe-14c4837c7350441a.zstd_safe.73lwn12p-cgu.0.rcgu.o): in function `<zstd_safe::CCtx as core::ops::drop::Drop>::drop':
          zstd_safe.73lwn12p-cgu.0:(.text._ZN57_$LT$zstd_safe..CCtx$u20$as$u20$core..ops..drop..Drop$GT$4drop17h8247e666bedb4990E+0x5): undefined reference to `ZSTD_freeCCtx'
          /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libzstd_safe-14c4837c7350441a.rlib(zstd_safe-14c4837c7350441a.zstd_safe.73lwn12p-cgu.0.rcgu.o): in function `zstd_safe::get_error_name':
          zstd_safe.73lwn12p-cgu.0:(.text._ZN9zstd_safe14get_error_name17h6c54427cc69f8749E+0x7): undefined reference to `ZSTD_getErrorName'
          /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libzstd_safe-14c4837c7350441a.rlib(zstd_safe-14c4837c7350441a.zstd_safe.73lwn12p-cgu.0.rcgu.o): in function `<zstd_safe::DCtx as core::ops::drop::Drop>::drop':
          zstd_safe.73lwn12p-cgu.0:(.text._ZN57_$LT$zstd_safe..DCtx$u20$as$u20$core..ops..drop..Drop$GT$4drop17he8cdd78fabc47bb3E+0x5): undefined reference to `ZSTD_freeDCtx'
          /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libzstd_safe-14c4837c7350441a.rlib(zstd_safe-14c4837c7350441a.zstd_safe.73lwn12p-cgu.0.rcgu.o): in function `zstd_safe::create_cstream':
          zstd_safe.73lwn12p-cgu.0:(.text._ZN9zstd_safe14create_cstream17h7f8ea48cab3e7668E+0x2): undefined reference to `ZSTD_createCStream'
          /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libzstd_safe-14c4837c7350441a.rlib(zstd_safe-14c4837c7350441a.zstd_safe.73lwn12p-cgu.0.rcgu.o): in function `zstd_safe::compress_stream':
          zstd_safe.73lwn12p-cgu.0:(.text._ZN9zstd_safe15compress_stream17h06a3464d25ee2d56E+0x3d): undefined reference to `ZSTD_compressStream'
          /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: zstd_safe.73lwn12p-cgu.0:(.text._ZN9zstd_safe15compress_stream17h06a3464d25ee2d56E+0x49): undefined reference to `ZSTD_isError'
          /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libzstd_safe-14c4837c7350441a.rlib(zstd_safe-14c4837c7350441a.zstd_safe.73lwn12p-cgu.0.rcgu.o): in function `zstd_safe::end_stream':
          zstd_safe.73lwn12p-cgu.0:(.text._ZN9zstd_safe10end_stream17h248dd732b31d1e8bE+0x22): undefined reference to `ZSTD_endStream'
          /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: zstd_safe.73lwn12p-cgu.0:(.text._ZN9zstd_safe10end_stream17h248dd732b31d1e8bE+0x2e): undefined reference to `ZSTD_isError'
          /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libzstd_safe-14c4837c7350441a.rlib(zstd_safe-14c4837c7350441a.zstd_safe.73lwn12p-cgu.0.rcgu.o): in function `zstd_safe::create_dstream':
          zstd_safe.73lwn12p-cgu.0:(.text._ZN9zstd_safe14create_dstream17hf182d8f8d2b59ed2E+0x2): undefined reference to `ZSTD_createDStream'
          /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libzstd_safe-14c4837c7350441a.rlib(zstd_safe-14c4837c7350441a.zstd_safe.73lwn12p-cgu.0.rcgu.o): in function `zstd_safe::decompress_stream':
          zstd_safe.73lwn12p-cgu.0:(.text._ZN9zstd_safe17decompress_stream17h13def9ee9b47a92dE+0x3d): undefined reference to `ZSTD_decompressStream'
          /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: zstd_safe.73lwn12p-cgu.0:(.text._ZN9zstd_safe17decompress_stream17h13def9ee9b47a92dE+0x49): undefined reference to `ZSTD_isError'
          /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libzstd_safe-14c4837c7350441a.rlib(zstd_safe-14c4837c7350441a.zstd_safe.73lwn12p-cgu.0.rcgu.o): in function `zstd_safe::dstream_in_size':
          zstd_safe.73lwn12p-cgu.0:(.text._ZN9zstd_safe15dstream_in_size17ha8ad66c52e3dec5aE+0x2): undefined reference to `ZSTD_DStreamInSize'
          /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libzstd_safe-14c4837c7350441a.rlib(zstd_safe-14c4837c7350441a.zstd_safe.73lwn12p-cgu.0.rcgu.o): in function `zstd_safe::init_cstream_using_dict':
          zstd_safe.73lwn12p-cgu.0:(.text._ZN9zstd_safe23init_cstream_using_dict17h9bc41fda83145b22E+0x6): undefined reference to `ZSTD_initCStream_usingDict'
          /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: zstd_safe.73lwn12p-cgu.0:(.text._ZN9zstd_safe23init_cstream_using_dict17h9bc41fda83145b22E+0x12): undefined reference to `ZSTD_isError'
          /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libzstd_safe-14c4837c7350441a.rlib(zstd_safe-14c4837c7350441a.zstd_safe.73lwn12p-cgu.0.rcgu.o): in function `zstd_safe::reset_cstream':
          zstd_safe.73lwn12p-cgu.0:(.text._ZN9zstd_safe13reset_cstream17h42e84ce560474319E+0x6): undefined reference to `ZSTD_resetCStream'
          /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: zstd_safe.73lwn12p-cgu.0:(.text._ZN9zstd_safe13reset_cstream17h42e84ce560474319E+0x12): undefined reference to `ZSTD_isError'
          /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libzstd_safe-14c4837c7350441a.rlib(zstd_safe-14c4837c7350441a.zstd_safe.73lwn12p-cgu.0.rcgu.o): in function `zstd_safe::init_dstream_using_dict':
          zstd_safe.73lwn12p-cgu.0:(.text._ZN9zstd_safe23init_dstream_using_dict17h903d59aa95e91a85E+0x6): undefined reference to `ZSTD_initDStream_usingDict'
          /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: zstd_safe.73lwn12p-cgu.0:(.text._ZN9zstd_safe23init_dstream_using_dict17h903d59aa95e91a85E+0x12): undefined reference to `ZSTD_isError'
          /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-util/sccache-9999/work/sccache-9999/target/release/deps/libzstd_safe-14c4837c7350441a.rlib(zstd_safe-14c4837c7350441a.zstd_safe.73lwn12p-cgu.0.rcgu.o): in function `zstd_safe::reset_dstream':
          zstd_safe.73lwn12p-cgu.0:(.text._ZN9zstd_safe13reset_dstream17h73d39d156c3cfd09E+0x6): undefined reference to `ZSTD_resetDStream'
          /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: zstd_safe.73lwn12p-cgu.0:(.text._ZN9zstd_safe13reset_dstream17h73d39d156c3cfd09E+0x12): undefined reference to `ZSTD_isError'
          collect2: error: ld returned 1 exit status
glandium commented 3 years ago

Is this still a problem?

baybal commented 3 years ago

I don't know

Frederick888 commented 4 months ago

This issue looks very similar to https://github.com/gyscos/zstd-rs/issues/177.

I recently bumped into a similar issue too (zstd & openssl linking errors), presumably due to Arch's default makepkg LTO config changes, and I had to add CFLAGS+=' -ffat-lto-objects' to build.