Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [~/local/kernel-externals] sudo dkms build -m amdgpu -v 4.3-59.el7 -k 5.12.0
- Kernel preparation unnecessary for this kernel. Skipping...
- Running the pre_build script:
- checking for a BSD-compatible install... /bin/install -c
- checking for gcc... gcc
- checking whether the C compiler works... yes
- checking for C compiler default output file name... a.out
- checking for suffix of executables...
- checking whether we are cross compiling... no
- checking for suffix of object files... o
- checking whether we are using the GNU C compiler... yes
- checking whether gcc accepts -g... yes
- checking for gcc option to accept ISO C89... none needed
- checking how to run the C preprocessor... gcc -E
- checking kernel source directory... /usr/src/kernels/5.12.0
- checking kernel build directory... /usr/src/kernels/5.12.0
- checking kernel source version... 5.12.0
- checking kernel file name for module symbols... Module.symvers
- checking for linux/overflow.h... yes
- checking for linux/sched/mm.h... yes
- checking for linux/sched/task.h... yes
- checking for linux/sched/signal.h... yes
- checking for linux/nospec.h... yes
- checking for linux/bits.h... yes
- checking for linux/io-64-nonatomic-lo-hi.h... yes
- checking for asm/set_memory.h... yes
- checking for asm/fpu/api.h... yes
- checking for uapi/linux/sched/types.h... yes
- checking for linux/compiler_attributes.h... yes
- checking for linux/dma-fence.h... yes
- checking for linux/dma-resv.h... yes
- checking for linux/mmap_lock.h... yes
- checking for linux/pci-p2pdma.h... yes
- checking for linux/dma-attrs.h... no
- checking for linux/mem_encrypt.h... yes
- checking for linux/dma-buf-map.h... yes
- checking for drm/drm_backport.h... no
- checking for drm/amdgpu_pciid.h... no
- checking for drm/drm_auth.h... yes
- checking for drm/drm_irq.h... yes
- checking for drm/drm_connector.h... yes
- checking for drm/drm_encoder.h... yes
- checking for drm/drm_plane.h... yes
- checking for drm/drm_print.h... yes
- checking for drm/drm_drv.h... yes
- checking for drm/drm_file.h... yes
- checking for drm/drm_debugfs.h... yes
- checking for drm/drm_ioctl.h... yes
- checking for drm/drm_vblank.h... yes
- checking for drm/drm_device.h... yes
- checking for drm/drm_gem_framebuffer_helper.h... yes
- checking for drm/drm_hdcp.h... yes
- checking for drm/drm_audio_component.h... yes
- checking for drm/drm_util.h... yes
- checking for drm/drm_atomic_uapi.h... yes
- checking for drm/drm_probe_helper.h... yes
- checking for drm/drmP.h... no
- checking for drm/task_barrier.h... yes
- checking for drm/drm_managed.h... yes
- checking for drm/drm_gem_ttm_helper.h... yes
- checking for module configuration... done
- configure: creating ./config.status
- config.status: creating config/config.h
- Building module:
- cleaning build area...(bad exit status: 2)
- 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)
- Error! Bad return status for module build on kernel: 5.12.0 (x86_64)
- Consult /var/lib/dkms/amdgpu/4.3-59.el7/build/make.log for more information.
- [siudin ~/local/kernel-externals] cat /var/lib/dkms/amdgpu/4.3-59.el7/build/make.log
- DKMS make.log for amdgpu-4.3-59.el7 for kernel 5.12.0 (x86_64)
- Wed Oct 27 16:02:25 PDT 2021
- make: Entering directory '/usr/src/kernels/5.12.0
- /var/lib/dkms/amdgpu/4.3-59.el7/build/Makefile:26: "Local GCC version 80505 does not match kernel compiler GCC version 80500"
- /var/lib/dkms/amdgpu/4.3-59.el7/build/Makefile:27: "This may cause unexpected and hard-to-isolate compiler-related issues"
- CC [M] /var/lib/dkms/amdgpu/4.3-59.el7/build/scheduler/sched_main.o
- CC [M] /var/lib/dkms/amdgpu/4.3-59.el7/build/scheduler/sched_fence.o
- gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
- compilation terminated.
- CC [M] /var/lib/dkms/amdgpu/4.3-59.el7/build/scheduler/sched_entity.o
- make[2]: *** [scripts/Makefile.build:272: /var/lib/dkms/amdgpu/4.3-59.el7/build/scheduler/sched_main.o] Error 1
- make[2]: *** Waiting for unfinished jobs....
- gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
- compilation terminated.
- make[2]: *** [scripts/Makefile.build:272: /var/lib/dkms/amdgpu/4.3-59.el7/build/scheduler/sched_fence.o] Error 1
- gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
- compilation terminated.
- make[2]: *** [scripts/Makefile.build:272: /var/lib/dkms/amdgpu/4.3-59.el7/build/scheduler/sched_entity.o] Error 1
- CC [M] /var/lib/dkms/amdgpu/4.3-59.el7/build/ttm/ttm_tt.o
- make[1]: *** [scripts/Makefile.build:515: /var/lib/dkms/amdgpu/4.3-59.el7/build/scheduler] Error 2
- make[1]: *** Waiting for unfinished jobs....
- CC [M] /var/lib/dkms/amdgpu/4.3-59.el7/build/amd/amdkcl/main.o
- CC [M] /var/lib/dkms/amdgpu/4.3-59.el7/build/ttm/ttm_bo.o
- gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
- compilation terminated.
- CC [M] /var/lib/dkms/amdgpu/4.3-59.el7/build/amd/amdkcl/symbols.o
- CC [M] /var/lib/dkms/amdgpu/4.3-59.el7/build/ttm/ttm_bo_util.o
- gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
- compilation terminated.
- make[2]: *** [scripts/Makefile.build:272: /var/lib/dkms/amdgpu/4.3-59.el7/build/ttm/ttm_tt.o] Error 1
- CC [M] /var/lib/dkms/amdgpu/4.3-59.el7/build/amd/amdkcl/kcl_common.o
- make[2]: *** Waiting for unfinished jobs....
- gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
- compilation terminated.
- make[2]: *** [scripts/Makefile.build:272: /var/lib/dkms/amdgpu/4.3-59.el7/build/ttm/ttm_bo.o] Error 1
- make[2]: *** [scripts/Makefile.build:272: /var/lib/dkms/amdgpu/4.3-59.el7/build/amd/amdkcl/main.o] Error 1
- make[2]: *** Waiting for unfinished jobs....
- CC [M] /var/lib/dkms/amdgpu/4.3-59.el7/build/ttm/ttm_bo_vm.o
- CC [M] /var/lib/dkms/amdgpu/4.3-59.el7/build/amd/amdkcl/kcl_kernel_params.o
- gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
- compilation terminated.
- gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
- compilation terminated.
- gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
- compilation terminated.
- make[2]: *** [scripts/Makefile.build:272: /var/lib/dkms/amdgpu/4.3-59.el7/build/amd/amdkcl/kcl_common.o] Error 1
- make[2]: *** [scripts/Makefile.build:272: /var/lib/dkms/amdgpu/4.3-59.el7/build/ttm/ttm_bo_util.o] Error 1
- make[2]: *** [scripts/Makefile.build:272: /var/lib/dkms/amdgpu/4.3-59.el7/build/amd/amdkcl/symbols.o] Error 1
- gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
- compilation terminated.
- make[2]: *** [scripts/Makefile.build:272: /var/lib/dkms/amdgpu/4.3-59.el7/build/ttm/ttm_bo_vm.o] Error 1
- gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
- compilation terminated.
- make[1]: *** [scripts/Makefile.build:515: /var/lib/dkms/amdgpu/4.3-59.el7/build/ttm] Error 2
- make[2]: *** [scripts/Makefile.build:272: /var/lib/dkms/amdgpu/4.3-59.el7/build/amd/amdkcl/kcl_kernel_params.o] Error 1
- make[1]: *** [scripts/Makefile.build:515: /var/lib/dkms/amdgpu/4.3-59.el7/build/amd/amdkcl] Error 2
- CC [M] /var/lib/dkms/amdgpu/4.3-59.el7/build/amd/amdgpu/amdgpu_drv.o
- CC [M] /var/lib/dkms/amdgpu/4.3-59.el7/build/amd/amdgpu/amdgpu_device.o
- gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
- compilation terminated.
- make[2]: *** [scripts/Makefile.build:272: /var/lib/dkms/amdgpu/4.3-59.el7/build/amd/amdgpu/amdgpu_drv.o] Error 1
- make[2]: *** Waiting for unfinished jobs....
- CC [M] /var/lib/dkms/amdgpu/4.3-59.el7/build/amd/amdgpu/amdgpu_kms.o
- gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
- compilation terminated.
- make[2]: *** [scripts/Makefile.build:272: /var/lib/dkms/amdgpu/4.3-59.el7/build/amd/amdgpu/amdgpu_device.o] Error 1
- gcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
- compilation terminated.
- make[2]: *** [scripts/Makefile.build:272: /var/lib/dkms/amdgpu/4.3-59.el7/build/amd/amdgpu/amdgpu_kms.o] Error 1
- make[1]: *** [scripts/Makefile.build:515: /var/lib/dkms/amdgpu/4.3-59.el7/build/amd/amdgpu] Error 2
- make: *** [Makefile:1879: /var/lib/dkms/amdgpu/4.3-59.el7/build] Error 2
- make: Leaving directory '/usr/src/kernels/5.12.0'
Advertisement
Add Comment
Please, Sign In to add comment