[Buildroot] glib 2.40 on xtensa

Max Filippov jcmvbkbc at gmail.com
Sat Jul 19 00:28:11 UTC 2014


On Sat, Jul 19, 2014 at 2:40 AM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> Baruch, Max,
>
> We have recently update glib to version 2.40, and this is causing
> issues on Xtensa:
>
>   http://autobuild.buildroot.org/results/a1a/a1a1f97a2c54ba4f7f7e44cc094a55bd23ca0aa0/build-end.log
>
>   CC       gspawn.lo
> gthread-posix.c: In function 'g_cond_impl_new':
> gthread-posix.c:648:2: error: #error Cannot support GCond on your platform.
>  #error Cannot support GCond on your platform.
>   ^
> gthread-posix.c: In function 'g_cond_wait_until':
> gthread-posix.c:896:2: error: #error Cannot support GCond on your platform.
>  #error Cannot support GCond on your platform.
>   ^
> gthread-posix.c:859:19: warning: unused variable 'ts' [-Wunused-variable]
>    struct timespec ts;
>                    ^
>
> Could you have a look and see what can be done to fix this problem?

It requires pthread_cond_timedwait_relative_np (not available on uclibc)
or pthread_condattr_setclock (only available with NPTL). Looks like we
need NPTL to support this glib version.

-- 
Thanks.
-- Max



More information about the buildroot mailing list