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

When build with -buildmode=plugin, go complains about an asm error #1764

Closed
siddharthlatest opened this issue Dec 15, 2021 · 1 comment
Closed

Comments

@siddharthlatest
Copy link

GitHub Issues are deprecated. Use Discuss Issues for reporting issues about this repository.

Any go package that depends on Badger and builds using buildmode=plugin or anything using dyanmic link will see the error:

when dynamic linking, R15 is clobbered by a global variable access and is used here

This is originating from cespare/xxhash module, the issue is described over here: cespare/xxhash#54. It's fixed in their latest release: https://github.com/cespare/xxhash/releases/tag/v2.1.2. Updating this module to this release in badger should resolve this issue.

Further reference is here: golang/go#43661.

@github-actions
Copy link

Use Discuss Issues for reporting issues about this repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant