You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: linking with `x86_64-pc-solaris2.10-gcc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/home/runner/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin" VSLANG="1033" "x86_64-pc-solaris2.10-gcc" "-m64" "/tmp/rustcxs5PgB/symbols.o" "<8 object files omitted>" "-Wl,-z,ignore" "-Wl,-Bstatic" "/target/x86_64-pc-solaris/release/deps/{liblexopt-9ac5703517cf1248.rlib,libpgxn_meta-9cbd8e6a96ef4985.rlib,libconstant_time_eq-8e1ad637aa587386.rlib,libwax-11e1a428c438d246.rlib,libwalkdir-b909171c71ba8f15.rlib,libsame_file-592e9691bc77518a.rlib,libpori-84bf7222d594bd08.rlib,libnom-c236c8f3c9cdbdab.rlib,libitertools-043e1d107f77086f.rlib,libeither-fcb6f77301715885.rlib,libconst_format-0ec0960779ac1ee6.rlib,libspdx-0f8900e94f5d0350.rlib,libjson_patch-493569c97b5ba2cf.rlib,libjsonptr-e691507af143e5e1.rlib,libthiserror-a670eda9c0c47a69.rlib,libserde_with-58e4f62c853cb66d.rlib,libthiserror-dfc8275261bf0f5e.rlib,libboon-2db8e3f0745436f2.rlib,libfluent_uri-878d12458d8c4914.rlib,libborrow_or_share-f0acf472e343f96b.rlib,libref_cast-7bac0adf0ebc7c5d.rlib,libahash-cc5563ecf49774e6.rlib,libgetrandom-737ace7183d84c32.rlib,libappendlist-f1178839f9b8768f.rlib,libonce_cell-5a0c508e172762f9.rlib,liburl-0d234ad000c29d11.rlib,libidna-3d2c117eab9b339d.rlib,libidna_adapter-54380800998529f9.rlib,libicu_normalizer-43fccef729b7d4c1.rlib,libicu_normalizer_data-86957923d4d670e3.rlib,libwrite16-6ca2e338b8d21caf.rlib,libutf8_iter-6984ce5c3cfe19fd.rlib,libutf16_iter-c80ee11521ed6127.rlib,libsmallvec-0e5729a283559e2d.rlib,libicu_properties-34741e761177ccde.rlib,libicu_properties_data-34dcbdfac07c1731.rlib,libicu_locid_transform-9f667b5bc04b7f0e.rlib,libicu_locid_transform_data-441b7451a78b3871.rlib,libicu_collections-b1e8e9f671741f23.rlib,libicu_provider-6931b89cea15c8a8.rlib,libicu_locid-393b16789f198181.rlib,liblitemap-8b3f9f7988324b19.rlib,libtinystr-29b40227b2a6df27.rlib,libzerovec-e3d36da8b4e52d28.rlib,libwriteable-9d443fdcceff9210.rlib,libyoke-131b1460ddda6dd2.rlib,libzerofrom-780a692a38239eaf.rlib,libstable_deref_trait-0ce157f955be186e.rlib,libform_urlencoded-fa65b6a8f8259abc.rlib,libpercent_encoding-69757a360ba7d92e.rlib,libregex-c36bdcc4a825b3e5.rlib,libregex_automata-9e70dfe058db78ad.rlib,libaho_corasick-1969631682a4b8ad.rlib,libregex_syntax-d76163d8517dabf4.rlib,libsha2-d574c9addbea6be7.rlib,libsha1-a72c18e80d532261.rlib,libcpufeatures-14411043156c8371.rlib,libdigest-4b226188e057f1b5.rlib,libblock_buffer-e6262de06bda5e35.rlib,libcrypto_common-39615ff139aa6e81.rlib,libgeneric_array-6a9b04d7403a00f4.rlib,libtypenum-f2de58341f549181.rlib,librand-e5e4e6ee5a5da347.rlib,librand_chacha-36273739bd975457.rlib,libppv_lite86-5a6c8f7f1c7204d5.rlib,libzerocopy-07725a2fa663a05a.rlib,libbyteorder-323f72bf77aa90d0.rlib,libzerocopy-f76be3af792d1e4a.rlib,librand_core-e46f71bae0da1d80.rlib,libgetrandom-9aba609f298ca63e.rlib,liblibc-86bad0356263abca.rlib,libcfg_if-5c3e0a6037158a63.rlib,libbase64-8d1ac4af0213bec5.rlib,liblog-ac3f29c1705da7c9.rlib,libhex-cbc90ff0e52191a5.rlib,libchrono-4ae17e166a0f0c5c.rlib,libnum_traits-a548fd3c888b0c3b.rlib,libiana_time_zone-d5eb4d6c68010406.rlib,libemail_address-c3b08c04ece373b1.rlib,libserde_json-6a20d4468e071d76.rlib,libmemchr-87234d336c5ce833.rlib,libitoa-355ba182085e3e99.rlib,libryu-89f5435326b159aa.rlib,libsemver-7afebd0438dbd1f6.rlib,librelative_path-70a119795ff51070.rlib,libserde-fae4462f131fefc2.rlib}" "/home/runner/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-solaris/lib/{libstd-364b05338d2ae752.rlib,libpanic_unwind-36e29b8fc94d0156.rlib,libobject-d10cddee0d4c14b8.rlib,libmemchr-a5d4c713d3616e30.rlib,libaddr2line-bac308ea547f4fad.rlib,libgimli-28926b41c6c361b0.rlib,librustc_demangle-8e367586f657b649.rlib,libstd_detect-d1d34c2f42e662ef.rlib,libhashbrown-58b51b437e94d6c5.rlib,librustc_std_workspace_alloc-b2c23d155aa5bb68.rlib,libminiz_oxide-5949f117a750c879.rlib,libadler-f6fce2258ed469e3.rlib,libunwind-81ac07525a0eb139.rlib,libcfg_if-a58ef11f5bc77f31.rlib,liblibc-10f7c94f371b0539.rlib,liballoc-d9b470db0c469c2e.rlib,librustc_std_workspace_core-5131639f6cf2dfff.rlib,libcore-95c1578d417b126b.rlib,libcompiler_builtins-ef1c6a54620bea6a.rlib}" "-Wl,-Bdynamic" "-lc" "-lm" "-lrt" "-lpthread" "-lsendfile" "-llgrp" "-lsocket" "-lposix4" "-lpthread" "-lresolv" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lsendfile" "-llgrp" "-o" "/target/x86_64-pc-solaris/release/deps/pgxn_meta-a01e18c06c41d61d" "-nodefaultlibs"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: /usr/local/lib/gcc/x86_64-pc-solaris2.10/8.4.0/../../../../x86_64-pc-solaris2.10/bin/ld: warning: -z ignore ignored.
/home/runner/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-solaris/lib/libstd-364b05338d2ae752.rlib(std-364b05338d2ae752.std.2ed0cf52de2d166-cgu.0.rcgu.o): In function `std::sys::pal::unix::os::page_size':
/rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181/library/std/src/sys/pal/unix/os.rs:699: undefined reference to `__sysconf_xpg7'
/home/runner/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-solaris/lib/libstd-364b05338d2ae752.rlib(std-364b05338d2ae752.std.2ed0cf52de2d166-cgu.0.rcgu.o): In function `std::sys::pal::unix::os::home_dir::fallback':
/rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181/library/std/src/sys/pal/unix/os.rs:811: undefined reference to `__sysconf_xpg7'
/home/runner/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-solaris/lib/libstd-364b05338d2ae752.rlib(std-364b05338d2ae752.std.2ed0cf52de2d166-cgu.0.rcgu.o): In function `std::sys::pal::unix::net::Socket::new_raw':
/rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181/library/std/src/sys/pal/unix/net.rs:89: undefined reference to `__xnet7_socket'
/rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181/library/std/src/sys/pal/unix/net.rs:89: undefined reference to `__xnet7_socket'
/rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181/library/std/src/sys/pal/unix/net.rs:89: undefined reference to `__xnet7_socket'
/rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181/library/std/src/sys/pal/unix/net.rs:89: undefined reference to `__xnet7_socket'
/rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181/library/std/src/sys/pal/unix/net.rs:89: undefined reference to `__xnet7_socket'
/home/runner/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-solaris/lib/libstd-364b05338d2ae752.rlib(std-364b05338d2ae752.std.2ed0cf52de2d166-cgu.0.rcgu.o):/rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181/library/std/src/sys/pal/unix/net.rs:89: more undefined references to `__xnet7_socket' follow
/home/runner/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-solaris/lib/libstd-364b05338d2ae752.rlib(std-364b05338d2ae752.std.2ed0cf52de2d166-cgu.0.rcgu.o): In function `std::sys::pal::unix::os::page_size':
/rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181/library/std/src/sys/pal/unix/os.rs:699: undefined reference to `__sysconf_xpg7'
/home/runner/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-pc-solaris/lib/libstd-364b05338d2ae752.rlib(std-364b05338d2ae752.std.2ed0cf52de2d166-cgu.0.rcgu.o): In function `std::sys::pal::unix::net::Socket::new_raw':
/rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181/library/std/src/sys/pal/unix/net.rs:89: undefined reference to `__xnet7_socket'
/rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181/library/std/src/sys/pal/unix/net.rs:89: undefined reference to `__xnet7_socket'
/rustc/4eb161250e340c8f48f66e2b929ef4a5bed7c181/library/std/src/sys/pal/unix/net.rs:89: undefined reference to `__xnet7_socket'
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#rustc-link-lib)
I can't tell which crate it's failing to build, but the last one in the output before the above is
Compiling log v0.4.26
Seen with the following targets on stable, beta, and nightly:
x86_64-pc-solaris
sparcv9-sun-solaris
What target(s) are you cross-compiling for?
sparc64-unknown-linux-gnu, x86_64-pc-solaris
Which operating system is the host (e.g computer cross is on) running?
Checklist
Describe your issue
Running into build Solaris failures like this on a9b43d4:
I can't tell which crate it's failing to build, but the last one in the output before the above is
Seen with the following targets on stable, beta, and nightly:
What target(s) are you cross-compiling for?
sparc64-unknown-linux-gnu, x86_64-pc-solaris
Which operating system is the host (e.g computer cross is on) running?
What architecture is the host?
What container engine is cross using?
cross version
a9b43d4
Example
No response
Additional information / notes
No response
The text was updated successfully, but these errors were encountered: