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 isn't supported for BLS12-381 #15

Open
kobigurk opened this issue Apr 16, 2020 · 3 comments
Open

Cross-compilation isn't supported for BLS12-381 #15

kobigurk opened this issue Apr 16, 2020 · 3 comments

Comments

@kobigurk
Copy link
Collaborator

kobigurk commented Apr 16, 2020

paired depends on raw-cpuid which, although mentions it cross-compiles to iOS/Android, depends on x86/x86_64. That causes these kind of errors when trying to cross-compile:

50 |         let result = unsafe { self::arch::__cpuid_count(a, c) };
   |                                     ^^^^ could not find `arch` in `self`

@nikkolasg @dignifiedquire

@dignifiedquire
Copy link
Contributor

What target_arch are you using? are you using the latest version of paried, I recently fixed a bug around this.

@kobigurk
Copy link
Collaborator Author

I used w/e @nikkolasg introduced to the repo. I'm committing a makefile with cross compilation tools soon that you can try out :)

@kobigurk
Copy link
Collaborator Author

@dignifiedquire check out #16. You can enable bls12-381 in the Makefile and see the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants