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

Cross compilation v1 #214

Closed
wants to merge 3 commits into from
Closed

Cross compilation v1 #214

wants to merge 3 commits into from

Conversation

eguzki
Copy link
Contributor

@eguzki eguzki commented Sep 22, 2023

  • Using rust:1,72 as based image.
  • Remove QEMU virtualization
  • Following Rust Cross Compilation
  • It compiles in both amd64 and arm64 archs.
  • Using openssl = { version = "0.10.57", features = ["vendored"] } dep as I was not able to install or compile openssl in arm.

The current issue is that the binary is not compatible in ubi7 image

$ docker run --rm -t docker.io/library/limitador:test01 limitador-server
limitador-server: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by limitador-server)
limitador-server: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by limitador-server)
limitador-server: /lib64/libc.so.6: version `GLIBC_2.30' not found (required by limitador-server)
limitador-server: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by limitador-server)
limitador-server: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by limitador-server)
limitador-server: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by limitador-server)
limitador-server: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by limitador-server)
limitador-server: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by limitador-server)

@alexsnaps
Copy link
Member

Should we close this?

@alexsnaps alexsnaps closed this Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants