-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
xxhash: bump to v2.1.2 #15556
xxhash: bump to v2.1.2 #15556
Conversation
There is a known issue in v2.1.1: cespare/xxhash#54 Fix that issue by bumping to the version with the fix. This has been fixed in upstream etcd via the following: etcd-io@f0f77fc But it was a pretty major upgrade so just take the one piece we need for the etcd v3.5 release tag. Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
51832a5
to
c34f524
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for raising this @geissonator.
The code change itself looks ok, though it would be helpful if you could give a bit more context on why this should meet the bar to be backported to previous etcd releases, i.e. how does the -buildmode=plugin
issue impact etcd specifically?
I had a quick look through some build code and I can't see us using that flag, I could easily be wrong though as still learning, perhaps downstream consumers are doing so.
Sure, let me add a few more details to the original message above. |
Fixes: | # 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/pokybuild/yocto-worker/meta-oe/cespare/xxhash/v2@v2.1.1/xxhash_amd64.s:120) ADDQ R15, AX | asm: assembly failed Upstream-Status: Backport [etcd-io/etcd@f0f77fc] Limited PR with just this patch submitted via this PR: etcd-io/etcd#15556 Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Thanks @geissonator for the PR. The concern is that Please update this PR per suggestion above. But I am not sure it can pass the pipeline tests. Anyway, please try it out. |
I did what you asked above, and noticed that in the end, my diff looks pretty much like if we just pulled in f0f77fc from the main branch of this repo. My goal with this PR was to just pull the bare minimum in to get xxhash updated and building in my scenario. I have very minimal knowledge of go and it's modules. I also have very little understanding on where your 3.5 release branch is (i.e. only critical fixes?). If others have not reported this issue, then I'm ok if we just close out this PR so it's here for others if they run into the issue and I'll just carry the patch in our bitbake recipe and wait for 3.6. I also could change this PR to pull in f0f77fc if you think that would be acceptable to backport to the 3.5 release. |
Looks like we'll just wait for 3.6 and carry the patch in meta-openembedded. |
Fixes: | # 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/pokybuild/yocto-worker/meta-oe/cespare/xxhash/v2@v2.1.1/xxhash_amd64.s:120) ADDQ R15, AX | asm: assembly failed Upstream-Status: Backport [etcd-io/etcd@f0f77fc] Limited PR with just this patch submitted via this PR: etcd-io/etcd#15556 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Fixes: | # 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/pokybuild/yocto-worker/meta-oe/cespare/xxhash/v2@v2.1.1/xxhash_amd64.s:120) ADDQ R15, AX | asm: assembly failed Upstream-Status: Backport [etcd-io/etcd@f0f77fc] Limited PR with just this patch submitted via this PR: etcd-io/etcd#15556 Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fixes: | # 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/pokybuild/yocto-worker/meta-oe/cespare/xxhash/v2@v2.1.1/xxhash_amd64.s:120) ADDQ R15, AX | asm: assembly failed Upstream-Status: Backport [etcd-io/etcd@f0f77fc] Limited PR with just this patch submitted via this PR: etcd-io/etcd#15556 Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fixes: | # 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/pokybuild/yocto-worker/meta-oe/cespare/xxhash/v2@v2.1.1/xxhash_amd64.s:120) ADDQ R15, AX | asm: assembly failed Upstream-Status: Backport [etcd-io/etcd@f0f77fc] Limited PR with just this patch submitted via this PR: etcd-io/etcd#15556 Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fixes: | # 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/pokybuild/yocto-worker/meta-oe/cespare/xxhash/v2@v2.1.1/xxhash_amd64.s:120) ADDQ R15, AX | asm: assembly failed Upstream-Status: Backport [etcd-io/etcd@f0f77fc] Limited PR with just this patch submitted via this PR: etcd-io/etcd#15556 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Fixes: | # 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/pokybuild/yocto-worker/meta-oe/cespare/xxhash/v2@v2.1.1/xxhash_amd64.s:120) ADDQ R15, AX | asm: assembly failed Upstream-Status: Backport [etcd-io/etcd@f0f77fc] Limited PR with just this patch submitted via this PR: etcd-io/etcd#15556 Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fixes: | # 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/pokybuild/yocto-worker/meta-oe/cespare/xxhash/v2@v2.1.1/xxhash_amd64.s:120) ADDQ R15, AX | asm: assembly failed Upstream-Status: Backport [etcd-io/etcd@f0f77fc] Limited PR with just this patch submitted via this PR: etcd-io/etcd#15556 Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fixes: | # 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/pokybuild/yocto-worker/meta-oe/cespare/xxhash/v2@v2.1.1/xxhash_amd64.s:120) ADDQ R15, AX | asm: assembly failed Upstream-Status: Backport [etcd-io/etcd@f0f77fc] Limited PR with just this patch submitted via this PR: etcd-io/etcd#15556 Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
There is a known issue in v2.1.1:
cespare/xxhash#54
Fix that issue by bumping to the version with the fix.
This has been fixed in the main branch of etcd via the following:
f0f77fc
But it was a pretty major upgrade so just take the one piece we need for the etcd v3.5 release tag.
The OpenBMC project (https://github.com/openbmc) utilizes yocto/bitbake to build custom Linux images for embedded servers. I've been attempting to get an etcd bitbake recipe into yocto over in openembedded/meta-openembedded#616. When cross compiling etcd for an arm based BMC, we ran into this xxhash issue. Bitbake recipes tend to only point to tagged and released versions of code so that is why I'd like to get this fix backported into the 3.5 branch. For now, I've added this change as a patch to my etcd bitbake PR, but it's always preferred by the openembedded community that the fix be in the source project.