emmansun / gmsm

ShangMi (SM) cipher suites for golang (Go语言商用密码软件)

Home Page:https://emmansun.github.io/gmsm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

0.26 版本 再mac arm上编译不通过

jyk1987 opened this issue · comments

go 1.22.1
mac os 14.3.1 arm
gmsm 0.26

编译出现以下错误

github.com/emmansun/gmsm/internal/cpuid

../../go/pkg/mod/github.com/emmansun/gmsm@v0.26.0/internal/cpuid/cpuid_arm64_darwin.go:9:5: HasAES redeclared in this block
../../go/pkg/mod/github.com/emmansun/gmsm@v0.26.0/internal/cpuid/cpuid_arm64.go:5:5: other declaration of HasAES
../../go/pkg/mod/github.com/emmansun/gmsm@v0.26.0/internal/cpuid/cpuid_arm64_darwin.go:10:5: HasGFMUL redeclared in this block
../../go/pkg/mod/github.com/emmansun/gmsm@v0.26.0/internal/cpuid/cpuid_arm64.go:6:5: other declaration of HasGFMUL

v0.26.1