Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linking with CC failed #316

Closed
hellow554 opened this issue May 16, 2020 · 10 comments
Closed

linking with CC failed #316

hellow554 opened this issue May 16, 2020 · 10 comments

Comments

@hellow554
Copy link

     Running `rustc --crate-name sysinfo /home/marcel/.cargo/registry/src/github.com-1ecc6299db9ec823/sysinfo-0.14.2/src/sysinfo.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type rlib --crate-type cdylib --emit=dep-info,link -C opt-level=3 -Clinker-plugin-lto -C codegen-units=1 -C debuginfo=1 -C metadata=3c0f9684ea546ab5 -C extra-filename=-3c0f9684ea546ab5 --out-dir /tmp/tmp.SRkQjRAMVx/bottom/target/release/deps -L dependency=/tmp/tmp.SRkQjRAMVx/bottom/target/release/deps --extern cfg_if=/tmp/tmp.SRkQjRAMVx/bottom/target/release/deps/libcfg_if-cf7e4551a253d985.rlib --extern doc_comment=/tmp/tmp.SRkQjRAMVx/bottom/target/release/deps/libdoc_comment-86ecb8f769110538.rlib --extern libc=/tmp/tmp.SRkQjRAMVx/bottom/target/release/deps/liblibc-7d44f115745cc55d.rlib --extern once_cell=/tmp/tmp.SRkQjRAMVx/bottom/target/release/deps/libonce_cell-3c5307dff900b1b7.rlib --extern rayon=/tmp/tmp.SRkQjRAMVx/bottom/target/release/deps/librayon-c31b505d753abaf6.rlib --cap-lints allow`
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,-plugin-opt=O3" "-Wl,-plugin-opt=mcpu=x86-64" "-L" "/home/marcel/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/tmp/tmp.SRkQjRAMVx/bottom/target/release/deps/sysinfo-3c0f9684ea546ab5.sysinfo.649854x5-cgu.0.rcgu.o" "-o" "/tmp/tmp.SRkQjRAMVx/bottom/target/release/deps/libsysinfo-3c0f9684ea546ab5.so" "-Wl,--version-script=/tmp/rustcuk5Iwh/list" "/tmp/tmp.SRkQjRAMVx/bottom/target/release/deps/sysinfo-3c0f9684ea546ab5.473teoa8cqy0c5rc.rcgu.o" "-Wl,--gc-sections" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs" "-L" "/tmp/tmp.SRkQjRAMVx/bottom/target/release/deps" "-L" "/home/marcel/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/tmp.SRkQjRAMVx/bottom/target/release/deps/libonce_cell-3c5307dff900b1b7.rlib" "/tmp/tmp.SRkQjRAMVx/bottom/target/release/deps/libdoc_comment-86ecb8f769110538.rlib" "/tmp/tmp.SRkQjRAMVx/bottom/target/release/deps/librayon-c31b505d753abaf6.rlib" "/tmp/tmp.SRkQjRAMVx/bottom/target/release/deps/librayon_core-570d94e2b8c9fd41.rlib" "/tmp/tmp.SRkQjRAMVx/bottom/target/release/deps/libnum_cpus-a0d494c84b5111c5.rlib" "/tmp/tmp.SRkQjRAMVx/bottom/target/release/deps/libcrossbeam_queue-115cb1adb7e2c470.rlib" "/tmp/tmp.SRkQjRAMVx/bottom/target/release/deps/libcrossbeam_deque-2a0f4aa3a4bd9c18.rlib" "/tmp/tmp.SRkQjRAMVx/bottom/target/release/deps/libcrossbeam_epoch-c57e97f774d4cad8.rlib" "/tmp/tmp.SRkQjRAMVx/bottom/target/release/deps/libscopeguard-285efe4c9c1f07c9.rlib" "/tmp/tmp.SRkQjRAMVx/bottom/target/release/deps/libmemoffset-0027c900b1ff6fe2.rlib" "/tmp/tmp.SRkQjRAMVx/bottom/target/release/deps/libcrossbeam_utils-22aba942ae897641.rlib" "/tmp/tmp.SRkQjRAMVx/bottom/target/release/deps/liblazy_static-613423eeebd09a69.rlib" "/tmp/tmp.SRkQjRAMVx/bottom/target/release/deps/libmaybe_uninit-e82f45ec429b9dbe.rlib" "/tmp/tmp.SRkQjRAMVx/bottom/target/release/deps/libeither-287580e974e5a23a.rlib" "/tmp/tmp.SRkQjRAMVx/bottom/target/release/deps/liblibc-7d44f115745cc55d.rlib" "/tmp/tmp.SRkQjRAMVx/bottom/target/release/deps/libcfg_if-cf7e4551a253d985.rlib" "-Wl,--start-group" "/home/marcel/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-0126adaa107032a6.rlib" "/home/marcel/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-57961a3692c39401.rlib" "/home/marcel/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-9fa9e50746f44a4c.rlib" "/home/marcel/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-251012178f8196c3.rlib" "/home/marcel/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-cafd612ee1b4bf88.rlib" "/home/marcel/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-140b53dc81f0d53c.rlib" "/home/marcel/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-cbaa12f3d93cc54c.rlib" "/home/marcel/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-a5bcc2d112e5a391.rlib" "/home/marcel/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-5ada18586d2652e2.rlib" "/home/marcel/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-ac41f78688451395.rlib" "/home/marcel/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-b1966f66603f91b6.rlib" "/home/marcel/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-428d15b56101bdc7.rlib" "/home/marcel/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-941f7f6bc622e313.rlib" "-Wl,--end-group" "/home/marcel/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-e915d31ab7edbbd4.rlib" "-Wl,-Bdynamic" "-lutil" "-ldl" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" "-shared"
  = note: /tmp/tmp.SRkQjRAMVx/bottom/target/release/deps/sysinfo-3c0f9684ea546ab5.sysinfo.649854x5-cgu.0.rcgu.o: file not recognized: file format not recognized
          collect2: error: ld returned 1 exit status


error: aborting due to previous error

error: could not compile `sysinfo`.

Caused by:
  process didn't exit successfully: `rustc --crate-name sysinfo /home/marcel/.cargo/registry/src/github.com-1ecc6299db9ec823/sysinfo-0.14.2/src/sysinfo.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type rlib --crate-type cdylib --emit=dep-info,link -C opt-level=3 -Clinker-plugin-lto -C codegen-units=1 -C debuginfo=1 -C metadata=3c0f9684ea546ab5 -C extra-filename=-3c0f9684ea546ab5 --out-dir /tmp/tmp.SRkQjRAMVx/bottom/target/release/deps -L dependency=/tmp/tmp.SRkQjRAMVx/bottom/target/release/deps --extern cfg_if=/tmp/tmp.SRkQjRAMVx/bottom/target/release/deps/libcfg_if-cf7e4551a253d985.rlib --extern doc_comment=/tmp/tmp.SRkQjRAMVx/bottom/target/release/deps/libdoc_comment-86ecb8f769110538.rlib --extern libc=/tmp/tmp.SRkQjRAMVx/bottom/target/release/deps/liblibc-7d44f115745cc55d.rlib --extern once_cell=/tmp/tmp.SRkQjRAMVx/bottom/target/release/deps/libonce_cell-3c5307dff900b1b7.rlib --extern rayon=/tmp/tmp.SRkQjRAMVx/bottom/target/release/deps/librayon-c31b505d753abaf6.rlib --cap-lints allow` (exit code: 1)

This happended when I tried to install bottom, by using cargo install bottom.

$ cargo --version
cargo 1.45.0-nightly (cb06cb269 2020-05-08)
$ rustc --version
rustc 1.45.0-nightly (a74d1862d 2020-05-14)
@GuillaumeGomez
Copy link
Owner

I think it's coming from one of the dependencies which somehow might need the gcc compiler (this is just a wild guess). Which platform are you on? That would greatly reduce the number of dependencies to check. Once we find it, we can either try to fix this dependency or simply remove it. :)

@hellow554
Copy link
Author

I'm on (Arch) linux.

@GuillaumeGomez
Copy link
Owner

And where is "cc" used in your Cargo.lock file?

@hellow554
Copy link
Author

