-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Failure to build kernel modules after 530.41.03 #468
Comments
Thanks for the report. That is curious. Just to double check: building the 525.89.02 kernel modules with the same 6.1.13 target kernel works? 530.xx changed a few things with how conftest handles CFLAGS. That's the only thing I can think of that would cause this. Could I trouble you to perform the following experiment? (1) Make the following edit to conftest.sh:
(that should apply to kernel-open/conftest.sh as well as kernel/conftest.sh) (2) Do (3) Grep the conftest.log.* files for "dma_buf_export". Paste the contents of the dma_buf_export log file here. (4) Repeat steps 1-3 with 525.89.02. I'm curious to see how the CFLAGS in the log files differ between 530.30.02 and 525.89.02. Thanks. |
530.30.02:
525.89.02:
there is NO difference:
well, other than i'd also like to clarify i am on linux-headers version
|
I'd suspect I may have the same problem. On the same setup 525.89.02 builds fine, while on 530.30.02 the following result:
|
fixed build on my machine with 525.105.17 |
however, has not been fixed as of 530.41.03, same errors |
@apprehensions : are you still seeing this problem with the latest 535.43.02 release? |
Sorry, I no longer have an Nvidia graphics card. Though, I will test soon, thanks. |
@aritger For what it's worth, I can confirm that the same (or at least seemingly similar) problem occurs with 535.43.02 on Alpine Linux 3.16, kernel 5.15.86. While on that same system, 525.xx still works fine.
|
@apprehensions: your log snippets in #468 (comment) are surprising. You said you are on linux-headers version 5.15.41-1, but your log shows you building 6.1.13teapot kernel headers. It would be good if you could test the @retardtank: could you please conduct the same experiment described here: #468 (comment) Then, as a separate experiment, if the problem is really that 530.xx and newer branches is missing -MD from CFLAGS, try making this change:
|
There was no difference adding 535.43.02:
525.89.02:
Thanks. |
Getting this exact problem on ubuntu 24.04 noble using the recent nvidia 550.40.07-0ubuntu0~gpu24.04.1 packages from the graphics-drivers ppa. |
same problem on
|
I've solved this with 545.29.06 on Alpine Linux 3.19, by installing gnu coreutils. On my system at least, I'd guess that there might been some discrepancy in the busybox counterpart of some standard command that gets called on, eventually causing conftest to fail. |
Work for me, on Alpine Linux v3.19. |
I'm hitting this same error log on Fedora 41 with Kernel 6.11. |
I hit this again. It appears that the cause was my compiler was not the same as the one used to build my kernel. Updating both fixed it. |
Could you help me to build it on my machine? @apprehensions |
Sorry, I switched to AMD. |
NVIDIA Open GPU Kernel Modules Version
530.30.02
Operating System and Version
KISS
Kernel Release
6.1.13
Build Command
Terminal output/Build Log
More Info
this only occured after updating to 530.30.02 from 525.89.02
The text was updated successfully, but these errors were encountered: