Regarding: https://bugzilla.kernel.org/show_bug.cgi?id=218445
CC [M] drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp1_execution.o
CC [M] drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp1_transition.o
CC [M] drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp2_execution.o
CC [M] drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp2_transition.o
LD [M] drivers/gpu/drm/amd/amdgpu/amdgpu.o
MODPOST Module.symvers
ERROR: modpost: "sched_numa_hop_mask"
[drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.ko] undefined!
make[2]: *** [scripts/Makefile.modpost:145: Module.symvers] Error 1
make[1]: *** [/usr/src/linux-6.7.3-gentoo/Makefile:1863: modpost] Error 2
make: *** [Makefile:234: __sub-make] Error 2
[also Cc: mellanox maintainers]
On Fri, Feb 02, 2024 at 08:55:47AM +0100, Michał Jakubowski wrote:
> Regarding: https://bugzilla.kernel.org/show_bug.cgi?id=218445
>
> CC [M] drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp1_execution.o
> CC [M] drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp1_transition.o
> CC [M] drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp2_execution.o
> CC [M] drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp2_transition.o
> LD [M] drivers/gpu/drm/amd/amdgpu/amdgpu.o
> MODPOST Module.symvers
> ERROR: modpost: "sched_numa_hop_mask"
> [drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.ko] undefined!
> make[2]: *** [scripts/Makefile.modpost:145: Module.symvers] Error 1
> make[1]: *** [/usr/src/linux-6.7.3-gentoo/Makefile:1863: modpost] Error 2
> make: *** [Makefile:234: __sub-make] Error 2
Do you have above build failure on vanilla v6.7.3? Can you also check current
mainline (v6.8-rc2)?
Thanks.
--
An old man doll... just what I always wanted! - Clara
On Fri, 2 Feb 2024 20:39:14 +0700, Bagas Sanjaya wrote:
> [also Cc: mellanox maintainers]
>
> On Fri, Feb 02, 2024 at 08:55:47AM +0100, Michał Jakubowski wrote:
>> Regarding: https://bugzilla.kernel.org/show_bug.cgi?id=218445
>>
>> CC [M] drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp1_execution.o
>> CC [M] drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp1_transition.o
>> CC [M] drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp2_execution.o
>> CC [M] drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp2_transition.o
>> LD [M] drivers/gpu/drm/amd/amdgpu/amdgpu.o
>> MODPOST Module.symvers
>> ERROR: modpost: "sched_numa_hop_mask"
>> [drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.ko] undefined!
>> make[2]: *** [scripts/Makefile.modpost:145: Module.symvers] Error 1
>> make[1]: *** [/usr/src/linux-6.7.3-gentoo/Makefile:1863: modpost] Error 2
>> make: *** [Makefile:234: __sub-make] Error 2
>
> Do you have above build failure on vanilla v6.7.3? Can you also check current
> mainline (v6.8-rc2)?
No need to investigate further, this is caused by an additional non-mainline
patch that has nothing to do with the mellanox driver.
-h
[restoring original address list. Please remember to keep it intact
when replying.]
On Fri, Feb 02, 2024 at 03:12:17PM +0100, Michał Jakubowski wrote:
> On vanilla 6.7.3 and git 6.8-rc2 is the same
>
> CC [M] drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp1_execution.o
> CC [M] drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp1_transition.o
> CC [M] drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp2_execution.o
> CC [M] drivers/gpu/drm/amd/amdgpu/../display/modules/hdcp/hdcp2_transition.o
> LD [M] drivers/gpu/drm/amd/amdgpu/amdgpu.o
> AR drivers/gpu/built-in.a
> AR drivers/built-in.a
> make[1]: *** [/usr/src/linux-6.8-rc2/Makefile:1921: .] Error 2
> make: *** [Makefile:240: __sub-make] Error 2
Hi Michał,
I can't reproduce the build failure on my Arch Linux system (gcc 13.2,
binutils 2.41) with defconfig + CONFIG_MLX5_*. Can you attach full build log
(preferably with V=1) and the .config used to bugzilla? And also, what is your
gcc and binutils version?
Thanks.
--
An old man doll... just what I always wanted! - Clara