package/nnn: add BR2_TOOLCHAIN_HAS_THREADS dependency
PATCH 1/1 package/nnn: add BR2_TOOLCHAIN_HAS_THREADS dependency
nnn links against pthread. Specify the dependency to avoid unexpected build failures on toolchains lacking thread support (e.g. br-arm-full-nothread).
--- package/nnn/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
package/nnn/Config.in +3 -2
@@ -1,6 +1,7 @@ config BR2_PACKAGE_NNN bool "nnn" depends on BR2_USE_MMU # fork + depends on BR2_TOOLCHAIN_HAS_THREADS # Building nnn without widechar/UTF support is theoretically # possible, but in practice it leads to unstable builds. # That’s why the WCHAR dependency is here.
@@ -15,6 +16,6 @@ config BR2_PACKAGE_NNN https://github.com/jarun/nnn -comment "nnn needs a toolchain with wchar" +comment "nnn needs a toolchain with wchar, threads" depends on BR2_USE_MMU # fork - depends on !BR2_USE_WCHAR + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 6 lines
2.55.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hello Alexander,
Quoted 5 lines · Alexander Shirokov
nnn links against pthread. Specify the dependency to avoid unexpected build failures on toolchains lacking thread support (e.g. br-arm-full-nothread).
Signed-off-by Alexander Shirokov <[email protected]>
Thanks for your updated patch. However, a patch fixing an issue must indicate when the issue was introduced. Is it since package/nnn was introduced? Due to a subsequent version bump of nnn?
Ideally, we like to have:
This helps the maintainers of Buildroot LTS branches in figuring out whether the patch needs to be backported or not.
Thanks!
Thomas
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
PATCH v2 1/1 package/nnn: add BR2_TOOLCHAIN_HAS_THREADS dependency
nnn links against pthread. Specify the dependency to avoid unexpected build failures on toolchains lacking thread support (e.g. br-arm-full-nothread).
--- package/nnn/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
package/nnn/Config.in +3 -2
@@ -1,6 +1,7 @@ config BR2_PACKAGE_NNN bool "nnn" depends on BR2_USE_MMU # fork + depends on BR2_TOOLCHAIN_HAS_THREADS # Building nnn without widechar/UTF support is theoretically # possible, but in practice it leads to unstable builds. # That’s why the WCHAR dependency is here.
@@ -15,6 +16,6 @@ config BR2_PACKAGE_NNN https://github.com/jarun/nnn -comment "nnn needs a toolchain with wchar" +comment "nnn needs a toolchain with wchar, threads" depends on BR2_USE_MMU # fork - depends on !BR2_USE_WCHAR + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
Signature · 6 lines
2.55.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedQuoted 6 lines · Alexander Shirokov
nnn links against pthread. Specify the dependency to avoid unexpected build failures on toolchains lacking thread support (e.g. br-arm-full-nothread).
Fixes 7856e41685a179fdda7b21a10455e52fe5fa5cb0 ("package/nnn: new package")Signed-off-by Alexander Shirokov <[email protected]>
Applied to master, 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
Raphaël Mélotte via buildroot
AppliedIn reply of:
Quoted 6 lines
nnn links against pthread. Specify the dependency to avoid unexpected build failures on toolchains lacking thread support (e.g. br-arm-full-nothread).
Fixes 7856e41685a179fdda7b21a10455e52fe5fa5cb0 ("package/nnn: new package")Signed-off-by Alexander Shirokov <[email protected]>
Applied to 2026.08.x. Thanks
Quoted 17 lines
--- package/nnn/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)package/nnn/Config.in +1
-0@@ -1,6 +1,7 @@ config BR2_PACKAGE_NNN bool "nnn" depends on BR2_USE_MMU # fork + depends on BR2_TOOLCHAIN_HAS_THREADS # Building nnn without widechar/UTF support is theoretically # possible, but in practice it leads to unstable builds. # That’s why the WCHAR dependency is here.
package/nnn/Config.in config BR2_PACKAGE_NNN · line 21
Quoted 8 lines
package/nnn/Config.in +2
-2@@ -15,6 +16,6 @@ config BR2_PACKAGE_NNN https://github.com/jarun/nnn -comment "nnn needs a toolchain with wchar" +comment "nnn needs a toolchain with wchar, threads" depends on BR2_USE_MMU # fork - depends on !BR2_USE_WCHAR + depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot