* [Buildroot] [PATCHv2] package/wvstreams: disable for musl toolchains
@ 2015-08-08 10:57 Romain Naour
2015-08-09 9:25 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Romain Naour @ 2015-08-08 10:57 UTC (permalink / raw)
To: buildroot
The project seems not maintained anymore since there
is no commit since 2011:
https://github.com/wlach/wvstreams
After fixing the first build issue by adding a missing limit.h header...
xplc/modulemgr.cc:90:14: error: ?PATH_MAX? was not declared in this scope
char fname[PATH_MAX];
and fixing a basename() conflict between the gnu and posix version,
the build fail due to missing __libc_stack_end.
wvtask.cc:(.test+0xb08): undefined reference to `__libc_stack_end'
There is a configure test for __libc_stack_end support but it
doesn't work properly with a musl toolchain.
Since we already have several fixes for uClibc, let's mark wvstreams
as not available for musl toolchains, until someone interested
enough fixes it.
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
---
v2: improve the commit log
fix indentation in Config.in
propagates the dependency to wvdial
---
package/wvdial/Config.in | 5 +++--
package/wvstreams/Config.in | 6 ++++--
2 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/package/wvdial/Config.in b/package/wvdial/Config.in
index 5d415b1..3b09927 100644
--- a/package/wvdial/Config.in
+++ b/package/wvdial/Config.in
@@ -3,12 +3,13 @@ config BR2_PACKAGE_WVDIAL
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_USE_MMU # wvstreams
depends on !BR2_STATIC_LIBS # wvstreams
+ depends on !BR2_TOOLCHAIN_USES_MUSL # wvstreams
select BR2_PACKAGE_WVSTREAMS
help
wvdial is an intelligent Point-to-Point Protocol dialer
http://wvdial.googlecode.com/
-comment "wvdial needs a toolchain w/ C++, dynamic library"
+comment "wvdial needs a (e)glibc or uClibc-ng toolchain w/ C++, dynamic library"
depends on BR2_USE_MMU
- depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS
+ depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL
diff --git a/package/wvstreams/Config.in b/package/wvstreams/Config.in
index 0cbe60a..257340e 100644
--- a/package/wvstreams/Config.in
+++ b/package/wvstreams/Config.in
@@ -3,6 +3,8 @@ config BR2_PACKAGE_WVSTREAMS
depends on BR2_INSTALL_LIBSTDCPP
depends on !BR2_STATIC_LIBS
depends on BR2_USE_MMU # fork()
+ # musl not supported and no upstream activity since 2011.
+ depends on !BR2_TOOLCHAIN_USES_MUSL
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_ZLIB
help
@@ -10,6 +12,6 @@ config BR2_PACKAGE_WVSTREAMS
http://wvstreams.googlecode.com/
-comment "wvstreams needs a toolchain w/ C++, dynamic library"
+comment "wvstreams needs a (e)glibc or uClibc-ng toolchain w/ C++, dynamic library"
depends on BR2_USE_MMU
- depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS
+ depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || BR2_TOOLCHAIN_USES_MUSL
--
2.4.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCHv2] package/wvstreams: disable for musl toolchains
2015-08-08 10:57 [Buildroot] [PATCHv2] package/wvstreams: disable for musl toolchains Romain Naour
@ 2015-08-09 9:25 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2015-08-09 9:25 UTC (permalink / raw)
To: buildroot
Dear Romain Naour,
On Sat, 8 Aug 2015 12:57:02 +0200, Romain Naour wrote:
> -comment "wvdial needs a toolchain w/ C++, dynamic library"
> +comment "wvdial needs a (e)glibc or uClibc-ng toolchain w/ C++, dynamic library"
I've replaced uClibc-ng by uClibc here.
> -comment "wvstreams needs a toolchain w/ C++, dynamic library"
> +comment "wvstreams needs a (e)glibc or uClibc-ng toolchain w/ C++, dynamic library"
and here.
And then applied your patch. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-08-09 9:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-08 10:57 [Buildroot] [PATCHv2] package/wvstreams: disable for musl toolchains Romain Naour
2015-08-09 9:25 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox