Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/4] package/snort3: needs gcc >= 8
@ 2026-09-08 21:32 Bernd Kuhls
  2026-09-08 21:32 ` [Buildroot] [PATCH 2/4] package/snort3: fix build error with numa support Bernd Kuhls
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Bernd Kuhls @ 2026-09-08 21:32 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine

Buildroot commit 5e78c6cf3323b4a45f84bcbc504f511dd268e270 bumped the
package to version 3.11.1.0 which first included upstream commit
https://github.com/snort3/snort3/commit/a8484408d181aad8e78b0b1e44a5bc05206a44ae

which makes use of '#include <filesystem>' that requires gcc >= 8.

Fixes build error found by the Gitlab autobuilders with defconfig
bootlin-aarch64-glibc-old which occured after removing ' = 0' from
src/main/snort.h, line 72, which fixed a previous build error:

output/build/snort3-3.12.2.0/src/flow/dump_flows.cc:26:22:
 fatal error: filesystem: No such file or directory
 #include <filesystem>

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
Series passed Gitlab pipelines:
https://gitlab.com/bkuhls/buildroot/-/commits/f4cb6546911bbbad6d372ec48f2ea849497f870d

 package/snort3/Config.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/snort3/Config.in b/package/snort3/Config.in
index 4680b13a4d..9958199ba7 100644
--- a/package/snort3/Config.in
+++ b/package/snort3/Config.in
@@ -5,7 +5,7 @@ config BR2_PACKAGE_SNORT3
 	depends on BR2_USE_MMU # fork()
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on !BR2_STATIC_LIBS # daq3
-	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++11
+	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # C++17 filesystem
 	depends on BR2_TOOLCHAIN_HAS_THREADS # daq3, hwloc
 	depends on BR2_USE_WCHAR
 	select BR2_PACKAGE_DAQ3
@@ -34,10 +34,10 @@ config BR2_PACKAGE_SNORT3
 
 	  https://www.snort.org/snort3
 
-comment "snort3 needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 4.9"
+comment "snort3 needs a toolchain w/ C++, wchar, threads, dynamic library, gcc >= 8"
 	depends on !BR2_PACKAGE_LUA
 	depends on BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS
 	depends on BR2_USE_MMU
 	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
 		BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \
-		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
+		!BR2_TOOLCHAIN_GCC_AT_LEAST_8
-- 
2.47.3

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

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

end of thread, other threads:[~2026-09-16 19:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-08 21:32 [Buildroot] [PATCH 1/4] package/snort3: needs gcc >= 8 Bernd Kuhls
2026-09-08 21:32 ` [Buildroot] [PATCH 2/4] package/snort3: fix build error with numa support Bernd Kuhls
2026-09-16 19:04   ` Thomas Petazzoni via buildroot
2026-09-08 21:32 ` [Buildroot] [PATCH 3/4] package/daq3: bump version to 3.0.27 Bernd Kuhls
2026-09-08 21:32 ` [Buildroot] [PATCH 4/4] package/snort3: bump version to 3.12.2.0 Bernd Kuhls
2026-09-16 19:03 ` [Buildroot] [PATCH 1/4] package/snort3: needs gcc >= 8 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