* [Buildroot] [Bug 14856] nvidia-driver package fails to build
2022-06-20 9:03 [Buildroot] [Bug 14856] New: nvidia-driver package fails to build bugzilla
@ 2022-06-20 9:16 ` bugzilla
2022-06-20 13:47 ` bugzilla
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla @ 2022-06-20 9:16 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=14856
--- Comment #1 from Dr I J Ormshaw <ian_ormshaw@waters.com> ---
I get the same issue with gcc 9, 10, and 11
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 10+ messages in thread* [Buildroot] [Bug 14856] nvidia-driver package fails to build
2022-06-20 9:03 [Buildroot] [Bug 14856] New: nvidia-driver package fails to build bugzilla
2022-06-20 9:16 ` [Buildroot] [Bug 14856] " bugzilla
@ 2022-06-20 13:47 ` bugzilla
2022-06-20 14:17 ` bugzilla
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla @ 2022-06-20 13:47 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=14856
--- Comment #2 from Dr I J Ormshaw <ian_ormshaw@waters.com> ---
Created attachment 9331
--> https://bugs.busybox.net/attachment.cgi?id=9331&action=edit
Fedora 35 build log
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 10+ messages in thread* [Buildroot] [Bug 14856] nvidia-driver package fails to build
2022-06-20 9:03 [Buildroot] [Bug 14856] New: nvidia-driver package fails to build bugzilla
2022-06-20 9:16 ` [Buildroot] [Bug 14856] " bugzilla
2022-06-20 13:47 ` bugzilla
@ 2022-06-20 14:17 ` bugzilla
2022-06-20 17:32 ` bugzilla
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla @ 2022-06-20 14:17 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=14856
--- Comment #3 from Vincent Fazio <vfazio@xes-inc.com> ---
Pretty sure the CC error may be addressed by
https://patchwork.ozlabs.org/project/buildroot/patch/20211104141910.1840914-1-vfazio@xes-inc.com/
version 390.151 has been released which adds support up to 5.17rc, the 390.132
package I think only technically supports through 5.4
I can resubmit my patch with the version bump and kick off a build to make sure
it at least compiles OK but I don't have the bandwidth to do actual hardware
testing at the moment.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 10+ messages in thread* [Buildroot] [Bug 14856] nvidia-driver package fails to build
2022-06-20 9:03 [Buildroot] [Bug 14856] New: nvidia-driver package fails to build bugzilla
` (2 preceding siblings ...)
2022-06-20 14:17 ` bugzilla
@ 2022-06-20 17:32 ` bugzilla
2022-06-21 7:30 ` bugzilla
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla @ 2022-06-20 17:32 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=14856
--- Comment #4 from Vincent Fazio <vfazio@xes-inc.com> ---
hopefully fixed by
https://patchwork.ozlabs.org/project/buildroot/patch/20220620170940.513445-1-vfazio@xes-inc.com/
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 10+ messages in thread* [Buildroot] [Bug 14856] nvidia-driver package fails to build
2022-06-20 9:03 [Buildroot] [Bug 14856] New: nvidia-driver package fails to build bugzilla
` (3 preceding siblings ...)
2022-06-20 17:32 ` bugzilla
@ 2022-06-21 7:30 ` bugzilla
2022-06-21 8:43 ` bugzilla
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla @ 2022-06-21 7:30 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=14856
--- Comment #5 from Dr I J Ormshaw <ian_ormshaw@waters.com> ---
I am still not able to compile the drivers. It would appear from
https://gist.github.com/joanbm/144a965c36fc1dc0d1f1b9be3438a368. That the
patch you have applied only works for 5.10 -> 5.13 and the build breaks again
from 5.14 on.
In file included from
../nvidia-driver-390.144/kernel/common/inc/os-interface.h:27,
from ../nvidia-driver-390.144/kernel/nvidia/nv-procfs.c:14:
../../host/lib/gcc/x86_64-WatersAMST-linux-gnu/11.3.0/include/stdarg.h:52:
note: this is the location of the previous definition
52 | #define va_copy(d,s) __builtin_va_copy(d,s)
|
../nvidia-driver-390.144/kernel/nvidia-drm/nvidia-drm-drv.c: In function
‘nv_drm_register_drm_device’:
../nvidia-driver-390.144/kernel/nvidia-drm/nvidia-drm-drv.c:814:10: error:
‘struct drm_device’ has no member named ‘pdev’; did you mean ‘dev’?
814 | dev->pdev = pdev;
| ^~~~
| dev
make[3]: *** [scripts/Makefile.build:288:
/home/ian/build/amst-hiwire-linux-9297fa84-x86_64/buildroot/build/nvidia-driver-390.144/kernel/nvidia-drm/nvidia-drm-drv.o]
Error 1
../nvidia-driver-390.144/kernel/nvidia/nvlink_linux.c: In function
‘nvlink_sleep’:
../nvidia-driver-390.144/kernel/nvidia/nvlink_linux.c:600:18: error: ‘struct
task_struct’ has no member named ‘state’; did you mean ‘__state’?
600 | current->state = TASK_INTERRUPTIBLE;
| ^~~~~
| __state
make[3]: *** [scripts/Makefile.build:288:
/home/ian/build/amst-hiwire-linux-9297fa84-x86_64/buildroot/build/nvidia-driver-390.144/kernel/nvidia/nvlink_linux.o]
Error 1
make[2]: *** [Makefile:1868:
/home/ian/build/amst-hiwire-linux-9297fa84-x86_64/buildroot/build/nvidia-driver-390.144/kernel]
Error 2
make[2]: Leaving directory
'/home/ian/build/amst-hiwire-linux-9297fa84-x86_64/buildroot/build/linux-5.15.44'
make[1]: *** [package/pkg-generic.mk:294:
/home/ian/build/amst-hiwire-linux-9297fa84-x86_64/buildroot/build/nvidia-driver-390.144/.stamp_built]
Error 2
make[1]: Leaving directory
'/home/ian/projects/amst-hiwire-linux/source/buildroot'
make: *** [Makefile:616: buildroot] Error 2
The no cc check patch works as expected on Fedora 36
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 10+ messages in thread* [Buildroot] [Bug 14856] nvidia-driver package fails to build
2022-06-20 9:03 [Buildroot] [Bug 14856] New: nvidia-driver package fails to build bugzilla
` (4 preceding siblings ...)
2022-06-21 7:30 ` bugzilla
@ 2022-06-21 8:43 ` bugzilla
2022-06-21 12:02 ` bugzilla
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla @ 2022-06-21 8:43 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=14856
--- Comment #6 from Dr I J Ormshaw <ian_ormshaw@waters.com> ---
Created attachment 9336
--> https://bugs.busybox.net/attachment.cgi?id=9336&action=edit
source tree patch
I've applied this patch to the source tree and it now build for me on my
system.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 10+ messages in thread* [Buildroot] [Bug 14856] nvidia-driver package fails to build
2022-06-20 9:03 [Buildroot] [Bug 14856] New: nvidia-driver package fails to build bugzilla
` (5 preceding siblings ...)
2022-06-21 8:43 ` bugzilla
@ 2022-06-21 12:02 ` bugzilla
2022-06-21 12:43 ` bugzilla
2024-06-15 15:03 ` bugzilla
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla @ 2022-06-21 12:02 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=14856
--- Comment #7 from Vincent Fazio <vfazio@xes-inc.com> ---
I've submitted
https://patchwork.ozlabs.org/project/buildroot/list/?series=305651
Which uses the upstream 390.151 package. I was able to successfully compile the
driver using the vanilla 5.17 kernel
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 10+ messages in thread* [Buildroot] [Bug 14856] nvidia-driver package fails to build
2022-06-20 9:03 [Buildroot] [Bug 14856] New: nvidia-driver package fails to build bugzilla
` (6 preceding siblings ...)
2022-06-21 12:02 ` bugzilla
@ 2022-06-21 12:43 ` bugzilla
2024-06-15 15:03 ` bugzilla
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla @ 2022-06-21 12:43 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=14856
--- Comment #8 from Dr I J Ormshaw <ian_ormshaw@waters.com> ---
Thanks,
Compiles with my realtime 5.15 kernel too.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 10+ messages in thread* [Buildroot] [Bug 14856] nvidia-driver package fails to build
2022-06-20 9:03 [Buildroot] [Bug 14856] New: nvidia-driver package fails to build bugzilla
` (7 preceding siblings ...)
2022-06-21 12:43 ` bugzilla
@ 2024-06-15 15:03 ` bugzilla
8 siblings, 0 replies; 10+ messages in thread
From: bugzilla @ 2024-06-15 15:03 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=14856
Yann E. MORIN <yann.morin.1998@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |MOVED
Status|NEW |RESOLVED
CC| |yann.morin.1998@free.fr
--- Comment #9 from Yann E. MORIN <yann.morin.1998@free.fr> ---
Thank you for your report.
The issue tracker for the Buildroot project has been moved to
the Gitlab.com issue tracker:
https://gitlab.com/buildroot.org/buildroot/-/issues
We are taking this opportunity to close old issues in this old
tracker. If you believe your issue is still relevant, please
open one in the new issue tracker.
Thank you!
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 10+ messages in thread