mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-11-05 01:07:28 +00:00
[PR #1109] [MERGED] xxHash: fix link error due to non-position-independent code #1564
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/ktransformers#1564
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/kvcache-ai/ktransformers/pull/1109
Author: @aubreyli
Created: 4/10/2025
Status: ✅ Merged
Merged: 4/13/2025
Merged by: @ErvinXie
Base:
main← Head:libxxhash-fPIC📝 Commits (1)
63ca2faxxHash: fix link error due to non-position-independent code📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
csrc/balance_serve/CMakeLists.txt(+1 -0)📄 Description
Add PROPERTIES POSITION_INDEPENDENT_CODE option to fix the following error:
/usr/bin/ld: ../../third_party/xxHash/libxxhash.a(xxhash.c.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
Trying to link a non-PIC static library libxxhash.a into a .so shared library, which is not allowed. The object file xxhash.c.o must be recompiled with explicit -fPIC support.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.