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

Cannot perform dynamic linking with go-ipa v0.0.0-20231025140028-3c0104f4b233 #68

Open
mortimr opened this issue Nov 21, 2023 · 1 comment

Comments

@mortimr
Copy link

mortimr commented Nov 21, 2023

Hello !

I'm building go plugins that contain go-ipa in their dependencies (extending go-ethereum capabilities) and I'm now unable to build the dynamic library.
Here's the error I have when building

# github.com/crate-crypto/go-ipa/bandersnatch/fr
asm: element_mul_amd64.s:86: when dynamic linking, R15 is clobbered by a global variable access and is used here: 00013 (/home/mortimr/go/pkg/mod/github.com/crate-crypto/[email protected]/bandersnatch/fr/element_mul_amd64.s:86)      MULXQ   DI, R14, R15

Any idea on how this could get fixed ?

@kevaundray
Copy link
Contributor

This seems to be a gnark-crypto issue, perhaps you could open up an issue on their repo?

If this does continue to become a hinderance and it cannot be fixed in gnark, then we could look into using pure golang implementations for field arithmetic under a feature flag

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