NVIDIA / NVIDIA/open-gpu-kernel-modules

Linux Kernel 6.19.8 - Build Failure: objtool flags 'naked' returns in MITIGATION_RETHUNK build

Open
#1,077 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

build-problem
Dominant language
C
Stars
17.4k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

NVIDIA Open GPU Kernel Modules Version

595.58.03

Operating System and Version

Ubuntu 25.04

Kernel Release

Linux 6.19.8-061908-generic #202603131837 SMP PREEMPT_DYNAMIC Fri Mar 13 23:26:49 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux

Please confirm you are running a stable release kernel (e.g. not a -rc). We do not accept bug reports for unreleased kernels.
  • I am running on a stable kernel release.
Build Command

make modules -j$(nproc)

Terminal output/Build Log

build.log

More Info

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported make modules -j$(nproc) build on Ubuntu 25.04 with Linux 6.19.8 and NVIDIA modules 595.58.03, then inspect the attached build.log for the objtool errors involving MITIGATION_RETHUNK and naked returns. Done means identifying the affected source or compatibility boundary and confirming a build that no longer fails.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.