NVIDIA / NVIDIA/open-gpu-kernel-modules

-gcc-sections required

Open
#636 1 comment 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

550.78

Operating System and Version

Ubuntu 24.04 LTS

Kernel Release

6.8.9

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

ferran@z590i:~/Documents/PersonalPackages/open-gpu-kernel-modules$ make modules -j$(nproc)

Terminal output/Build Log

make -C src/nvidia
make -C src/nvidia-modeset
make[1]: Entering directory '/home/ferran/Documents/PersonalPackages/open-gpu-kernel-modules/src/nvidia'
make[1]: Entering directory '/home/ferran/Documents/PersonalPackages/open-gpu-kernel-modules/src/nvidia-modeset'
make[1]: Nothing to be done for 'default'.
make[1]: Leaving directory '/home/ferran/Documents/PersonalPackages/open-gpu-kernel-modules/src/nvidia-modeset'
cd kernel-open/nvidia-modeset/ && ln -sf ../../src/nvidia-modeset/_out/Linux_x86_64/nv-modeset-kernel.o nv-modeset-kernel.o_binary
[ nvidia ] LD _out/Linux_x86_64/nv-kernel.o
ld: --gc-sections requires a defined symbol root specified by -e or -u
make[1]: *** [Makefile:212: _out/Linux_x86_64/nv-kernel.o] Error 1
make[1]: Leaving directory '/home/ferran/Documents/PersonalPackages/open-gpu-kernel-modules/src/nvidia'
make: *** [Makefile:34: src/nvidia/_out/Linux_x86_64/nv-kernel.o] Error 2

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

Reproduce the reported make modules -j$(nproc) build on the stated Ubuntu and kernel versions. Start with Makefile:212, Makefile:34, and the src/nvidia build output around _out/Linux_x86_64/nv-kernel.o; done means the modules build completes without the linker error.

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.