A-Vladimir

log 2

Nov 14th, 2025
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.06 KB | None | 0 0
  1. adv1pci@Game-X:~$ cat /var/lib/dkms/amdgpu/6.3.6-1697589.22.04/build/make.log
  2. DKMS make.log for amdgpu-6.3.6-1697589.22.04 for kernel 6.14.0-35-generic (amd64)
  3. Fri Nov 14 08:36:34 PM CET 2025
  4. make: Entering directory '/usr/src/linux-headers-6.14.0-35-generic'
  5. make[1]: Entering directory '/var/lib/dkms/amdgpu/6.3.6-1697589.22.04/build'
  6. warning: the compiler differs from the one used to build the kernel
  7. The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
  8. You are using: gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
  9. CC [M] scheduler/sched_main.o
  10. CC [M] drm_gem_ttm_helper.o
  11. CC [M] scheduler/sched_fence.o
  12. CC [M] amd/amdxcp/amdgpu_xcp_drv.o
  13. CC [M] ttm/ttm_tt.o
  14. CC [M] drm_buddy.o
  15. CC [M] amd/amdkcl/main.o
  16. CC [M] amd/amdgpu/amdgpu_drv.o
  17. amd/amdkcl/main.c:16:12: warning: no previous prototype for ‘amdkcl_init’ [-Wmissing-prototypes]
  18. 16 | int __init amdkcl_init(void)
  19. | ^~~~~~~~~~~
  20. amd/amdkcl/main.c:33:13: warning: no previous prototype for ‘amdkcl_exit’ [-Wmissing-prototypes]
  21. 33 | void __exit amdkcl_exit(void)
  22. | ^~~~~~~~~~~
  23. CC [M] amd/amdkcl/kcl_common.o
  24. In file included from ./././ttm/backport/backport.h:20,
  25. from <command-line>:
  26. ././include/kcl/kcl_shrinker.h: In function ‘kcl_register_shrinker’:
  27. ././include/kcl/kcl_shrinker.h:16:16: error: implicit declaration of function ‘register_shrinker’; did you mean ‘kcl_register_shrinker’? [-Werror=implicit-function-declaration]
  28. 16 | return register_shrinker(shrinker);
  29. | ^~~~~~~~~~~~~~~~~
  30. | kcl_register_shrinker
  31. In file included from ././include/drm/ttm/ttm_device.h:31,
  32. from ././include/drm/ttm/ttm_bo.h:40,
  33. from ././include/drm/drm_gem_ttm_helper.h:10,
  34. from drm_gem_ttm_helper.c:5:
  35. ././include/drm/ttm/ttm_pool.h: At top level:
  36. ././include/drm/ttm/ttm_pool.h:77:45: error: ‘MAX_ORDER’ undeclared here (not in a function); did you mean ‘PMD_ORDER’?
  37. 77 | struct ttm_pool_type orders[MAX_ORDER];
  38. | ^~~~~~~~~
  39. | PMD_ORDER
  40. cc1: some warnings being treated as errors
  41. make[3]: *** [/usr/src/linux-headers-6.14.0-35-generic/scripts/Makefile.build:207: drm_gem_ttm_helper.o] Error 1
  42. make[3]: *** Waiting for unfinished jobs....
  43. CC [M] amd/amdxcp/./backport/kcl_drm_drv.o
  44. In file included from ./ttm/backport/backport.h:20,
  45. from <command-line>:
  46. ././include/kcl/kcl_shrinker.h: In function ‘kcl_register_shrinker’:
  47. ././include/kcl/kcl_shrinker.h:16:16: error: implicit declaration of function ‘register_shrinker’; did you mean ‘kcl_register_shrinker’? [-Werror=implicit-function-declaration]
  48. 16 | return register_shrinker(shrinker);
  49. | ^~~~~~~~~~~~~~~~~
  50. | kcl_register_shrinker
  51. In file included from /usr/src/linux-headers-6.14.0-35-generic/include/trace/trace_events.h:468,
  52. from /usr/src/linux-headers-6.14.0-35-generic/include/trace/define_trace.h:119,
  53. from scheduler/gpu_scheduler_trace.h:114,
  54. from scheduler/sched_main.c:61:
  55. ./scheduler/./gpu_scheduler_trace.h:60:1: error: macro "__assign_str" passed 2 arguments, but takes just 1
  56. 60 | );
  57. | ^~
  58. In file included from /usr/src/linux-headers-6.14.0-35-generic/include/trace/trace_events.h:400:
  59. /usr/src/linux-headers-6.14.0-35-generic/include/trace/stages/stage6_event_callback.h:34: note: macro "__assign_str" defined here
  60. 34 | #define __assign_str(dst) \
  61. |
  62. ./scheduler/./gpu_scheduler_trace.h: In function ‘do_trace_event_raw_event_drm_sched_job’:
  63. ./scheduler/./gpu_scheduler_trace.h:51:28: error: ‘__assign_str’ undeclared (first use in this function)
  64. 51 | __assign_str(name, sched_job->sched->name);
  65. | ^~~~~~~~~~~~
  66. /usr/src/linux-headers-6.14.0-35-generic/include/trace/trace_events.h:427:11: note: in definition of macro ‘__DECLARE_EVENT_CLASS’
  67. 427 | { assign; } \
  68. | ^~~~~~
  69. /usr/src/linux-headers-6.14.0-35-generic/include/trace/trace_events.h:435:23: note: in expansion of macro ‘PARAMS’
  70. 435 | PARAMS(assign), PARAMS(print)) \
  71. | ^~~~~~
  72. ./scheduler/./gpu_scheduler_trace.h:35:1: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  73. 35 | DECLARE_EVENT_CLASS(drm_sched_job,
  74. | ^~~~~~~~~~~~~~~~~~~
  75. ./scheduler/./gpu_scheduler_trace.h:47:13: note: in expansion of macro ‘TP_fast_assign’
  76. 47 | TP_fast_assign(
  77. | ^~~~~~~~~~~~~~
  78. ./scheduler/./gpu_scheduler_trace.h:51:28: note: each undeclared identifier is reported only once for each function it appears in
  79. 51 | __assign_str(name, sched_job->sched->name);
  80. | ^~~~~~~~~~~~
  81. /usr/src/linux-headers-6.14.0-35-generic/include/trace/trace_events.h:427:11: note: in definition of macro ‘__DECLARE_EVENT_CLASS’
  82. 427 | { assign; } \
  83. | ^~~~~~
  84. /usr/src/linux-headers-6.14.0-35-generic/include/trace/trace_events.h:435:23: note: in expansion of macro ‘PARAMS’
  85. 435 | PARAMS(assign), PARAMS(print)) \
  86. | ^~~~~~
  87. ./scheduler/./gpu_scheduler_trace.h:35:1: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  88. 35 | DECLARE_EVENT_CLASS(drm_sched_job,
  89. | ^~~~~~~~~~~~~~~~~~~
  90. ./scheduler/./gpu_scheduler_trace.h:47:13: note: in expansion of macro ‘TP_fast_assign’
  91. 47 | TP_fast_assign(
  92. | ^~~~~~~~~~~~~~
  93. ./scheduler/./gpu_scheduler_trace.h: At top level:
  94. ./scheduler/./gpu_scheduler_trace.h:107:1: error: macro "__assign_str" passed 2 arguments, but takes just 1
  95. 107 | );
  96. | ^~
  97. /usr/src/linux-headers-6.14.0-35-generic/include/trace/stages/stage6_event_callback.h:34: note: macro "__assign_str" defined here
  98. 34 | #define __assign_str(dst) \
  99. |
  100. In file included from ././include/drm/ttm/ttm_device.h:31,
  101. from ././include/drm/ttm/ttm_bo.h:40,
  102. from ttm/ttm_tt.c:45:
  103. ././include/drm/ttm/ttm_pool.h: At top level:
  104. ././include/drm/ttm/ttm_pool.h:77:45: error: ‘MAX_ORDER’ undeclared here (not in a function); did you mean ‘PMD_ORDER’?
  105. 77 | struct ttm_pool_type orders[MAX_ORDER];
  106. | ^~~~~~~~~
  107. | PMD_ORDER
  108. ./scheduler/./gpu_scheduler_trace.h: In function ‘do_trace_event_raw_event_drm_sched_job_wait_dep’:
  109. ./scheduler/./gpu_scheduler_trace.h:97:28: error: ‘__assign_str’ undeclared (first use in this function)
  110. 97 | __assign_str(name, sched_job->sched->name);
  111. | ^~~~~~~~~~~~
  112. /usr/src/linux-headers-6.14.0-35-generic/include/trace/trace_events.h:427:11: note: in definition of macro ‘__DECLARE_EVENT_CLASS’
  113. 427 | { assign; } \
  114. | ^~~~~~
  115. /usr/src/linux-headers-6.14.0-35-generic/include/trace/trace_events.h:435:23: note: in expansion of macro ‘PARAMS’
  116. 435 | PARAMS(assign), PARAMS(print)) \
  117. | ^~~~~~
  118. /usr/src/linux-headers-6.14.0-35-generic/include/trace/trace_events.h:40:9: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  119. 40 | DECLARE_EVENT_CLASS(name, \
  120. | ^~~~~~~~~~~~~~~~~~~
  121. /usr/src/linux-headers-6.14.0-35-generic/include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’
  122. 44 | PARAMS(assign), \
  123. | ^~~~~~
  124. ./scheduler/./gpu_scheduler_trace.h:85:1: note: in expansion of macro ‘TRACE_EVENT’
  125. 85 | TRACE_EVENT(drm_sched_job_wait_dep,
  126. | ^~~~~~~~~~~
  127. ./scheduler/./gpu_scheduler_trace.h:96:13: note: in expansion of macro ‘TP_fast_assign’
  128. 96 | TP_fast_assign(
  129. | ^~~~~~~~~~~~~~
  130. In file included from /usr/src/linux-headers-6.14.0-35-generic/include/trace/trace_events.h:523:
  131. ./scheduler/./gpu_scheduler_trace.h: At top level:
  132. ./scheduler/./gpu_scheduler_trace.h:107:1: error: macro "__assign_str" passed 2 arguments, but takes just 1
  133. 107 | );
  134. | ^~
  135. /usr/src/linux-headers-6.14.0-35-generic/include/trace/stages/stage6_event_callback.h:34: note: macro "__assign_str" defined here
  136. 34 | #define __assign_str(dst) \
  137. |
  138. In file included from /usr/src/linux-headers-6.14.0-35-generic/include/trace/perf.h:110,
  139. from /usr/src/linux-headers-6.14.0-35-generic/include/trace/define_trace.h:120:
  140. ./scheduler/./gpu_scheduler_trace.h:60:1: error: macro "__assign_str" passed 2 arguments, but takes just 1
  141. 60 | );
  142. | ^~
  143. In file included from /usr/src/linux-headers-6.14.0-35-generic/include/trace/perf.h:7:
  144. /usr/src/linux-headers-6.14.0-35-generic/include/trace/stages/stage6_event_callback.h:34: note: macro "__assign_str" defined here
  145. 34 | #define __assign_str(dst) \
  146. |
  147. cc1: some warnings being treated as errors
  148. ./scheduler/./gpu_scheduler_trace.h: In function ‘do_perf_trace_drm_sched_job’:
  149. ./scheduler/./gpu_scheduler_trace.h:51:28: error: ‘__assign_str’ undeclared (first use in this function)
  150. 51 | __assign_str(name, sched_job->sched->name);
  151. | ^~~~~~~~~~~~
  152. /usr/src/linux-headers-6.14.0-35-generic/include/trace/perf.h:66:1: note: in expansion of macro ‘__DECLARE_EVENT_CLASS’
  153. 66 | __DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), PARAMS(tstruct), \
  154. | ^~~~~~~~~~~~~~~~~~~~~
  155. /usr/src/linux-headers-6.14.0-35-generic/include/trace/perf.h:67:23: note: in expansion of macro ‘PARAMS’
  156. 67 | PARAMS(assign), PARAMS(print)) \
  157. | ^~~~~~
  158. ./scheduler/./gpu_scheduler_trace.h:35:1: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  159. 35 | DECLARE_EVENT_CLASS(drm_sched_job,
  160. | ^~~~~~~~~~~~~~~~~~~
  161. ./scheduler/./gpu_scheduler_trace.h:47:13: note: in expansion of macro ‘TP_fast_assign’
  162. 47 | TP_fast_assign(
  163. | ^~~~~~~~~~~~~~
  164. ./scheduler/./gpu_scheduler_trace.h: At top level:
  165. ./scheduler/./gpu_scheduler_trace.h:107:1: error: macro "__assign_str" passed 2 arguments, but takes just 1
  166. 107 | );
  167. | ^~
  168. /usr/src/linux-headers-6.14.0-35-generic/include/trace/stages/stage6_event_callback.h:34: note: macro "__assign_str" defined here
  169. 34 | #define __assign_str(dst) \
  170. |
  171. make[4]: *** [/usr/src/linux-headers-6.14.0-35-generic/scripts/Makefile.build:207: ttm/ttm_tt.o] Error 1
  172. make[3]: *** [/usr/src/linux-headers-6.14.0-35-generic/scripts/Makefile.build:465: ttm] Error 2
  173. CC [M] amd/amdgpu/amdgpu_device.o
  174. ./scheduler/./gpu_scheduler_trace.h: In function ‘do_perf_trace_drm_sched_job_wait_dep’:
  175. ./scheduler/./gpu_scheduler_trace.h:97:28: error: ‘__assign_str’ undeclared (first use in this function)
  176. 97 | __assign_str(name, sched_job->sched->name);
  177. | ^~~~~~~~~~~~
  178. /usr/src/linux-headers-6.14.0-35-generic/include/trace/perf.h:51:11: note: in definition of macro ‘__DECLARE_EVENT_CLASS’
  179. 51 | { assign; } \
  180. | ^~~~~~
  181. /usr/src/linux-headers-6.14.0-35-generic/include/trace/perf.h:67:23: note: in expansion of macro ‘PARAMS’
  182. 67 | PARAMS(assign), PARAMS(print)) \
  183. | ^~~~~~
  184. /usr/src/linux-headers-6.14.0-35-generic/include/trace/trace_events.h:40:9: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  185. 40 | DECLARE_EVENT_CLASS(name, \
  186. | ^~~~~~~~~~~~~~~~~~~
  187. /usr/src/linux-headers-6.14.0-35-generic/include/trace/trace_events.h:44:30: note: in expansion of macro ‘PARAMS’
  188. 44 | PARAMS(assign), \
  189. | ^~~~~~
  190. ./scheduler/./gpu_scheduler_trace.h:85:1: note: in expansion of macro ‘TRACE_EVENT’
  191. 85 | TRACE_EVENT(drm_sched_job_wait_dep,
  192. | ^~~~~~~~~~~
  193. ./scheduler/./gpu_scheduler_trace.h:96:13: note: in expansion of macro ‘TP_fast_assign’
  194. 96 | TP_fast_assign(
  195. | ^~~~~~~~~~~~~~
  196. In file included from /usr/src/linux-headers-6.14.0-35-generic/include/trace/bpf_probe.h:131,
  197. from /usr/src/linux-headers-6.14.0-35-generic/include/trace/define_trace.h:121:
  198. ./scheduler/./gpu_scheduler_trace.h: At top level:
  199. ./scheduler/./gpu_scheduler_trace.h:107:1: error: macro "__assign_str" passed 2 arguments, but takes just 1
  200. 107 | );
  201. | ^~
  202. In file included from /usr/src/linux-headers-6.14.0-35-generic/include/trace/bpf_probe.h:7:
  203. /usr/src/linux-headers-6.14.0-35-generic/include/trace/stages/stage6_event_callback.h:34: note: macro "__assign_str" defined here
  204. 34 | #define __assign_str(dst) \
  205. |
  206. make[4]: *** [/usr/src/linux-headers-6.14.0-35-generic/scripts/Makefile.build:207: scheduler/sched_main.o] Error 1
  207. CC [M] amd/amdgpu/amdgpu_doorbell_mgr.o
  208. make[4]: *** Waiting for unfinished jobs....
  209. In file included from ././include/drm/ttm/ttm_device.h:31,
  210. from ././include/drm/ttm/ttm_bo.h:40,
  211. from ./amd/amdgpu/amdgpu.h:54,
  212. from ./amd/backport/include/kcl/kcl_amdgpu_drm_fb_helper.h:37,
  213. from ./amd/backport/backport.h:69,
  214. from <command-line>:
  215. ././include/drm/ttm/ttm_pool.h:77:45: error: ‘MAX_ORDER’ undeclared here (not in a function); did you mean ‘PMD_ORDER’?
  216. 77 | struct ttm_pool_type orders[MAX_ORDER];
  217. | ^~~~~~~~~
  218. | PMD_ORDER
  219. CC [M] amd/amdkcl/kcl_kernel_params.o
  220. CC [M] amd/amdgpu/amdgpu_kms.o
  221. amd/amdkcl/kcl_common.c:30:6: warning: no previous prototype for ‘amdkcl_symbol_init’ [-Wmissing-prototypes]
  222. 30 | void amdkcl_symbol_init(void)
  223. | ^~~~~~~~~~~~~~~~~~
  224. amd/amdgpu/amdgpu_drv.c: In function ‘amdgpu_pci_probe’:
  225. amd/amdgpu/amdgpu_drv.c:2253:25: error: implicit declaration of function ‘drm_fbdev_generic_setup’ [-Werror=implicit-function-declaration]
  226. 2253 | drm_fbdev_generic_setup(adev_to_drm(adev), 8);
  227. | ^~~~~~~~~~~~~~~~~~~~~~~
  228. In file included from ./amd/amdgpu/amdgpu.h:60:
  229. amd/amdgpu/amdgpu_drv.c: At top level:
  230. amd/amdgpu/amdgpu_drv.c:2903:66: error: ‘DRM_UNLOCKED’ undeclared here (not in a function); did you mean ‘VM_LOCKED’?
  231. 2903 | DRM_IOCTL_DEF_DRV(AMDGPU_SEM, amdgpu_sem_ioctl, DRM_AUTH|DRM_UNLOCKED|DRM_RENDER_ALLOW)
  232. | ^~~~~~~~~~~~
  233. /usr/src/linux-headers-6.14.0-35-generic/include/drm/drm_ioctl.h:155:26: note: in definition of macro ‘DRM_IOCTL_DEF_DRV’
  234. 155 | .flags = _flags, \
  235. | ^~~~~~
  236. amd/amdgpu/amdgpu_drv.c:2925:10: error: ‘struct drm_driver’ has no member named ‘lastclose’; did you mean ‘postclose’?
  237. 2925 | .lastclose = amdgpu_driver_lastclose_kms,
  238. | ^~~~~~~~~
  239. | postclose
  240. amd/amdgpu/amdgpu_drv.c:2979:10: error: ‘struct drm_driver’ has no member named ‘gem_prime_mmap’; did you mean ‘gem_prime_import’?
  241. 2979 | .gem_prime_mmap = amdkcl_drm_gem_prime_mmap,
  242. | ^~~~~~~~~~~~~~
  243. | gem_prime_import
  244. amd/amdgpu/amdgpu_drv.c:2979:27: error: initialization of ‘struct drm_gem_object * (*)(struct drm_device *, struct dma_buf_attachment *, struct sg_table *)’ from incompatible pointer type ‘int (*)(struct drm_gem_object *, struct vm_area_struct *)’ [-Werror=incompatible-pointer-types]
  245. 2979 | .gem_prime_mmap = amdkcl_drm_gem_prime_mmap,
  246. | ^~~~~~~~~~~~~~~~~~~~~~~~~
  247. amd/amdgpu/amdgpu_drv.c:2979:27: note: (near initialization for ‘amdgpu_kms_driver.gem_prime_import_sg_table’)
  248. amd/amdgpu/amdgpu_drv.c:2983:10: error: ‘struct drm_driver’ has no member named ‘date’
  249. 2983 | .date = DRIVER_DATE,
  250. | ^~~~
  251. In file included from amd/amdgpu/amdgpu_drv.c:47:
  252. amd/amdgpu/amdgpu_drv.h:43:33: warning: initialization of ‘unsigned int’ from ‘char *’ makes integer from pointer without a cast [-Wint-conversion]
  253. 43 | #define DRIVER_DATE "20150101"
  254. | ^~~~~~~~~~
  255. amd/amdgpu/amdgpu_drv.c:2983:17: note: in expansion of macro ‘DRIVER_DATE’
  256. 2983 | .date = DRIVER_DATE,
  257. | ^~~~~~~~~~~
  258. amd/amdgpu/amdgpu_drv.h:43:33: note: (near initialization for ‘amdgpu_kms_driver.driver_features’)
  259. 43 | #define DRIVER_DATE "20150101"
  260. | ^~~~~~~~~~
  261. amd/amdgpu/amdgpu_drv.c:2983:17: note: in expansion of macro ‘DRIVER_DATE’
  262. 2983 | .date = DRIVER_DATE,
  263. | ^~~~~~~~~~~
  264. amd/amdgpu/amdgpu_drv.h:43:33: error: initializer element is not computable at load time
  265. 43 | #define DRIVER_DATE "20150101"
  266. | ^~~~~~~~~~
  267. amd/amdgpu/amdgpu_drv.c:2983:17: note: in expansion of macro ‘DRIVER_DATE’
  268. 2983 | .date = DRIVER_DATE,
  269. | ^~~~~~~~~~~
  270. amd/amdgpu/amdgpu_drv.h:43:33: note: (near initialization for ‘amdgpu_kms_driver.driver_features’)
  271. 43 | #define DRIVER_DATE "20150101"
  272. | ^~~~~~~~~~
  273. amd/amdgpu/amdgpu_drv.c:2983:17: note: in expansion of macro ‘DRIVER_DATE’
  274. 2983 | .date = DRIVER_DATE,
  275. | ^~~~~~~~~~~
  276. amd/amdgpu/amdgpu_drv.c:2998:10: error: ‘const struct drm_driver’ has no member named ‘lastclose’; did you mean ‘postclose’?
  277. 2998 | .lastclose = amdgpu_driver_lastclose_kms,
  278. | ^~~~~~~~~
  279. | postclose
  280. amd/amdgpu/amdgpu_drv.c:3009:10: error: ‘const struct drm_driver’ has no member named ‘gem_prime_mmap’; did you mean ‘gem_prime_import’?
  281. 3009 | .gem_prime_mmap = drm_gem_prime_mmap,
  282. | ^~~~~~~~~~~~~~
  283. | gem_prime_import
  284. amd/amdgpu/amdgpu_drv.c:3009:27: error: initialization of ‘struct drm_gem_object * (*)(struct drm_device *, struct dma_buf_attachment *, struct sg_table *)’ from incompatible pointer type ‘int (*)(struct drm_gem_object *, struct vm_area_struct *)’ [-Werror=incompatible-pointer-types]
  285. 3009 | .gem_prime_mmap = drm_gem_prime_mmap,
  286. | ^~~~~~~~~~~~~~~~~~
  287. amd/amdgpu/amdgpu_drv.c:3009:27: note: (near initialization for ‘amdgpu_partition_driver.gem_prime_import_sg_table’)
  288. amd/amdgpu/amdgpu_drv.c:3013:10: error: ‘const struct drm_driver’ has no member named ‘date’
  289. 3013 | .date = DRIVER_DATE,
  290. | ^~~~
  291. amd/amdgpu/amdgpu_drv.h:43:33: warning: initialization of ‘unsigned int’ from ‘char *’ makes integer from pointer without a cast [-Wint-conversion]
  292. 43 | #define DRIVER_DATE "20150101"
  293. | ^~~~~~~~~~
  294. amd/amdgpu/amdgpu_drv.c:3013:17: note: in expansion of macro ‘DRIVER_DATE’
  295. 3013 | .date = DRIVER_DATE,
  296. | ^~~~~~~~~~~
  297. amd/amdgpu/amdgpu_drv.h:43:33: note: (near initialization for ‘amdgpu_partition_driver.driver_features’)
  298. 43 | #define DRIVER_DATE "20150101"
  299. | ^~~~~~~~~~
  300. amd/amdgpu/amdgpu_drv.c:3013:17: note: in expansion of macro ‘DRIVER_DATE’
  301. 3013 | .date = DRIVER_DATE,
  302. | ^~~~~~~~~~~
  303. amd/amdgpu/amdgpu_drv.h:43:33: error: initializer element is not computable at load time
  304. 43 | #define DRIVER_DATE "20150101"
  305. | ^~~~~~~~~~
  306. amd/amdgpu/amdgpu_drv.c:3013:17: note: in expansion of macro ‘DRIVER_DATE’
  307. 3013 | .date = DRIVER_DATE,
  308. | ^~~~~~~~~~~
  309. amd/amdgpu/amdgpu_drv.h:43:33: note: (near initialization for ‘amdgpu_partition_driver.driver_features’)
  310. 43 | #define DRIVER_DATE "20150101"
  311. | ^~~~~~~~~~
  312. amd/amdgpu/amdgpu_drv.c:3013:17: note: in expansion of macro ‘DRIVER_DATE’
  313. 3013 | .date = DRIVER_DATE,
  314. | ^~~~~~~~~~~
  315. CC [M] amd/amdkcl/dma-buf/dma-resv.o
  316. cc1: some warnings being treated as errors
  317. LD [M] amd/amdxcp/amdxcp.o
  318. make[3]: *** [/usr/src/linux-headers-6.14.0-35-generic/scripts/Makefile.build:465: scheduler] Error 2
  319. make[4]: *** [/usr/src/linux-headers-6.14.0-35-generic/scripts/Makefile.build:207: amd/amdgpu/amdgpu_drv.o] Error 1
  320. make[4]: *** Waiting for unfinished jobs....
  321. CC [M] amd/amdkcl/kcl_backlight.o
  322. CC [M] amd/amdkcl/kcl_ioctl.o
  323. CC [M] amd/amdkcl/kcl_kthread.o
  324. CC [M] amd/amdkcl/kcl_io.o
  325. In file included from ././include/drm/ttm/ttm_device.h:31,
  326. from ././include/drm/ttm/ttm_bo.h:40,
  327. from ./amd/amdgpu/amdgpu.h:54,
  328. from ./amd/backport/include/kcl/kcl_amdgpu_drm_fb_helper.h:37,
  329. from ./amd/backport/backport.h:69,
  330. from <command-line>:
  331. ././include/drm/ttm/ttm_pool.h:77:45: error: ‘MAX_ORDER’ undeclared here (not in a function); did you mean ‘PMD_ORDER’?
  332. 77 | struct ttm_pool_type orders[MAX_ORDER];
  333. | ^~~~~~~~~
  334. | PMD_ORDER
  335. In file included from ././include/drm/ttm/ttm_device.h:31,
  336. from ././include/drm/ttm/ttm_bo.h:40,
  337. from ./amd/amdgpu/amdgpu.h:54,
  338. from ./amd/backport/include/kcl/kcl_amdgpu_drm_fb_helper.h:37,
  339. from ./amd/backport/backport.h:69,
  340. from <command-line>:
  341. ././include/drm/ttm/ttm_pool.h:77:45: error: ‘MAX_ORDER’ undeclared here (not in a function); did you mean ‘PMD_ORDER’?
  342. 77 | struct ttm_pool_type orders[MAX_ORDER];
  343. | ^~~~~~~~~
  344. | PMD_ORDER
  345. CC [M] amd/amdkcl/kcl_seq_file.o
  346. make[4]: *** [/usr/src/linux-headers-6.14.0-35-generic/scripts/Makefile.build:207: amd/amdgpu/amdgpu_doorbell_mgr.o] Error 1
  347. CC [M] amd/amdkcl/kcl_suspend.o
  348. amd/amdkcl/kcl_suspend.c:32:6: warning: no previous prototype for ‘amdkcl_suspend_init’ [-Wmissing-prototypes]
  349. 32 | void amdkcl_suspend_init(void)
  350. | ^~~~~~~~~~~~~~~~~~~
  351. amd/amdkcl/kcl_io.c:69:6: warning: no previous prototype for ‘amdkcl_io_init’ [-Wmissing-prototypes]
  352. 69 | void amdkcl_io_init(void)
  353. | ^~~~~~~~~~~~~~
  354. CC [M] amd/amdkcl/kcl_pci.o
  355. In file included from ././include/drm/ttm/ttm_device.h:31,
  356. from ././include/drm/ttm/ttm_bo.h:40,
  357. from ./amd/amdgpu/amdgpu.h:54,
  358. from ./amd/backport/include/kcl/kcl_amdgpu_drm_fb_helper.h:37,
  359. from ./amd/backport/backport.h:69,
  360. from <command-line>:
  361. ././include/drm/ttm/ttm_pool.h:77:45: error: ‘MAX_ORDER’ undeclared here (not in a function); did you mean ‘PMD_ORDER’?
  362. 77 | struct ttm_pool_type orders[MAX_ORDER];
  363. | ^~~~~~~~~
  364. | PMD_ORDER
  365. CC [M] amd/amdkcl/kcl_mm.o
  366. CC [M] amd/amdkcl/kcl_memory.o
  367. amd/amdgpu/amdgpu_device.c:103:32: warning: ‘amdgpu_kms_driver’ defined but not used [-Wunused-const-variable=]
  368. 103 | static const struct drm_driver amdgpu_kms_driver;
  369. | ^~~~~~~~~~~~~~~~~
  370. make[4]: *** [/usr/src/linux-headers-6.14.0-35-generic/scripts/Makefile.build:207: amd/amdgpu/amdgpu_device.o] Error 1
  371. CC [M] amd/amdkcl/kcl_sched.o
  372. make[4]: *** [/usr/src/linux-headers-6.14.0-35-generic/scripts/Makefile.build:207: amd/amdgpu/amdgpu_kms.o] Error 1
  373. make[3]: *** [/usr/src/linux-headers-6.14.0-35-generic/scripts/Makefile.build:465: amd/amdgpu] Error 2
  374. CC [M] amd/amdkcl/kcl_fence.o
  375. CC [M] amd/amdkcl/kcl_reservation.o
  376. amd/amdkcl/kcl_sched.c:24:6: warning: no previous prototype for ‘amdkcl_sched_init’ [-Wmissing-prototypes]
  377. 24 | void amdkcl_sched_init(void)
  378. | ^~~~~~~~~~~~~~~~~
  379. CC [M] amd/amdkcl/kcl_drm_cache.o
  380. CC [M] amd/amdkcl/kcl_drm_fb.o
  381. amd/amdkcl/kcl_mm.c:39:6: warning: no previous prototype for ‘amdkcl_mm_init’ [-Wmissing-prototypes]
  382. 39 | void amdkcl_mm_init(void)
  383. | ^~~~~~~~~~~~~~
  384. CC [M] amd/amdkcl/kcl_drm_print.o
  385. CC [M] amd/amdkcl/kcl_drm_crtc.o
  386. amd/amdkcl/kcl_reservation.c:37:6: warning: no previous prototype for ‘amdkcl_reservation_init’ [-Wmissing-prototypes]
  387. 37 | void amdkcl_reservation_init(void)
  388. | ^~~~~~~~~~~~~~~~~~~~~~~
  389. CC [M] amd/amdkcl/kcl_drm_connector.o
  390. In file included from /usr/src/linux-headers-6.14.0-35-generic/include/trace/trace_events.h:468,
  391. from /usr/src/linux-headers-6.14.0-35-generic/include/trace/define_trace.h:119,
  392. from amd/amdkcl/kcl_fence_trace.h:72,
  393. from amd/amdkcl/kcl_fence.c:26:
  394. ./amd/amdkcl/./kcl_fence_trace.h:37:1: error: macro "__assign_str" passed 2 arguments, but takes just 1
  395. 37 | );
  396. | ^~
  397. In file included from /usr/src/linux-headers-6.14.0-35-generic/include/trace/trace_events.h:400:
  398. /usr/src/linux-headers-6.14.0-35-generic/include/trace/stages/stage6_event_callback.h:34: note: macro "__assign_str" defined here
  399. 34 | #define __assign_str(dst) \
  400. |
  401. ./amd/amdkcl/./kcl_fence_trace.h:37:1: error: macro "__assign_str" passed 2 arguments, but takes just 1
  402. 37 | );
  403. | ^~
  404. /usr/src/linux-headers-6.14.0-35-generic/include/trace/stages/stage6_event_callback.h:34: note: macro "__assign_str" defined here
  405. 34 | #define __assign_str(dst) \
  406. |
  407. ./amd/amdkcl/./kcl_fence_trace.h: In function ‘do_trace_event_raw_event_kcl_fence’:
  408. ./amd/amdkcl/./kcl_fence_trace.h:28:17: error: unknown type name ‘__assign_str’
  409. 28 | __assign_str(driver, fence->ops->get_driver_name(fence))
  410. | ^~~~~~~~~~~~
  411. /usr/src/linux-headers-6.14.0-35-generic/include/trace/trace_events.h:427:11: note: in definition of macro ‘__DECLARE_EVENT_CLASS’
  412. 427 | { assign; } \
  413. | ^~~~~~
  414. /usr/src/linux-headers-6.14.0-35-generic/include/trace/trace_events.h:435:23: note: in expansion of macro ‘PARAMS’
  415. 435 | PARAMS(assign), PARAMS(print)) \
  416. | ^~~~~~
  417. ./amd/amdkcl/./kcl_fence_trace.h:14:1: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  418. 14 | DECLARE_EVENT_CLASS(kcl_fence,
  419. | ^~~~~~~~~~~~~~~~~~~
  420. ./amd/amdkcl/./kcl_fence_trace.h:27:9: note: in expansion of macro ‘TP_fast_assign’
  421. 27 | TP_fast_assign(
  422. | ^~~~~~~~~~~~~~
  423. /usr/src/linux-headers-6.14.0-35-generic/include/trace/stages/stage6_event_callback.h:9:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘entry’
  424. 9 | #define __entry entry
  425. | ^~~~~
  426. /usr/src/linux-headers-6.14.0-35-generic/include/trace/trace_events.h:427:11: note: in definition of macro ‘__DECLARE_EVENT_CLASS’
  427. 427 | { assign; } \
  428. | ^~~~~~
  429. /usr/src/linux-headers-6.14.0-35-generic/include/trace/trace_events.h:435:23: note: in expansion of macro ‘PARAMS’
  430. 435 | PARAMS(assign), PARAMS(print)) \
  431. | ^~~~~~
  432. ./amd/amdkcl/./kcl_fence_trace.h:14:1: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  433. 14 | DECLARE_EVENT_CLASS(kcl_fence,
  434. | ^~~~~~~~~~~~~~~~~~~
  435. ./amd/amdkcl/./kcl_fence_trace.h:27:9: note: in expansion of macro ‘TP_fast_assign’
  436. 27 | TP_fast_assign(
  437. | ^~~~~~~~~~~~~~
  438. ./amd/amdkcl/./kcl_fence_trace.h:30:17: note: in expansion of macro ‘__entry’
  439. 30 | __entry->context = fence->context;
  440. | ^~~~~~~
  441. In file included from /usr/src/linux-headers-6.14.0-35-generic/include/trace/perf.h:110,
  442. from /usr/src/linux-headers-6.14.0-35-generic/include/trace/define_trace.h:120:
  443. ./amd/amdkcl/./kcl_fence_trace.h: At top level:
  444. ./amd/amdkcl/./kcl_fence_trace.h:37:1: error: macro "__assign_str" passed 2 arguments, but takes just 1
  445. 37 | );
  446. | ^~
  447. In file included from /usr/src/linux-headers-6.14.0-35-generic/include/trace/perf.h:7:
  448. /usr/src/linux-headers-6.14.0-35-generic/include/trace/stages/stage6_event_callback.h:34: note: macro "__assign_str" defined here
  449. 34 | #define __assign_str(dst) \
  450. |
  451. ./amd/amdkcl/./kcl_fence_trace.h:37:1: error: macro "__assign_str" passed 2 arguments, but takes just 1
  452. 37 | );
  453. | ^~
  454. /usr/src/linux-headers-6.14.0-35-generic/include/trace/stages/stage6_event_callback.h:34: note: macro "__assign_str" defined here
  455. 34 | #define __assign_str(dst) \
  456. |
  457. ./amd/amdkcl/./kcl_fence_trace.h: In function ‘do_perf_trace_kcl_fence’:
  458. ./amd/amdkcl/./kcl_fence_trace.h:28:17: error: unknown type name ‘__assign_str’
  459. 28 | __assign_str(driver, fence->ops->get_driver_name(fence))
  460. | ^~~~~~~~~~~~
  461. /usr/src/linux-headers-6.14.0-35-generic/include/trace/perf.h:51:11: note: in definition of macro ‘__DECLARE_EVENT_CLASS’
  462. 51 | { assign; } \
  463. | ^~~~~~
  464. /usr/src/linux-headers-6.14.0-35-generic/include/trace/perf.h:67:23: note: in expansion of macro ‘PARAMS’
  465. 67 | PARAMS(assign), PARAMS(print)) \
  466. | ^~~~~~
  467. ./amd/amdkcl/./kcl_fence_trace.h:14:1: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  468. 14 | DECLARE_EVENT_CLASS(kcl_fence,
  469. | ^~~~~~~~~~~~~~~~~~~
  470. ./amd/amdkcl/./kcl_fence_trace.h:27:9: note: in expansion of macro ‘TP_fast_assign’
  471. 27 | TP_fast_assign(
  472. | ^~~~~~~~~~~~~~
  473. /usr/src/linux-headers-6.14.0-35-generic/include/trace/stages/stage6_event_callback.h:9:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘entry’
  474. 9 | #define __entry entry
  475. | ^~~~~
  476. /usr/src/linux-headers-6.14.0-35-generic/include/trace/perf.h:51:11: note: in definition of macro ‘__DECLARE_EVENT_CLASS’
  477. 51 | { assign; } \
  478. | ^~~~~~
  479. /usr/src/linux-headers-6.14.0-35-generic/include/trace/perf.h:67:23: note: in expansion of macro ‘PARAMS’
  480. 67 | PARAMS(assign), PARAMS(print)) \
  481. | ^~~~~~
  482. ./amd/amdkcl/./kcl_fence_trace.h:14:1: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  483. 14 | DECLARE_EVENT_CLASS(kcl_fence,
  484. | ^~~~~~~~~~~~~~~~~~~
  485. ./amd/amdkcl/./kcl_fence_trace.h:27:9: note: in expansion of macro ‘TP_fast_assign’
  486. 27 | TP_fast_assign(
  487. | ^~~~~~~~~~~~~~
  488. ./amd/amdkcl/./kcl_fence_trace.h:30:17: note: in expansion of macro ‘__entry’
  489. 30 | __entry->context = fence->context;
  490. | ^~~~~~~
  491. CC [M] amd/amdkcl/kcl_drm_atomic_helper.o
  492. amd/amdkcl/kcl_fence.c: At top level:
  493. amd/amdkcl/kcl_fence.c:239:6: warning: no previous prototype for ‘amdkcl_fence_init’ [-Wmissing-prototypes]
  494. 239 | void amdkcl_fence_init(void)
  495. | ^~~~~~~~~~~~~~~~~
  496. make[4]: *** [/usr/src/linux-headers-6.14.0-35-generic/scripts/Makefile.build:207: amd/amdkcl/kcl_fence.o] Error 1
  497. make[4]: *** Waiting for unfinished jobs....
  498. make[3]: *** [/usr/src/linux-headers-6.14.0-35-generic/scripts/Makefile.build:465: amd/amdkcl] Error 2
  499. make[2]: *** [/usr/src/linux-headers-6.14.0-35-generic/Makefile:1997: .] Error 2
  500. make[1]: *** [/usr/src/linux-headers-6.14.0-35-generic/Makefile:251: __sub-make] Error 2
  501. make[1]: Leaving directory '/var/lib/dkms/amdgpu/6.3.6-1697589.22.04/build'
  502. make: *** [Makefile:251: __sub-make] Error 2
  503. make: Leaving directory '/usr/src/linux-headers-6.14.0-35-generic'
  504. adv1pci@Game-X:~$
  505.  
  506.  
Add Comment
Please, Sign In to add comment