Hello

Uwe Kleine-König <uklei...@debian.org> writes:
...
I think you can also disable some config item and then pahole isn't needed. Anyhow, you seem to cope, that's fine.

Need some more time for the next steps.

That's expected, I'm not holding my breath :-) Thanks for going through that even though it's time-consuming. Just report back when (and if) you're through.

I ran into problems at "stage" 10 (after creating and testing 9 kernels) like these:

make -j16 my_defconfig bindeb-pkg
#
# No change to .config
#
 GEN     debian
dpkg-buildpackage --build=binary --no-pre-clean --unsigned-changes -R'make -f debian/rules' -j1 -a$(cat debian/arch)
dpkg-buildpackage: info: source package linux-upstream
dpkg-buildpackage: info: source version 6.10.0-rc6-02741-g722e96c99f1d-11
dpkg-buildpackage: info: source distribution trixie
dpkg-buildpackage: info: source changed by Dieter Faulbaum <die...@faulbaum.in-berlin.de>
dpkg-buildpackage: info: host architecture amd64
dpkg-source --before-build .
make -f debian/rules binary
#
# No change to .config
#
mkdir -p /home/dieter/tmp/linux/tools/objtool && make O=/home/dieter/tmp/linux subdir=tools/objtool --no-print-directory -C objtool mkdir -p /home/dieter/tmp/linux/tools/bpf/resolve_btfids && make O=/home/dieter/tmp/linux subdir=tools/bpf/resolve_btfids --no-print-directory -C bpf/resolve_btfids INSTALL libsubcmd_headers
 INSTALL libsubcmd_headers
 CALL    scripts/checksyscalls.sh
 UPD     init/utsversion-tmp.h
 CC      init/version.o
 AR      init/built-in.a
 CC [M]  drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_queue.o
CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager_cik.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager_vi.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager_v9.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager_v10.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager_v11.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_device_queue_manager_v12.o
 CC [M]  drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_interrupt.o
 CC [M]  drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_events.o
CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/cik_event_interrupt.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_int_process_v9.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_int_process_v10.o CC [M] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_int_process_v11.o
 CC [M]  drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_smi_events.o
 CC [M]  drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_crat.o
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_queue.c: In function ‘kfd_queue_buffer_svm_get’: drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_queue.c:108:26: error: implicit declaration of function ‘svm_range_from_addr’ [-Wimplicit-function-declaration] 108 | prange = svm_range_from_addr(&p->svms, addr, NULL);
     |                          ^~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_queue.c:108:24: error: assignment to ‘struct svm_range *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 108 | prange = svm_range_from_addr(&p->svms, addr, NULL);
     |                        ^
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_queue.c:112:28: error: invalid use of undefined type ‘struct svm_range’
 112 |                 if (!prange->mapped_to_gpu)
     |                            ^~
In file included from ./include/linux/kernel.h:23,
                from ./include/linux/cpumask.h:11,
                from ./arch/x86/include/asm/paravirt.h:21,
                from ./arch/x86/include/asm/irqflags.h:60,
                from ./include/linux/irqflags.h:18,
                from ./include/linux/spinlock.h:59,
                from ./include/linux/mmzone.h:8,
                from ./include/linux/gfp.h:7,
                from ./include/linux/slab.h:16,
from drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_queue.c:25: drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_queue.c:118:45: error: invalid use of undefined type ‘struct svm_range’ 118 | if (!test_bit(gpuidx, prange->bitmap_access) &&
     |                                             ^~
./include/linux/bitops.h:45:44: note: in definition of macro ‘bitop’ 45 | __builtin_constant_p((uintptr_t)(addr) != (uintptr_t)NULL) && \
     |                                            ^~~~
drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_queue.c:118:22: note: in expansion of macro ‘test_bit’ 118 | if (!test_bit(gpuidx, prange->bitmap_access) &&
     |                      ^~~~~~~~

There are more errors similar to these (is the full output needed?)
Any idea what I can do (better)?

With regards
Dieter

Reply via email to