From: Bernd Kuhls <bernd@kuhls.net>
To: buildroot@buildroot.org
Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Subject: [Buildroot] [PATCH 1/4] package/snort3: needs gcc >= 8
Date: Tue, 8 Sep 2026 23:32:28 +0200 [thread overview]
Message-ID: <20260908213231.2542239-1-bernd@kuhls.net> (raw)
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
next reply other threads:[~2026-09-08 21:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-08 21:32 Bernd Kuhls [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260908213231.2542239-1-bernd@kuhls.net \
--to=bernd@kuhls.net \
--cc=buildroot@buildroot.org \
--cc=fontaine.fabrice@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox