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

[AMDGPU][OBJTOOL] Two new objtool warnings in AMDGPU #2061

Open
ms178 opened this issue Dec 23, 2024 · 3 comments
Open

[AMDGPU][OBJTOOL] Two new objtool warnings in AMDGPU #2061

ms178 opened this issue Dec 23, 2024 · 3 comments
Labels
[TOOL] objtool warning is produced by the kernel's objtool

Comments

@ms178
Copy link

ms178 commented Dec 23, 2024

I see these two objtool warnings nowadays with Clang-20 git (c660b281b60085cbe40d73d692badd43d7708d20) on CachyOS with Kernel 6.12.6.

drivers/gpu/drm/amd/amdgpu/amdgpu.o: warning: objtool: .text.dc_fixpt_recip: unexpected end of section
drivers/gpu/drm/amd/amdgpu/amdgpu.o: warning: objtool: .text.spl_fixpt_recip: unexpected end of section
@nathanchance
Copy link
Member

This was brought up recently on LKML: https://lore.kernel.org/4bace457-cc26-13a3-bc90-ad6ad12bc2ed@loongson.cn/

@nathanchance nathanchance added the [TOOL] objtool warning is produced by the kernel's objtool label Dec 24, 2024
@ms178
Copy link
Author

ms178 commented Dec 24, 2024

As that was discussed in the context of the Loongson architecture, I've missed that, sorry. As I am compiling on Raptor Lake, thes warnings are definetly not arch-specific.

@nathanchance
Copy link
Member

No worries! You are correct about them being architecture agnostic. I posted some thoughts after Peter brought me in, including the offending commit from LLVM (which I do not necessarily think is incorrect): https://lore.kernel.org/20241220223403.GA2605890@ax162/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[TOOL] objtool warning is produced by the kernel's objtool
Projects
None yet
Development

No branches or pull requests

2 participants