Skip to contentSkip to conversation

package/ebtables: disable sparc64 target

Buildroot Arnout Vandecappelle via buildroot 1 participant 1 message Oct 22, 2025

lore
Share & tools
lore
#0 lore raw

commit: https://git.buildroot.net/buildroot/commit/?id=f03637d2be9ab7aaf09efd48a147841c559dab7b
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2025.02.x

Commit c5d6cde7b627 ("package/ebtables: remove KERNEL_64_USERSPACE_32 workaround") fixed build with GCC 14 for when Buildroot BR2_KERNEL_64_USERLAND_32 is enabled. However, ebtables configure script enables its own KERNEL_64_USERSPACE_32 macro unconditionally for sparc64 target, which triggers a similar build failure. See [1].

Disable sparc64 target for ebtables and its reverse dependency to avoid build failure.

Fixes:
https://autobuild.buildroot.net/results/9a2510e0038cd13db8c3aac0122ea7a0f834fcd2/

[1] https://git.netfilter.org/ebtables/tree/configure.ac?h=ebtables-2.0.11#n20

[Julien: add link to upstream script enabling KERNEL_64_USERSPACE_32]
(cherry picked from commit 0549ed0ed1ce7b0b107ac7bd50ccf0496cf8172f)
---
 package/ebtables/Config.in | 1 +
 package/libvirt/Config.in  | 1 +
 2 files changed, 2 insertions(+)
package/ebtables/Config.in +1 -0
index ce5f67bc61..83337feec6 100644
@@ -3,6 +3,7 @@ config BR2_PACKAGE_EBTABLES
 	depends on BR2_USE_MMU # fork()
 	# https://lore.kernel.org/all/[email protected]/
 	depends on !BR2_KERNEL_64_USERLAND_32
+	depends on !BR2_sparc64 # int-conversion error
 	help
 	  Ethernet bridge frame table administration
 
package/libvirt/Config.in +1 -0
index c55ab429eb..5664f69dd8 100644
@@ -46,6 +46,7 @@ config BR2_PACKAGE_LIBVIRT_DAEMON
 	default y
 	depends on BR2_INSTALL_LIBSTDCPP # nmap
 	depends on !BR2_KERNEL_64_USERLAND_32 # ebtables
+	depends on !BR2_sparc64 # ebtables
 	depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS # radvd -> libbsd
 	select BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
 	select BR2_PACKAGE_DNSMASQ

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot