Skip to contentSkip to conversation

package/mesa3d: radeonsi needs wchar

PATCH Applied Bernd Kuhls 2 participants 3 messages Oct 25 – Oct 30

lore
Share & tools
lore
#0 lore raw

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
index d1b6a38858..7fafc598ea 100644
@@ -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
#1 lore raw
Quoted 8 lines · Bernd Kuhls

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.

Quoted 8 lines

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])

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
#2 lore raw
In reply to Bernd Kuhls

In reply of:

Quoted 8 lines

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.

Quoted 8 lines

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])

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
index d1b6a38858..7fafc598ea 100644

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