package/rng-tools: needs argp-standalone with musl toolchains
PATCH 1/3 package/rng-tools: needs argp-standalone with musl toolchains
--- package/rng-tools/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/rng-tools/Config.in +1 -1
@@ -1,6 +1,6 @@ config BR2_PACKAGE_RNG_TOOLS bool "rng-tools" - select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC + select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL # For rdrand ligcrypt is required and it's not obvious to users select BR2_PACKAGE_LIBGCRYPT if BR2_i386 || BR2_x86_64 help
Signature · 1 line
2.4.3
PATCH 2/3 package/eflutils: needs argp-standalone with musl toolchains
--- package/elfutils/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/elfutils/Config.in +1 -1
@@ -4,7 +4,7 @@ comment "elfutils needs a toolchain w/ wchar, dynamic library" config BR2_PACKAGE_ELFUTILS bool "elfutils" - select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC + select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT depends on BR2_USE_WCHAR depends on !BR2_STATIC_LIBS
Signature · 1 line
2.4.3
PATCH 2/3 package/eflutils: needs argp-standalone with musl toolchains
Romain, All,
On 2015-08-01 18:55 +0200, Romain Naour spake thusly:
Quoted 10 lines
Signed-off-by Romain Naour <[email protected]>--- package/elfutils/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)package/elfutils/Config.in +0
-0
package/elfutils/Config.in comment "elfutils needs a toolchain w/ wchar, dynamic library" · line 7
Quoted 5 lines
package/elfutils/Config.in +1
-1@@ -4,7 +4,7 @@ comment "elfutils needs a toolchain w/ wchar, dynamic library" config BR2_PACKAGE_ELFUTILS bool "elfutils" - select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC + select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL
Ditto, you also need to adjust the build dependencies in the .mk .
Regards,
Yann E. MORIN.
Quoted 10 lines
package/elfutils/Config.in +0
-0select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT depends on BR2_USE_WCHAR depends on !BR2_STATIC_LIBSSignature · 6 lines
2.4.3 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 2/3 package/eflutils: needs argp-standalone with musl toolchains
In reply to Romain NaourDear Romain Naour,
Quoted 10 lines · Romain Naour
Signed-off-by Romain Naour <[email protected]>--- package/elfutils/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)package/elfutils/Config.in +0
-0
package/elfutils/Config.in comment "elfutils needs a toolchain w/ wchar, dynamic library" · line 7
Quoted 5 lines
package/elfutils/Config.in +1
-1@@ -4,7 +4,7 @@ comment "elfutils needs a toolchain w/ wchar, dynamic library" config BR2_PACKAGE_ELFUTILS bool "elfutils" - select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC + select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL
This is not sufficient to get elfutils to build with musl. Lots of other changes are needed (TEMP_FAILURE_RETRY, <error.h>, etc.).
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 3/3 package/libv4l: needs argp-standalone with musl toolchains
In reply to Romain Naour--- package/libv4l/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/libv4l/Config.in +1 -1
@@ -5,7 +5,7 @@ config BR2_PACKAGE_LIBV4L depends on !BR2_STATIC_LIBS # dlopen() depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # media headers - select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC + select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE help libv4l is a collection of libraries which adds a thin abstraction
Signature · 1 line
2.4.3
PATCH 3/3 package/libv4l: needs argp-standalone with musl toolchains
Romain, All,
On 2015-08-01 18:55 +0200, Romain Naour spake thusly:
Quoted 10 lines
Signed-off-by Romain Naour <[email protected]>--- package/libv4l/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)package/libv4l/Config.in +0
-0
package/libv4l/Config.in config BR2_PACKAGE_LIBV4L · line 8
Quoted 5 lines
package/libv4l/Config.in +1
-1@@ -5,7 +5,7 @@ config BR2_PACKAGE_LIBV4L depends on !BR2_STATIC_LIBS # dlopen() depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # media headers - select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC + select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL
Ditto, you also need to adjust the build dependencies in the .mk .
However, that one is doing things differently than the other two. It currently build-depends on argp-standalone and links with it as soon as the package is enabled.
I'm nt sure that's the best soltuion; it should only do that if built against uClibc or musl, like rng-tools and elfutils currently do.
Regards,
Yann E. MORIN.
Quoted 10 lines
package/libv4l/Config.in +0
-0select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE help libv4l is a collection of libraries which adds a thin abstractionSignature · 6 lines
2.4.3 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 3/3 package/libv4l: needs argp-standalone with musl toolchains
Dear Yann E. MORIN,
Quoted 8 lines · Yann E. MORIN
Ditto, you also need to adjust the build dependencies in the .mk .
However, that one is doing things differently than the other two. It currently build-depends on argp-standalone and links with it as soon as the package is enabled.
I'm nt sure that's the best soltuion; it should only do that if built against uClibc or musl, like rng-tools and elfutils currently do.
Since argp-standalone/Config.in has:
depends on !BR2_TOOLCHAIN_USES_GLIBC
then there is really no difference between:
ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y)
...
endif
and
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC)$(BR2_TOOLCHAIN_USES_MUSL),y)
...
endif
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 3/3 package/libv4l: needs argp-standalone with musl toolchains
Thomas, All,
On 2015-08-03 11:16 +0200, Thomas Petazzoni spake thusly:
Quoted 20 lines · Yann E. MORIN
Quoted 8 lines
Ditto, you also need to adjust the build dependencies in the .mk .
However, that one is doing things differently than the other two. It currently build-depends on argp-standalone and links with it as soon as the package is enabled.
I'm nt sure that's the best soltuion; it should only do that if built against uClibc or musl, like rng-tools and elfutils currently do.
Since argp-standalone/Config.in has:
depends on !BR2_TOOLCHAIN_USES_GLIBC
then there is really no difference between:
ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y)
...
endif
Quoted 5 lines
and
ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC)$(BR2_TOOLCHAIN_USES_MUSL),y)
...
endif
OK, but in this case the two other packages should be changed to use the same conditional code.
In the end, I don't mind which we use, as lon as we use it consistently across packages.
Regards,
Yann E. MORIN.
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
PATCH 1/3 package/rng-tools: needs argp-standalone with musl toolchains
In reply to Romain NaourRomain, All,
On 2015-08-01 18:55 +0200, Romain Naour spake thusly:
Quoted 10 lines
Signed-off-by Romain Naour <[email protected]>--- package/rng-tools/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)package/rng-tools/Config.in +0
-0
package/rng-tools/Config.in line 3
Quoted 4 lines
package/rng-tools/Config.in +1
-1@@ -1,6 +1,6 @@ config BR2_PACKAGE_RNG_TOOLS bool "rng-tools" - select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC + select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL
You also need to adjust the build dependencies in the .mk .
Regards,
Yann E. MORIN.
Quoted 10 lines
package/rng-tools/Config.in +0
-0# For rdrand ligcrypt is required and it's not obvious to users select BR2_PACKAGE_LIBGCRYPT if BR2_i386 || BR2_x86_64 helpSignature · 6 lines
2.4.3 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'