Skip to content
This repository has been archived by the owner on Sep 23, 2023. It is now read-only.

GFTP doesn't compile. #6

Closed
MarijnStevens opened this issue May 11, 2021 · 1 comment
Closed

GFTP doesn't compile. #6

MarijnStevens opened this issue May 11, 2021 · 1 comment

Comments

@MarijnStevens
Copy link
Owner

Im not sure, it could be just an memory issue (its 100% filled)

          /usr/bin/ld: /home/ms/Code/golem/yagna/target/aarch64-unknown-linux-gnu/release/deps/gftp-b0cfd64b14cec03b.gftp.1qkj05nm-cgu.0.rcgu.o: Relocations in generic ELF (EM: 183)
          /usr/bin/ld: /home/ms/Code/golem/yagna/target/aarch64-unknown-linux-gnu/release/deps/gftp-b0cfd64b14cec03b.gftp.1qkj05nm-cgu.0.rcgu.o: Relocations in generic ELF (EM: 183)
          /usr/bin/ld: /home/ms/Code/golem/yagna/target/aarch64-unknown-linux-gnu/release/deps/gftp-b0cfd64b14cec03b.gftp.1qkj05nm-cgu.0.rcgu.o: Relocations in generic ELF (EM: 183)
          /usr/bin/ld: /home/ms/Code/golem/yagna/target/aarch64-unknown-linux-gnu/release/deps/gftp-b0cfd64b14cec03b.gftp.1qkj05nm-cgu.0.rcgu.o: Relocations in generic ELF (EM: 183)
          /usr/bin/ld: /home/ms/Code/golem/yagna/target/aarch64-unknown-linux-gnu/release/deps/gftp-b0cfd64b14cec03b.gftp.1qkj05nm-cgu.0.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 `gftp`

And it seemed the linker can't handle it. Searching around I saw this: rust-lang/cargo#8239
But tried all options, no different result.

@MarijnStevens
Copy link
Owner Author

DOW!

I made a small typo in my ~/.cargo/config file so it didnt use the correct linker (in rust) for aarch64-unknown-linux-gnu

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

No branches or pull requests

1 participant