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

Tracking issue for CONFIG_RELOCATABLE on LoongArch #1883

Closed
xen0n opened this issue Jul 10, 2023 · 3 comments
Closed

Tracking issue for CONFIG_RELOCATABLE on LoongArch #1883

xen0n opened this issue Jul 10, 2023 · 3 comments
Labels
[ARCH] loongarch This bug impacts ARCH=loongarch [FIXED][LINUX] 6.7 This bug was fixed in Linux 6.7 [TOOL] lld The issue is relevant to LLD linker

Comments

@xen0n
Copy link
Member

xen0n commented Jul 10, 2023

Follow-up issue for #1787.

Currently one cannot build a working kernel with CONFIG_RELOCATABLE=y and with Clang/LLD, both because of attempts to take cross-section address differences, and LLD reportedly not writing the pre-relocated values in GOT (reported by @heiher). This issue tracks the work towards enabling relocatable LoongArch kernels.

@nickdesaulniers nickdesaulniers added [TOOL] lld The issue is relevant to LLD linker [ARCH] loongarch This bug impacts ARCH=loongarch labels Jul 10, 2023
@heiher
Copy link
Member

heiher commented Nov 21, 2023

@nathanchance
Copy link
Member

Accepted: https://git.kernel.org/chenhuacai/linux-loongson/c/aa0cbc1b506b090c3a775b547c693ada108cc0d7

Hash may change, I'll close this when it reaches Linus's tree.

@nathanchance nathanchance added the [PATCH] Accepted A submitted patch has been accepted upstream label Nov 22, 2023
@xen0n
Copy link
Member Author

xen0n commented Nov 30, 2023

This is already mainlined since v6.7-rc3, and the commit hash didn't change: torvalds@aa0cbc1

Please feel free to label the issue as resolved, and I'll just close it now. Thanks to everyone involved!

@xen0n xen0n closed this as completed Nov 30, 2023
@nathanchance nathanchance added [FIXED][LINUX] 6.7 This bug was fixed in Linux 6.7 and removed [PATCH] Accepted A submitted patch has been accepted upstream labels Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[ARCH] loongarch This bug impacts ARCH=loongarch [FIXED][LINUX] 6.7 This bug was fixed in Linux 6.7 [TOOL] lld The issue is relevant to LLD linker
Projects
None yet
Development

No branches or pull requests

4 participants