Closed tbu- closed 7 years ago
Look like x86_64-unknown-linux-steed.json
is outdated.
It should contain: "linker-flavor": "ld"
My docker/x86_64-unknown-linux-steed.json
file:
$ cat docker/x86_64-unknown-linux-steed.json
{
"arch": "x86_64",
"cpu": "x86-64",
"data-layout": "e-m:e-i64:64-f80:128-n8:16:32:64-S128",
"env": "steed",
"executables": true,
"has-elf-tls": true,
"linker": "ld.lld",
"linker-flavor": "ld",
"llvm-target": "x86_64-unknown-linux",
"max-atomic-width": 64,
"os": "linux",
"panic-strategy": "abort",
"pre-link-args": {
"gcc": [
"-Wl,--as-needed",
"-Wl,-z,noexecstack",
"-m64",
"-nostartfiles"
]
},
"target-endian": "little",
"target-family": "unix",
"target-pointer-width": "64",
"vendor": "unknown"
}
Updating cross
to 0.10.0 fixed this issue and resulted in #136.
I still have this error. But I'm using xargo (v0.3.6) not cross. @tbu- did you find what is the root cause of this error?
@aleksander Is your target specification json file (it should contain linker-flavor
) and rustc (it should support linker-flavor) up to date? And are you getting the same error as in the issue description?
@japaric, my bad, sorry. I did not update x86_64-unknown-linux-steed.json.
(not sure if this is related to #136.)