787-name = "nix"
788-version = "0.15.0"
789-source = "registry+https://github.com/rust-lang/crates.io-index"
790-dependencies = [
791- "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
792: "cc 1.0.53 (registry+https://github.com/rust-lang/crates.io-index)",
--
799-name = "nix"
800-version = "0.17.0"
801-source = "registry+https://github.com/rust-lang/crates.io-index"
802-dependencies = [
803- "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
804: "cc 1.0.53 (registry+https://github.com/rust-lang/crates.io-index)",
--
980-name = "raw-cpuid"
981-version = "7.0.3"
982-source = "registry+https://github.com/rust-lang/crates.io-index"
983-dependencies = [
984- "bitflags 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
985: "cc 1.0.53 (registry+https://github.com/rust-lang/crates.io-index)",

@GuillaumeGomez
Copy link
Owner

That's weird, I don't have the cc crate listed anywhere in my Cargo.lock in sysinfo... At first I thought it was coming from rayon but it seems not. I don't think the problem is with sysinfo or one of its dependencies. Can you generate a dependencies tree by any chance? I think cargo tree does it.

@hellow554
Copy link
Author

bottom v0.4.3 (/tmp/tmp.PaJNTLYgQl/bottom)
├── backtrace v0.3.48
│   ├── addr2line v0.12.0
│   │   └── gimli v0.21.0
│   ├── cfg-if v0.1.10
│   ├── libc v0.2.70
│   ├── object v0.19.0
│   └── rustc-demangle v0.1.16
├── battery v0.7.5
│   ├── cfg-if v0.1.10
│   ├── lazycell v1.2.1
│   ├── num-traits v0.2.11
│   │   [build-dependencies]
│   │   └── autocfg v1.0.0
│   └── uom v0.26.0
│       ├── num-traits v0.2.11 (*)
│       └── typenum v1.12.0
├── chrono v0.4.11
│   ├── num-integer v0.1.42
│   │   └── num-traits v0.2.11 (*)
│   │   [build-dependencies]
│   │   └── autocfg v1.0.0
│   ├── num-traits v0.2.11 (*)
│   └── time v0.1.43
│       └── libc v0.2.70
├── clap v2.33.1
│   ├── ansi_term v0.11.0
│   ├── atty v0.2.14
│   │   └── libc v0.2.70
│   ├── bitflags v1.2.1
│   ├── strsim v0.8.0
│   ├── textwrap v0.11.0
│   │   └── unicode-width v0.1.7
│   ├── unicode-width v0.1.7
│   └── vec_map v0.8.2
├── crossterm v0.17.4
│   ├── bitflags v1.2.1
│   ├── lazy_static v1.4.0
│   ├── libc v0.2.70
│   ├── mio v0.6.22
│   │   ├── cfg-if v0.1.10
│   │   ├── iovec v0.1.4
│   │   │   └── libc v0.2.70
│   │   ├── libc v0.2.70
│   │   ├── log v0.4.8
│   │   │   └── cfg-if v0.1.10
│   │   ├── net2 v0.2.34
│   │   │   ├── cfg-if v0.1.10
│   │   │   └── libc v0.2.70
│   │   └── slab v0.4.2
│   ├── parking_lot v0.10.2
│   │   ├── lock_api v0.3.4
│   │   │   └── scopeguard v1.1.0
│   │   └── parking_lot_core v0.7.2
│   │       ├── cfg-if v0.1.10
│   │       ├── libc v0.2.70
│   │       └── smallvec v1.4.0
│   └── signal-hook v0.1.15
│       ├── libc v0.2.70
│       ├── mio v0.6.22 (*)
│       └── signal-hook-registry v1.2.0
│           ├── arc-swap v0.4.6
│           └── libc v0.2.70
├── dirs v2.0.2
│   ├── cfg-if v0.1.10
│   └── dirs-sys v0.3.4
│       ├── cfg-if v0.1.10
│       └── libc v0.2.70
├── fern v0.6.0
│   └── log v0.4.8 (*)
├── futures v0.3.5
│   ├── futures-channel v0.3.5
│   │   ├── futures-core v0.3.5
│   │   └── futures-sink v0.3.5
│   ├── futures-core v0.3.5
│   ├── futures-executor v0.3.5
│   │   ├── futures-core v0.3.5
│   │   ├── futures-task v0.3.5
│   │   │   └── once_cell v1.4.0
│   │   └── futures-util v0.3.5
│   │       ├── futures-channel v0.3.5 (*)
│   │       ├── futures-core v0.3.5
│   │       ├── futures-io v0.3.5
│   │       ├── futures-macro v0.3.5
│   │       │   ├── proc-macro-hack v0.5.15
│   │       │   ├── proc-macro2 v1.0.12
│   │       │   │   └── unicode-xid v0.2.0
│   │       │   ├── quote v1.0.5
│   │       │   │   └── proc-macro2 v1.0.12 (*)
│   │       │   └── syn v1.0.21
│   │       │       ├── proc-macro2 v1.0.12 (*)
│   │       │       ├── quote v1.0.5 (*)
│   │       │       └── unicode-xid v0.2.0
│   │       ├── futures-sink v0.3.5
│   │       ├── futures-task v0.3.5 (*)
│   │       ├── memchr v2.3.3
│   │       ├── pin-project v0.4.16
│   │       │   └── pin-project-internal v0.4.16
│   │       │       ├── proc-macro2 v1.0.12 (*)
│   │       │       ├── quote v1.0.5 (*)
│   │       │       └── syn v1.0.21 (*)
│   │       ├── pin-utils v0.1.0
│   │       ├── proc-macro-hack v0.5.15
│   │       ├── proc-macro-nested v0.1.4
│   │       └── slab v0.4.2
│   ├── futures-io v0.3.5
│   ├── futures-sink v0.3.5
│   ├── futures-task v0.3.5 (*)
│   └── futures-util v0.3.5 (*)
├── heim v0.0.10
│   ├── heim-common v0.0.10
│   │   ├── cfg-if v0.1.10
│   │   ├── futures-core v0.3.5
│   │   ├── futures-util v0.3.5 (*)
│   │   ├── lazy_static v1.4.0
│   │   ├── libc v0.2.70
│   │   ├── nix v0.17.0
│   │   │   ├── bitflags v1.2.1
│   │   │   ├── cfg-if v0.1.10
│   │   │   ├── libc v0.2.70
│   │   │   └── void v1.0.2
│   │   ├── pin-utils v0.1.0
│   │   └── uom v0.27.0
│   │       ├── num-rational v0.2.4
│   │       │   ├── num-integer v0.1.42 (*)
│   │       │   └── num-traits v0.2.11 (*)
│   │       │   [build-dependencies]
│   │       │   └── autocfg v1.0.0
│   │       ├── num-traits v0.2.11 (*)
│   │       └── typenum v1.12.0
│   ├── heim-cpu v0.0.10
│   │   ├── cfg-if v0.1.10
│   │   ├── heim-common v0.0.10 (*)
│   │   ├── heim-runtime v0.0.6
│   │   │   ├── cfg-if v0.1.10
│   │   │   ├── futures-channel v0.3.5 (*)
│   │   │   ├── heim-common v0.0.10 (*)
│   │   │   ├── lazy_static v1.4.0
│   │   │   └── threadpool v1.8.1
│   │   │       └── num_cpus v1.13.0
│   │   │           └── libc v0.2.70
│   │   ├── lazy_static v1.4.0
│   │   └── libc v0.2.70
│   ├── heim-disk v0.0.10
│   │   ├── bitflags v1.2.1
│   │   ├── cfg-if v0.1.10
│   │   ├── heim-common v0.0.10 (*)
│   │   ├── heim-runtime v0.0.6 (*)
│   │   └── libc v0.2.70
│   ├── heim-host v0.0.10
│   │   ├── cfg-if v0.1.10
│   │   ├── heim-common v0.0.10 (*)
│   │   ├── heim-runtime v0.0.6 (*)
│   │   ├── libc v0.2.70
│   │   └── platforms v0.2.1
│   ├── heim-memory v0.0.10
│   │   ├── cfg-if v0.1.10
│   │   ├── heim-common v0.0.10 (*)
│   │   └── heim-runtime v0.0.6 (*)
│   ├── heim-net v0.0.10
│   │   ├── bitflags v1.2.1
│   │   ├── cfg-if v0.1.10
│   │   ├── heim-common v0.0.10 (*)
│   │   ├── heim-runtime v0.0.6 (*)
│   │   ├── hex v0.4.0
│   │   ├── libc v0.2.70
│   │   ├── macaddr v1.0.1
│   │   └── nix v0.17.0 (*)
│   ├── heim-process v0.0.10
│   │   ├── cfg-if v0.1.10
│   │   ├── heim-common v0.0.10 (*)
│   │   ├── heim-cpu v0.0.10 (*)
│   │   ├── heim-host v0.0.10 (*)
│   │   ├── heim-net v0.0.10 (*)
│   │   ├── heim-runtime v0.0.6 (*)
│   │   ├── lazy_static v1.4.0
│   │   ├── libc v0.2.70
│   │   ├── memchr v2.3.3
│   │   └── ordered-float v1.0.2
│   │       └── num-traits v0.2.11 (*)
│   ├── heim-runtime v0.0.6 (*)
│   ├── heim-sensors v0.0.5
│   │   ├── cfg-if v0.1.10
│   │   ├── heim-common v0.0.10 (*)
│   │   └── heim-runtime v0.0.6 (*)
│   └── heim-virt v0.0.10
│       ├── cfg-if v0.1.10
│       ├── heim-common v0.0.10 (*)
│       ├── heim-runtime v0.0.6 (*)
│       └── raw-cpuid v7.0.3
│           └── bitflags v1.2.1
│           [build-dependencies]
│           ├── cc v1.0.53
│           └── rustc_version v0.2.3
│               └── semver v0.9.0
│                   └── semver-parser v0.7.0
├── itertools v0.9.0
│   └── either v1.5.3
├── lazy_static v1.4.0
├── log v0.4.8 (*)
├── regex v1.3.7
│   ├── aho-corasick v0.7.10
│   │   └── memchr v2.3.3
│   ├── memchr v2.3.3
│   ├── regex-syntax v0.6.17
│   └── thread_local v1.0.1
│       └── lazy_static v1.4.0
├── serde v1.0.110
│   └── serde_derive v1.0.110
│       ├── proc-macro2 v1.0.12 (*)
│       ├── quote v1.0.5 (*)
│       └── syn v1.0.21 (*)
├── sysinfo v0.14.2
│   ├── cfg-if v0.1.10
│   ├── doc-comment v0.3.3
│   ├── libc v0.2.70
│   ├── once_cell v1.4.0
│   └── rayon v1.3.0
│       ├── crossbeam-deque v0.7.3
│       │   ├── crossbeam-epoch v0.8.2
│       │   │   ├── cfg-if v0.1.10
│       │   │   ├── crossbeam-utils v0.7.2
│       │   │   │   ├── cfg-if v0.1.10
│       │   │   │   └── lazy_static v1.4.0
│       │   │   │   [build-dependencies]
│       │   │   │   └── autocfg v1.0.0
│       │   │   ├── lazy_static v1.4.0
│       │   │   ├── maybe-uninit v2.0.0
│       │   │   ├── memoffset v0.5.4
│       │   │   │   [build-dependencies]
│       │   │   │   └── autocfg v1.0.0
│       │   │   └── scopeguard v1.1.0
│       │   │   [build-dependencies]
│       │   │   └── autocfg v1.0.0
│       │   ├── crossbeam-utils v0.7.2 (*)
│       │   └── maybe-uninit v2.0.0
│       ├── either v1.5.3
│       └── rayon-core v1.7.0
│           ├── crossbeam-deque v0.7.3 (*)
│           ├── crossbeam-queue v0.2.1
│           │   ├── cfg-if v0.1.10
│           │   └── crossbeam-utils v0.7.2 (*)
│           ├── crossbeam-utils v0.7.2 (*)
│           ├── lazy_static v1.4.0
│           └── num_cpus v1.13.0 (*)
├── toml v0.5.6
│   └── serde v1.0.110 (*)
├── tui v0.9.4
│   ├── bitflags v1.2.1
│   ├── cassowary v0.3.0
│   ├── crossterm v0.17.4 (*)
│   ├── either v1.5.3
│   ├── itertools v0.9.0 (*)
│   ├── unicode-segmentation v1.6.0
│   └── unicode-width v0.1.7
├── typed-builder v0.5.1
│   ├── proc-macro2 v1.0.12 (*)
│   ├── quote v1.0.5 (*)
│   └── syn v1.0.21 (*)
├── unicode-segmentation v1.6.0
└── unicode-width v0.1.7
[dev-dependencies]
├── assert_cmd v1.0.1
│   ├── doc-comment v0.3.3
│   ├── predicates v1.0.4
│   │   ├── difference v2.0.0
│   │   ├── float-cmp v0.6.0
│   │   │   └── num-traits v0.2.11 (*)
│   │   ├── normalize-line-endings v0.3.0
│   │   ├── predicates-core v1.0.0
│   │   └── regex v1.3.7 (*)
│   ├── predicates-core v1.0.0
│   ├── predicates-tree v1.0.0
│   │   ├── predicates-core v1.0.0
│   │   └── treeline v0.1.0
│   └── wait-timeout v0.2.0
│       └── libc v0.2.70
└── predicates v1.0.4 (*)

@GuillaumeGomez
Copy link
Owner

As you can see, cc is a dependency of heim. You should check with them then. Don't hesitate to open another issue if another information on this problem appears to be linked to sysinfo.

@hellow554
Copy link
Author

FYI: sysinfo is the crate to blame here, but it has nothing to do with the cc crate.

It seems to be a rustc bug, when enabling lto = "fat". I'm trying to minimize the problem and opening an issue upstream.
Thanks for your help :)

@hellow554
Copy link
Author

rust-lang/rust#72268 :)

@GuillaumeGomez
Copy link
Owner

Oh I see. Thanks for telling me and let's hope it'll get fixed upstream quickly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants