mirror of
https://github.com/deepseek-ai/clangd-ascend.git
synced 2026-11-05 00:57:20 +00:00
[GH-ISSUE #1] AArch64 环境下全静态链接导致 GNU ld 溢出报错,且运行时启动即报段错误 #1
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?
Originally created by @zerain050424 on GitHub (Oct 10, 2026).
Original GitHub issue: https://github.com/deepseek-ai/clangd-ascend/issues/1
环境信息
问题描述
在 AArch64 架构下运行
./scripts/build-clangd.sh构建时,由于脚本启用了全静态链接(-static),会遇到问题:链接器处理静态 GOT 时超出 15 位寻址限制,报
relocation truncated to fit: R_AARCH64_LD64_GOTPAGE_LO15失败退出。报错日志
1. GNU ld 报错: