Bug ID 1212841
Summary Lots of objtool warnings when building the nvidia driver
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Kernel
Assignee kernel-bugs@opensuse.org
Reporter christophe@krop.fr
QA Contact qa-bugs@suse.de
Target Milestone ---
Found By ---
Blocker ---

# rpm -qv nvidia-driver-G06-kmp-default
nvidia-driver-G06-kmp-default-535.54.03_k6.3.7_1-10.1.x86_64

# zgrep -c objtool zypper.log-20230627.xz
213230

extracts:

[rpm>   LD [M] 
/usr/src/kernel-modules/nvidia-535.54.03-default/nvidia-modeset.o
[rpm> /usr/src/kernel-modules/nvidia-535.54.03-default/nvidia-modeset.o:
warning: objtool: _nv000675kms+0x46: 'naked' return found in RETHUNK build
[rpm> /usr/src/kernel-modules/nvidia-535.54.03-default/nvidia-modeset.o:
warning: objtool: _nv000676kms+0x46: 'naked' return found in RETHUNK build

[cut]

[rpm> /usr/src/kernel-modules/nvidia-535.54.03-default/nvidia.o: warning:
objtool: _nv040720rm+0xb9: return with modified stack frame
[rpm> /usr/src/kernel-modules/nvidia-535.54.03-default/nvidia.o: warning:
objtool: _nv013581rm+0xd9: stack state mismatch: reg1[5]=-1+0 reg2[5]=-2-64
[rpm> /usr/src/kernel-modules/nvidia-535.54.03-default/nvidia.o: warning:
objtool: _nv034058rm+0x83: stack state mismatch: reg1[5]=-1+0 reg2[5]=-2-56
[rpm> /usr/src/kernel-modules/nvidia-535.54.03-default/nvidia.o: warning:
objtool: _nv024689rm+0xb: missing int3 after ret
[rpm> /usr/src/kernel-modules/nvidia-535.54.03-default/nvidia.o: warning:
objtool: _nv043791rm+0x4: missing int3 after ret

[cut]

then it finishes building and prints a couple last warnings such as:
[rpm> Skipping BTF generation for
/usr/src/kernel-modules/nvidia-535.54.03-default/nvidia-peermem.ko due to
unavailability of vmlinux


You are receiving this mail because: