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

ring 0.16.20 fails on glibc for armv7-unknown-linux-gnueabihf #832

Closed
4 of 11 tasks
leshow opened this issue Jun 22, 2022 · 2 comments
Closed
4 of 11 tasks

ring 0.16.20 fails on glibc for armv7-unknown-linux-gnueabihf #832

leshow opened this issue Jun 22, 2022 · 2 comments
Labels
A-glibc Area: glibc targets bug duplicate

Comments

@leshow
Copy link

leshow commented Jun 22, 2022

Checklist

Describe your issue

cross fails to build ring 0.16.20 (it is not a direct dependency) for armv7-unknown-linux-gnueabihf

What target(s) are you cross-compiling for?

armv7-unknown-linux-gnueabihf

Which operating system is the host (e.g computer cross is on) running?

  • macOS
  • Windows
  • Linux / BSD
  • other OS (specify in description)

What architecture is the host?

  • x86_64 / AMD64
  • arm32
  • arm64 (including Mac M1)

What container engine is cross using?

  • docker
  • podman
  • other container engine (specify in description)

cross version

cross 0.2.1 (05c4490 2022-06-21)

Example

❯ cross build --target armv7-unknown-linux-gnueabihf         
   Compiling libc v0.2.126
   Compiling ring v0.16.20
   Compiling anyhow v1.0.58
   Compiling protobuf v2.27.1
   Compiling typenum v1.15.0
   Compiling httparse v1.7.1
   Compiling crc32fast v1.3.2
   Compiling crossbeam-utils v0.8.9
   Compiling libsqlite3-sys v0.24.2
   Compiling encoding_rs v0.8.31
   Compiling brotli-decompressor v2.3.2
   Compiling lock_api v0.4.7
error: failed to run custom build command for `ring v0.16.20`

Caused by:
  process didn't exit successfully: `/target/debug/build/ring-c5ea9685f52c1129/build-script-build` (exit status: 1)
  --- stderr
  /target/debug/build/ring-c5ea9685f52c1129/build-script-build: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /target/debug/build/ring-c5ea9685f52c1129/build-script-build)
  /target/debug/build/ring-c5ea9685f52c1129/build-script-build: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.27' not found (required by /target/debug/build/ring-c5ea9685f52c1129/build-script-build)
warning: build failed, waiting for other jobs to finish...
error: build failed

Additional information / notes

No response

@Alexhuszagh
Copy link
Contributor

Have you tried running cargo clean? See #724.

@Alexhuszagh Alexhuszagh added bug A-glibc Area: glibc targets labels Jun 22, 2022
@leshow
Copy link
Author

leshow commented Jun 22, 2022

Oh, yes that seems to work. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-glibc Area: glibc targets bug duplicate
Projects
None yet
Development

No branches or pull requests

2 participants