dgraph-io / ristretto

A high performance memory-bound Go cache

Home Page:https://dgraph.io/blog/post/introducing-ristretto-high-perf-go-cache/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG]: compilation reports asm error when -buildmode=plugin

bafflingbug opened this issue · comments

What version of Ristretto are you using?

v0.1.0

What version of Go are you using?

1.18.3

Have you tried reproducing the issue with the latest release?

None

What is the hardware spec (RAM, CPU, OS)?

amd64 16G linux

What steps will reproduce the bug?

Build the program using -buildmode=plugin

# github.com/cespare/xxhash/v2
asm: xxhash_amd64.s:120: when dynamic linking, R15 is clobbered by a global variable access and is used here: 00092 (/home/webroot/go/1.18.10/pkg/mod/github.com/cespare/xxhash/v2@v2.1.1/xxhash_amd64.s:120)       ADDQ    R15, AX
asm: assembly failed

Expected behavior and actual result.

No response

Additional information

After testing, related problems are solved in xxhash v2.2.0, please update
cespare/xxhash#54