package/mesa3d: radeonsi needs wchar
PATCH 1/1 package/mesa3d: radeonsi needs wchar
BR2_PACKAGE_MESA3D_LLVM depends on BR2_USE_WCHAR, so does BR2_PACKAGE_ELFUTILS.
Buildroot commit a24698054b4cf6c994c91d49513bbe5e7b270201 removed the dependency to BR2_PACKAGE_MESA3D_LLVM from the radeonsi driver but forgot to propagate the dependency to BR2_USE_WCHAR needed by elfutils which still is a dependency for the radeonsi driver.
Fixes Kconfig warning:
WARNING: unmet direct dependencies detected for BR2_PACKAGE_ELFUTILS
Depends on [n]: BR2_USE_WCHAR [=n] && !BR2_STATIC_LIBS [=n] && BR2_TOOLCHAIN_HAS_THREADS [=y]
Selected by [y]:
- BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI [=y] && BR2_PACKAGE_MESA3D [=y] && BR2_USE_MMU [=y] && (BR2_i386 [=n] || BR2_x86_64 [=y])
--- package/mesa3d/Config.in | 1 + 1 file changed, 1 insertion(+)
package/mesa3d/Config.in +1 -0
@@ -253,6 +253,7 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI bool "Gallium Radeon SI driver" depends on BR2_USE_MMU # libdrm depends on BR2_i386 || BR2_x86_64 + depends on BR2_USE_WCHAR # elfutils select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER select BR2_PACKAGE_MESA3D_GALLIUM_VA_SUPPORTED_DRIVER select BR2_PACKAGE_MESA3D_HOST_NATIVE_CONTEXT_SUPPORTED_DRIVER
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 8 lines · Bernd Kuhls
BR2_PACKAGE_MESA3D_LLVMdepends onBR2_USE_WCHAR, so doesBR2_PACKAGE_ELFUTILS.Buildroot commit
a24698054b4cf6c994c91d49513bbe5e7b270201removed the dependency toBR2_PACKAGE_MESA3D_LLVMfrom the radeonsi driver but forgot to propagate the dependency toBR2_USE_WCHARneeded by elfutils which still is a dependency for the radeonsi driver.
Quoted 8 lines
Fixes
Kconfigwarning:WARNING: unmet direct dependencies detected for
BR2_PACKAGE_ELFUTILS
Depends on [n]:BR2_USE_WCHAR[=n] && !BR2_STATIC_LIBS [=n] &&BR2_TOOLCHAIN_HAS_THREADS[=y]
Selected by [y]:
-BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI[=y] &&BR2_PACKAGE_MESA3D[=y] &&BR2_USE_MMU[=y] && (BR2_i386[=n] ||BR2_x86_64[=y])Signed-off-by Bernd Kuhls <[email protected]>
I've added a Config.in comment, and applied. Thanks!
Best regards,
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Raphaël Mélotte via buildroot
AppliedIn reply of:
Quoted 8 lines
BR2_PACKAGE_MESA3D_LLVMdepends onBR2_USE_WCHAR, so doesBR2_PACKAGE_ELFUTILS.Buildroot commit
a24698054b4cf6c994c91d49513bbe5e7b270201removed the dependency toBR2_PACKAGE_MESA3D_LLVMfrom the radeonsi driver but forgot to propagate the dependency toBR2_USE_WCHARneeded by elfutils which still is a dependency for the radeonsi driver.
Quoted 8 lines
Fixes
Kconfigwarning:WARNING: unmet direct dependencies detected for
BR2_PACKAGE_ELFUTILS
Depends on [n]:BR2_USE_WCHAR[=n] && !BR2_STATIC_LIBS [=n] &&BR2_TOOLCHAIN_HAS_THREADS[=y]
Selected by [y]:
-BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI[=y] &&BR2_PACKAGE_MESA3D[=y] &&BR2_USE_MMU[=y] && (BR2_i386[=n] ||BR2_x86_64[=y])Signed-off-by Bernd Kuhls <[email protected]>
Applied to 2026.08.x. Thanks
Quoted 9 lines
--- package/mesa3d/Config.in | 1 + 1 file changed, 1 insertion(+)package/mesa3d/Config.in +0
-0
package/mesa3d/Config.in config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI · line 259
Quoted 7 lines
package/mesa3d/Config.in +1
-0@@ -253,6 +253,7 @@ config BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_RADEONSI bool "Gallium Radeon SI driver" depends on BR2_USE_MMU # libdrm depends on BR2_i386 || BR2_x86_64 + depends on BR2_USE_WCHAR # elfutils select BR2_PACKAGE_MESA3D_GALLIUM_DRIVER select BR2_PACKAGE_MESA3D_GALLIUM_VA_SUPPORTED_DRIVER select BR2_PACKAGE_MESA3D_HOST_NATIVE_CONTEXT_SUPPORTED_DRIVER
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot