Problem with aarch64-unknown-linux-gnu
hanusek opened this issue · 1 comments
hanusek commented
Hello!
I have a problem with aarch64-unknown-linux-gnu
.
That project builds for arm-unknown-linux-gnueabihf
correctly.
How to fix it?
Log error:
$ cross build --release --target=aarch64-unknown-linux-gnu -p protocol-model-benchmark
[cross] warning: found unused key(s) in Cross configuration:
> target.arm-unknown-linux-gnueabihf.volumes
warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
package: /project/protocol-model-benchmark/Cargo.toml
workspace: /project/Cargo.toml
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Compiling serde v1.0.189
Compiling unicode-normalization v0.1.22
Compiling regex-automata v0.4.3
Compiling serde_derive v1.0.189
Compiling num-integer v0.1.45
Compiling form_urlencoded v1.2.0
Compiling num-complex v0.4.4
Compiling link-cplusplus v1.0.9
Compiling indexmap v1.8.0
Compiling anstyle-parse v0.2.2
Compiling getrandom v0.2.10
Compiling tracing-core v0.1.31
Compiling bitflags v1.3.2
Compiling linked-hash-map v0.5.4
error: failed to run custom build command for `link-cplusplus v1.0.9`
Caused by:
process didn't exit successfully: `/target/release/build/link-cplusplus-a92490f767e401fc/build-script-build` (exit status: 1)
--- stderr
/target/release/build/link-cplusplus-a92490f767e401fc/build-script-build: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /target/release/build/link-cplusplus-a92490f767e401fc/build-script-build)
/target/release/build/link-cplusplus-a92490f767e401fc/build-script-build: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.27' not found (required by /target/release/build/link-cplusplus-a92490f767e401fc/build-script-build)
warning: build failed, waiting for other jobs to finish...
Emilgardis commented
this is #724, try cargo clean