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

Problem with aarch64-unknown-linux-gnu #1354

Closed
hanusek opened this issue Oct 23, 2023 · 1 comment
Closed

Problem with aarch64-unknown-linux-gnu #1354

hanusek opened this issue Oct 23, 2023 · 1 comment

Comments

@hanusek
Copy link

hanusek commented Oct 23, 2023

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
Copy link
Member

this is #724, try cargo clean

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