Skip to content

go plugin not compiling #391

@JensAc

Description

@JensAc

Hi,
when I try to build a plugin containing circl like so

go build -buildmode=plugin

I get:

asm: fp_amd64.s:68: when dynamic linking, R15 is clobbered by a global variable access and is used here: 00215 (....l/vendor/github.com/cloudflare/circl/math/fp25519/fp_amd64.s:68)  MULXQ   24(SI), AX, R15
asm: assembly failed

I am sorry, but I have no idea on debugging this. I found similar issues which let me assume that some upstream change could be required. If you find time to look into this, I would really appreciate your help.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions