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

Build failed under Linux/Arm64 Environment #592

Closed
iyangsj opened this issue Jul 24, 2020 · 2 comments
Closed

Build failed under Linux/Arm64 Environment #592

iyangsj opened this issue Jul 24, 2020 · 2 comments

Comments

@iyangsj
Copy link
Member

iyangsj commented Jul 24, 2020

Description
The error message is as following:

   ⨯ release failed after 2.64s error=failed to build for linux_arm64: # crypto/elliptic
/usr/local/go/src/crypto/elliptic/p256.go:51:2: undefined: initP256Arch
/usr/local/go/src/crypto/elliptic/p256_asm.go:23:2: p256Curve redeclared in this block
	previous declaration at /usr/local/go/src/crypto/elliptic/p256.go:26:6
/usr/local/go/src/crypto/elliptic/p256_asm.go:34:2: p256Precomputed redeclared in this block
	previous declaration at /usr/local/go/src/crypto/elliptic/p256.go:168:5
/usr/local/go/src/crypto/elliptic/p256_asm.go:38:6: initP256 redeclared in this block
	previous declaration at /usr/local/go/src/crypto/elliptic/p256.go:38:6
/usr/local/go/src/crypto/elliptic/p256_asm.go:49:24: p256Curve.Params redeclared in this block
	previous declaration at /usr/local/go/src/crypto/elliptic/p256.go:54:6
/usr/local/go/src/crypto/elliptic/p256_asm.go:56:6: p256Mul redeclared in this block
	previous declaration at /usr/local/go/src/crypto/elliptic/p256.go:585:39
/usr/local/go/src/crypto/elliptic/p256_asm.go:214:6: p256GetScalar redeclared in this block
	previous declaration at /usr/local/go/src/crypto/elliptic/p256.go:61:40
/usr/local/go/src/crypto/elliptic/p256_asm.go:267:24: p256Curve.ScalarBaseMult redeclared in this block
	previous declaration at /usr/local/go/src/crypto/elliptic/p256.go:77:6
/usr/local/go/src/crypto/elliptic/p256_asm.go:276:24: p256Curve.ScalarMult redeclared in this block
	previous declaration at /usr/local/go/src/crypto/elliptic/p256.go:86:6
@jcirionotero
Copy link

Same issue:

crypto/elliptic

/usr/local/go/src/crypto/elliptic/p256_asm_table.go:11:7: p256Precomputed redeclared in this block
/usr/local/go/src/crypto/elliptic/p256_asm.go:25:5: other declaration of p256Precomputed

@iyangsj
Copy link
Member Author

iyangsj commented Oct 28, 2024

#1201

@iyangsj iyangsj closed this as completed Oct 28, 2024
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