tsipa740

Untitled

Oct 27th, 2021
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.08 KB | None | 0 0
  1. [~/local/kernel-externals] sudo dkms build -m amdgpu -v 4.3-59.el7 -k 5.12.0
  2.  
  3. Kernel preparation unnecessary for this kernel. Skipping...
  4.  
  5. Running the pre_build script:
  6. checking for a BSD-compatible install... /bin/install -c
  7. checking for gcc... gcc
  8. checking whether the C compiler works... yes
  9. checking for C compiler default output file name... a.out
  10. checking for suffix of executables...
  11. checking whether we are cross compiling... no
  12. checking for suffix of object files... o
  13. checking whether we are using the GNU C compiler... yes
  14. checking whether gcc accepts -g... yes
  15. checking for gcc option to accept ISO C89... none needed
  16. checking how to run the C preprocessor... gcc -E
  17. checking kernel source directory... /usr/src/kernels/5.12.0
  18. checking kernel build directory... /usr/src/kernels/5.12.0
  19. checking kernel source version... 5.12.0
  20. checking kernel file name for module symbols... Module.symvers
  21. checking for linux/overflow.h... yes
  22. checking for linux/sched/mm.h... yes
  23. checking for linux/sched/task.h... yes
  24. checking for linux/sched/signal.h... yes
  25. checking for linux/nospec.h... yes
  26. checking for linux/bits.h... yes
  27. checking for linux/io-64-nonatomic-lo-hi.h... yes
  28. checking for asm/set_memory.h... yes
  29. checking for asm/fpu/api.h... yes
  30. checking for uapi/linux/sched/types.h... yes
  31. checking for linux/compiler_attributes.h... yes
  32. checking for linux/dma-fence.h... yes
  33. checking for linux/dma-resv.h... yes
  34. checking for linux/mmap_lock.h... yes
  35. checking for linux/pci-p2pdma.h... yes
  36. checking for linux/dma-attrs.h... no
  37. checking for linux/mem_encrypt.h... yes
  38. checking for linux/dma-buf-map.h... yes
  39. checking for drm/drm_backport.h... no
  40. checking for drm/amdgpu_pciid.h... no
  41. checking for drm/drm_auth.h... yes
  42. checking for drm/drm_irq.h... yes
  43. checking for drm/drm_connector.h... yes
  44. checking for drm/drm_encoder.h... yes
  45. checking for drm/drm_plane.h... yes
  46. checking for drm/drm_print.h... yes
  47. checking for drm/drm_drv.h... yes
  48. checking for drm/drm_file.h... yes
  49. checking for drm/drm_debugfs.h... yes
  50. checking for drm/drm_ioctl.h... yes
  51. checking for drm/drm_vblank.h... yes
  52. checking for drm/drm_device.h... yes
  53. checking for drm/drm_gem_framebuffer_helper.h... yes
  54. checking for drm/drm_hdcp.h... yes
  55. checking for drm/drm_audio_component.h... yes
  56. checking for drm/drm_util.h... yes
  57. checking for drm/drm_atomic_uapi.h... yes
  58. checking for drm/drm_probe_helper.h... yes
  59. checking for drm/drmP.h... no
  60. checking for drm/task_barrier.h... yes
  61. checking for drm/drm_managed.h... yes
  62. checking for drm/drm_gem_ttm_helper.h... yes
  63. checking for module configuration... done
  64. configure: creating ./config.status
  65. config.status: creating config/config.h
  66.  
  67. Building module:
  68. cleaning build area...(bad exit status: 2)
  69. make -j24 KERNELRELEASE=5.12.0 -j24 TTM_NAME=amdttm SCHED_NAME=amd-sched -C /lib/modules/5.12.0/build M=/var/lib/dkms/amdgpu/4.3-59.el7/build...(bad exit status: 2)
  70. Error! Bad return status for module build on kernel: 5.12.0 (x86_64)
  71. Consult /var/lib/dkms/amdgpu/4.3-59.el7/build/make.log for more information.
  72.  
  73.  
  74.  
  75. [siudin ~/local/kernel-externals] cat /var/lib/dkms/amdgpu/4.3-59.el7/build/make.log
  76. DKMS make.log for amdgpu-4.3-59.el7 for kernel 5.12.0 (x86_64)
  77. Wed Oct 27 16:02:25 PDT 2021
  78. make: Entering directory '/usr/src/kernels/5.12.0
  79. /var/lib/dkms/amdgpu/4.3-59.el7/build/Makefile:26: "Local GCC version 80505 does not match kernel compiler GCC version 80500"
  80. /var/lib/dkms/amdgpu/4.3-59.el7/build/Makefile:27: "This may cause unexpected and hard-to-isolate compiler-related issues"
  81. CC [M] /var/lib/dkms/amdgpu/4.3-59.el7/build/scheduler/sched_main.o
  82. CC [M] /var/lib/dkms/amdgpu/4.3-59.el7/build/scheduler/sched_fence.o
  83. gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
  84. compilation terminated.
  85. CC [M] /var/lib/dkms/amdgpu/4.3-59.el7/build/scheduler/sched_entity.o
  86. make[2]: *** [scripts/Makefile.build:272: /var/lib/dkms/amdgpu/4.3-59.el7/build/scheduler/sched_main.o] Error 1
  87. make[2]: *** Waiting for unfinished jobs....
  88. gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
  89. compilation terminated.
  90. make[2]: *** [scripts/Makefile.build:272: /var/lib/dkms/amdgpu/4.3-59.el7/build/scheduler/sched_fence.o] Error 1
  91. gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
  92. compilation terminated.
  93. make[2]: *** [scripts/Makefile.build:272: /var/lib/dkms/amdgpu/4.3-59.el7/build/scheduler/sched_entity.o] Error 1
  94. CC [M] /var/lib/dkms/amdgpu/4.3-59.el7/build/ttm/ttm_tt.o
  95. make[1]: *** [scripts/Makefile.build:515: /var/lib/dkms/amdgpu/4.3-59.el7/build/scheduler] Error 2
  96. make[1]: *** Waiting for unfinished jobs....
  97. CC [M] /var/lib/dkms/amdgpu/4.3-59.el7/build/amd/amdkcl/main.o
  98. CC [M] /var/lib/dkms/amdgpu/4.3-59.el7/build/ttm/ttm_bo.o
  99. gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
  100. compilation terminated.
  101. CC [M] /var/lib/dkms/amdgpu/4.3-59.el7/build/amd/amdkcl/symbols.o
  102. CC [M] /var/lib/dkms/amdgpu/4.3-59.el7/build/ttm/ttm_bo_util.o
  103. gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
  104. compilation terminated.
  105. make[2]: *** [scripts/Makefile.build:272: /var/lib/dkms/amdgpu/4.3-59.el7/build/ttm/ttm_tt.o] Error 1
  106. CC [M] /var/lib/dkms/amdgpu/4.3-59.el7/build/amd/amdkcl/kcl_common.o
  107. make[2]: *** Waiting for unfinished jobs....
  108. gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
  109. compilation terminated.
  110. make[2]: *** [scripts/Makefile.build:272: /var/lib/dkms/amdgpu/4.3-59.el7/build/ttm/ttm_bo.o] Error 1
  111. make[2]: *** [scripts/Makefile.build:272: /var/lib/dkms/amdgpu/4.3-59.el7/build/amd/amdkcl/main.o] Error 1
  112. make[2]: *** Waiting for unfinished jobs....
  113. CC [M] /var/lib/dkms/amdgpu/4.3-59.el7/build/ttm/ttm_bo_vm.o
  114. CC [M] /var/lib/dkms/amdgpu/4.3-59.el7/build/amd/amdkcl/kcl_kernel_params.o
  115. gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
  116. compilation terminated.
  117. gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
  118. compilation terminated.
  119. gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
  120. compilation terminated.
  121. make[2]: *** [scripts/Makefile.build:272: /var/lib/dkms/amdgpu/4.3-59.el7/build/amd/amdkcl/kcl_common.o] Error 1
  122. make[2]: *** [scripts/Makefile.build:272: /var/lib/dkms/amdgpu/4.3-59.el7/build/ttm/ttm_bo_util.o] Error 1
  123. make[2]: *** [scripts/Makefile.build:272: /var/lib/dkms/amdgpu/4.3-59.el7/build/amd/amdkcl/symbols.o] Error 1
  124. gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
  125. compilation terminated.
  126. make[2]: *** [scripts/Makefile.build:272: /var/lib/dkms/amdgpu/4.3-59.el7/build/ttm/ttm_bo_vm.o] Error 1
  127. gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
  128. compilation terminated.
  129. make[1]: *** [scripts/Makefile.build:515: /var/lib/dkms/amdgpu/4.3-59.el7/build/ttm] Error 2
  130. make[2]: *** [scripts/Makefile.build:272: /var/lib/dkms/amdgpu/4.3-59.el7/build/amd/amdkcl/kcl_kernel_params.o] Error 1
  131. make[1]: *** [scripts/Makefile.build:515: /var/lib/dkms/amdgpu/4.3-59.el7/build/amd/amdkcl] Error 2
  132. CC [M] /var/lib/dkms/amdgpu/4.3-59.el7/build/amd/amdgpu/amdgpu_drv.o
  133. CC [M] /var/lib/dkms/amdgpu/4.3-59.el7/build/amd/amdgpu/amdgpu_device.o
  134. gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
  135. compilation terminated.
  136. make[2]: *** [scripts/Makefile.build:272: /var/lib/dkms/amdgpu/4.3-59.el7/build/amd/amdgpu/amdgpu_drv.o] Error 1
  137. make[2]: *** Waiting for unfinished jobs....
  138. CC [M] /var/lib/dkms/amdgpu/4.3-59.el7/build/amd/amdgpu/amdgpu_kms.o
  139. gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
  140. compilation terminated.
  141. make[2]: *** [scripts/Makefile.build:272: /var/lib/dkms/amdgpu/4.3-59.el7/build/amd/amdgpu/amdgpu_device.o] Error 1
  142. gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
  143. compilation terminated.
  144. make[2]: *** [scripts/Makefile.build:272: /var/lib/dkms/amdgpu/4.3-59.el7/build/amd/amdgpu/amdgpu_kms.o] Error 1
  145. make[1]: *** [scripts/Makefile.build:515: /var/lib/dkms/amdgpu/4.3-59.el7/build/amd/amdgpu] Error 2
  146. make: *** [Makefile:1879: /var/lib/dkms/amdgpu/4.3-59.el7/build] Error 2
  147. make: Leaving directory '/usr/src/kernels/5.12.0'
  148.  
Advertisement
Add Comment
Please, Sign In to add comment