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

Cross compiling fails with "error adding symbols: File in wrong format" #1222

Closed
jonnius opened this issue Feb 5, 2020 · 2 comments
Closed
Labels
upstream An unresolvable issue: an upstream dependency bug

Comments

@jonnius
Copy link

jonnius commented Feb 5, 2020

I am building rocket version 0.4.2 with up-to-date rust nightly on Ubuntu 16.04 (amd64). Cross compiling failes, even with the hello world example and disabled default-features (to avoid #936). How to reproduce:

rustup target add arm-unknown-linux-gnueabihf
cargo build --target arm-unknown-linux-gnueabihf

Complete build output is:

   Compiling libc v0.2.66
   Compiling version_check v0.1.5
   Compiling proc-macro2 v0.4.30
   Compiling log v0.4.8
   Compiling byteorder v1.3.2
   Compiling unicode-xid v0.1.0
   Compiling syn v0.15.44
   Compiling proc-macro2 v1.0.8
   Compiling unicode-xid v0.2.0
   Compiling maybe-uninit v2.0.0
   Compiling syn v1.0.14
   Compiling httparse v1.3.4
   Compiling yansi v0.4.0
   Compiling autocfg v1.0.0
   Compiling matches v0.1.8
   Compiling smallvec v1.1.0
   Compiling cfg-if v0.1.10
   Compiling bitflags v1.2.1
   Compiling version_check v0.9.1
   Compiling percent-encoding v1.0.1
   Compiling serde v1.0.104
   Compiling yansi v0.5.0
   Compiling safemem v0.3.3
   Compiling traitobject v0.1.0
   Compiling typeable v0.1.2
   Compiling language-tags v0.2.2
   Compiling ryu v1.0.2
   Compiling state v0.4.1
   Compiling memchr v2.3.0
   Compiling itoa v0.4.4
   Compiling schemars v0.6.5
   Compiling unicase v1.4.2
   Compiling unicode-bidi v0.3.4
   Compiling pear_codegen v0.1.2
   Compiling unicode-normalization v0.1.11
   Compiling indexmap v1.3.1
   Compiling rocket_codegen v0.4.2
   Compiling rocket v0.4.2
   Compiling idna v0.1.5
   Compiling log v0.3.9
   Compiling time v0.1.42
   Compiling num_cpus v1.12.0
   Compiling base64 v0.9.3
   Compiling base64 v0.10.1
   Compiling quote v0.6.13
   Compiling atty v0.2.14
   Compiling quote v1.0.2
   Compiling smallvec v0.6.13
   Compiling url v1.7.2
   Compiling mime v0.2.6
   Compiling cookie v0.11.1
   Compiling hyper v0.10.16
   Compiling serde_derive_internals v0.25.0
   Compiling devise_core v0.2.0
   Compiling serde_derive v1.0.104
   Compiling schemars_derive v0.6.5
   Compiling devise_codegen v0.2.0
   Compiling devise v0.2.0
   Compiling pear v0.1.2
   Compiling rocket_http v0.4.2
   Compiling serde_json v1.0.44
   Compiling toml v0.4.10
   Compiling rocket-sbs v0.1.0 (/home/jonatan.h.zeidler/rocket-sbs)
error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-L" "/home/jonatan.h.zeidler/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/arm-unknown-linux-gnueabihf/lib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.13rs4tutzskpaq02.rcgu.o" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.1ajb4fy3l2qfpibt.rcgu.o" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.1neqkmwxzccgp76a.rcgu.o" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.1r70luh85v5xr33u.rcgu.o" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.20b1almulu4c4lnk.rcgu.o" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.2fm4w1yopttzz5io.rcgu.o" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.2rkfcyzrgtkxgchg.rcgu.o" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.2w9s689nhod5a9cf.rcgu.o" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.366rx4wtm30qxahj.rcgu.o" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.37kjubxvscvh5eei.rcgu.o" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.3cwx4akehdz4a986.rcgu.o" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.3pvxfr3ng6yo3yqb.rcgu.o" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.3rhe3h8j25sq1vz7.rcgu.o" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.3vbffyx7nciie7he.rcgu.o" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.3zb5l1yglqsil8vs.rcgu.o" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.41cwshyry0yyfyvt.rcgu.o" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.4g37npcs1bdov9wp.rcgu.o" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.4ngtdfsyjb6ohier.rcgu.o" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.4niwc7bjxf2byq8o.rcgu.o" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.4t8v5687im1s30ko.rcgu.o" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.4ylghwebryon0fuj.rcgu.o" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.4zjb88x4yiwri0nl.rcgu.o" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.51r25oaxqxcs9j7w.rcgu.o" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.53xz68bggb0lclya.rcgu.o" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.5ao2amxzyav6avs8.rcgu.o" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.8gbz0inx1ig3m2e.rcgu.o" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.d21w70dd3tkrkk5.rcgu.o" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.e2imt6qhp3iiph8.rcgu.o" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.eyw3hdplayjsm57.rcgu.o" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.i3n3j160nj4tj6n.rcgu.o" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.i73ku0hjajelta7.rcgu.o" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.l3hcf43l0j8kghq.rcgu.o" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.qsvb734xlxv0rau.rcgu.o" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.ul0zb12834s9pdo.rcgu.o" "-o" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.5gic521r1j1ds7tu.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps" "-L" "/home/jonatan.h.zeidler/rocket-sbs/target/debug/deps" "-L" "/home/jonatan.h.zeidler/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/arm-unknown-linux-gnueabihf/lib" "-Wl,-Bstatic" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/librocket-c2751566f3192f15.rlib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/libatty-9010494db3083729.rlib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/libbase64-18bcd3a2edcd4269.rlib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/libmemchr-3c9a7d7666c902fe.rlib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/libtoml-dc51805b16664e0f.rlib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/libserde-3a7517de371765f6.rlib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/libyansi-bc3ee21107a5c6fa.rlib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/librocket_http-d43abbbc5fb240d0.rlib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/libhyper-127031ff87f79163.rlib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/libmime-9f18151a03a2d9a9.rlib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/liblog-bd346730c4d575e4.rlib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/liblog-dbaa2d4a1eb2efca.rlib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/libcfg_if-376bb6f5d983414d.rlib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/liblanguage_tags-49d157fbfa455aa2.rlib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/libtypeable-a991b78383fe67dd.rlib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/libtraitobject-97e1d872c57f9e6e.rlib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/libnum_cpus-5fbfb725a720ff82.rlib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/libhttparse-f479a2dfb7f89b2f.rlib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/libunicase-5151c343b476cab1.rlib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/libbase64-e83ae16d841b1313.rlib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/libsafemem-02e583528ce6140f.rlib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/libbyteorder-50397e35562b0494.rlib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/libunicode_xid-8788c8910123cc36.rlib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/libstate-e91e8b09222e06d5.rlib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/libindexmap-2b9ea748810fb5de.rlib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/libcookie-eb078ab6a5930df8.rlib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/libtime-1bea89ddf24af94b.rlib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/liblibc-6834956b9d204c3e.rlib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/liburl-0d2e9dbf7429426c.rlib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/libidna-e91747fa6787036d.rlib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/libunicode_normalization-14ec0306273f0843.rlib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/libsmallvec-27f4927907016d57.rlib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/libunicode_bidi-d0603316e03c8634.rlib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/libmatches-2b9ef6570938e947.rlib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/libsmallvec-7417afc2ecdb1e16.rlib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/libmaybe_uninit-bfb68393f4dbffe5.rlib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/libpercent_encoding-09f5fc3c2e0f6876.rlib" "/home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/libpear-f7953a609a120536.rlib" "-Wl,--start-group" "/home/jonatan.h.zeidler/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/arm-unknown-linux-gnueabihf/lib/libstd-6a3ca3092d23280d.rlib" "/home/jonatan.h.zeidler/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/arm-unknown-linux-gnueabihf/lib/libpanic_unwind-211752adb0b9325d.rlib" "/home/jonatan.h.zeidler/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/arm-unknown-linux-gnueabihf/lib/libhashbrown-17959963eba1ef39.rlib" "/home/jonatan.h.zeidler/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/arm-unknown-linux-gnueabihf/lib/librustc_std_workspace_alloc-5ac7242efde787d7.rlib" "/home/jonatan.h.zeidler/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/arm-unknown-linux-gnueabihf/lib/libbacktrace-3c510fc3017fcfb6.rlib" "/home/jonatan.h.zeidler/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/arm-unknown-linux-gnueabihf/lib/libbacktrace_sys-cfe7ebbaaf2da602.rlib" "/home/jonatan.h.zeidler/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/arm-unknown-linux-gnueabihf/lib/librustc_demangle-56599d4f7ccd884a.rlib" "/home/jonatan.h.zeidler/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/arm-unknown-linux-gnueabihf/lib/libunwind-c95064608a3426b2.rlib" "/home/jonatan.h.zeidler/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/arm-unknown-linux-gnueabihf/lib/libcfg_if-28dcbdcf0d6a7937.rlib" "/home/jonatan.h.zeidler/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/arm-unknown-linux-gnueabihf/lib/liblibc-d411a788bfcb9cf2.rlib" "/home/jonatan.h.zeidler/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/arm-unknown-linux-gnueabihf/lib/liballoc-e3e9a78ed02fc0cf.rlib" "/home/jonatan.h.zeidler/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/arm-unknown-linux-gnueabihf/lib/librustc_std_workspace_core-0cee676cf2bf17df.rlib" "/home/jonatan.h.zeidler/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/arm-unknown-linux-gnueabihf/lib/libcore-d609ba3ed1b7764b.rlib" "-Wl,--end-group" "/home/jonatan.h.zeidler/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/arm-unknown-linux-gnueabihf/lib/libcompiler_builtins-cd0b84002c903d8f.rlib" "-Wl,-Bdynamic" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil"
  = note: /usr/bin/ld: /home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.13rs4tutzskpaq02.rcgu.o: Relocations in generic ELF (EM: 40)
          /usr/bin/ld: /home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.13rs4tutzskpaq02.rcgu.o: Relocations in generic ELF (EM: 40)
          /usr/bin/ld: /home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.13rs4tutzskpaq02.rcgu.o: Relocations in generic ELF (EM: 40)
          /usr/bin/ld: /home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.13rs4tutzskpaq02.rcgu.o: Relocations in generic ELF (EM: 40)
          /usr/bin/ld: /home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.13rs4tutzskpaq02.rcgu.o: Relocations in generic ELF (EM: 40)
          /usr/bin/ld: /home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.13rs4tutzskpaq02.rcgu.o: Relocations in generic ELF (EM: 40)
          /usr/bin/ld: /home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.13rs4tutzskpaq02.rcgu.o: Relocations in generic ELF (EM: 40)
          /usr/bin/ld: /home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.13rs4tutzskpaq02.rcgu.o: Relocations in generic ELF (EM: 40)
          /home/jonatan.h.zeidler/rocket-sbs/target/arm-unknown-linux-gnueabihf/debug/deps/rocket_sbs-7cc98c0f745d94e0.13rs4tutzskpaq02.rcgu.o: error adding symbols: File in wrong format
          collect2: error: ld returned 1 exit status
          

error: aborting due to previous error

error: could not compile `rocket-sbs`.

To learn more, run the command again with --verbose.

Any idea how to fix this?

@jonnius
Copy link
Author

jonnius commented Feb 5, 2020

Ok, seems to be rust-lang/rust#28924 and rust-lang/cargo#4133. I am suprised I need to tell cargo about the linker. Sorry for the noise.

@jonnius jonnius closed this as completed Feb 5, 2020
@jebrosen jebrosen added the upstream An unresolvable issue: an upstream dependency bug label Feb 5, 2020
@getreu
Copy link

getreu commented Jun 20, 2023

Ok, seems to be rust-lang/rust#28924 and rust-lang/cargo#4133. I am suprised I need to tell cargo about the linker.

I had the same problem. Your note pointed me to the solution. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream An unresolvable issue: an upstream dependency bug
Projects
None yet
Development

No branches or pull requests

3 participants