Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/mesa3d: radeonsi needs wchar
@ 2026-10-25 13:15 Bernd Kuhls
  2026-10-25 20:42 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2026-10-25 13:15 UTC (permalink / raw)
  To: buildroot; +Cc: Joseph Kogut, Romain Naour

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

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 package/mesa3d/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/mesa3d/Config.in b/package/mesa3d/Config.in
index d1b6a38858..7fafc598ea 100644
--- a/package/mesa3d/Config.in
+++ b/package/mesa3d/Config.in
@@ -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
-- 
2.47.3

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/mesa3d: radeonsi needs wchar
  2026-10-25 13:15 [Buildroot] [PATCH 1/1] package/mesa3d: radeonsi needs wchar Bernd Kuhls
@ 2026-10-25 20:42 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-10-25 20:42 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: buildroot, Joseph Kogut, Romain Naour

On Sun, Oct 25, 2026 at 02:15:31PM +0100, Bernd Kuhls wrote:
> 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])
> 
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>

I've added a Config.in comment, and applied. Thanks!

Best regards,

Thomas Petazzoni
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-10-25 20:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-25 13:15 [Buildroot] [PATCH 1/1] package/mesa3d: radeonsi needs wchar Bernd Kuhls
2026-10-25 20:42 ` Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox