[Buildroot] [PATCH 1/1] libglib2: needs threads

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Jul 15 15:21:16 UTC 2013


Dear Spenser Gilliland,

On Mon, 15 Jul 2013 10:04:02 -0500, Spenser Gilliland wrote:
> See autobuild failures
> 
> http://autobuild.buildroot.net/results/d1fb882fe4d22a17bdd438360da515011dda2b30/build-end.log
> http://autobuild.buildroot.net/results/b66e807769ead5caa3e3b6312e9f7c35c14eafe7/build-end.log
> http://autobuild.buildroot.net/results/9c3fa0c5003a6369e70bfe6d611f7d745742a8c7/build-end.log
> 
> Signed-off-by: Spenser Gilliland <spenser at gillilanding.com>
> ---
>  package/libglib2/Config.in | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/package/libglib2/Config.in b/package/libglib2/Config.in
> index 5282885..0ee53b7 100644
> --- a/package/libglib2/Config.in
> +++ b/package/libglib2/Config.in
> @@ -5,10 +5,12 @@ config BR2_PACKAGE_LIBGLIB2
>  	select BR2_PACKAGE_LIBFFI
>  	select BR2_PACKAGE_ZLIB
>  	depends on BR2_USE_WCHAR # gettext
> +	depends on BR2_TOOLCHAIN_HAS_THREADS

No this doesn't work. If you want to do this, you should remove the
libglib2 patch that attempts at making glib work without thread support
and propagate this depends on to all the reverse dependencies of
libglib2.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list