Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

When dynamic linking, R15 may be clobbered by a global variable access #42

Open
ale-linux opened this issue Nov 9, 2023 · 0 comments
Open

Comments

@ale-linux
Copy link

The problem can be reproduced by running

go build -linkshared ./...

Output:

asm: fp_arithmetic_x86.s:1427: when dynamic linking, R15 is clobbered by a global variable access and is used here: 00895 (src/github.com/kilic/bls12-381/fp_arithmetic_x86.s:1427)  CMOVQCC R12, R15
asm: fp_arithmetic_x86.s:2142: when dynamic linking, R15 is clobbered by a global variable access and is used here: 01198 (src/github.com/kilic/bls12-381/fp_arithmetic_x86.s:2142)  CMOVQCC R8, R15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant