asm: p256_asm_amd64.s:656: when dynamic linking, R15 is clobbered by a global variable access and is used here: 00630 (/home/zengl/go/pkg/mod/github.com/emmansun/gmsm@v0.24.1/internal/sm2ec/p256_asm_amd64.s:656) MULQ R15
asm: p256_asm_amd64.s:1325: when dynamic linking, R15 is clobbered by a global variable access and is used here: 01181 (/home/zengl/go/pkg/mod/github.com/emmansun/gmsm@v0.24.1/internal/sm2ec/p256_asm_amd64.s:1325) MOVL R15, 488(SP)
asm: assembly failed
Issue context:
gmsm version v0.24.1
go version: 1.20.5 or 1.21.6. Both version have this failure but 1.21.6 has less complaints than 1.20.5.
This error never happens when I build the project as app or shared library. I am not sure if it is due to go made some restrictions on assembly compilation at plugin build mode.
Hello, your gmsm packages are awesome. When I build plugin module with gmsm imports, go complains about assembly failure as below:
Issue context: gmsm version v0.24.1 go version: 1.20.5 or 1.21.6. Both version have this failure but 1.21.6 has less complaints than 1.20.5. This error never happens when I build the project as app or shared library. I am not sure if it is due to go made some restrictions on assembly compilation at plugin build mode.