On 31 May 2016 at 01:00, Mauro Rossi <[email protected]> wrote: > Fixes the following building error: > > external/mesa/src/egl/drivers/dri2/egl_dri2.c:2476: error: undefined > reference to 'pthread_condattr_setclock' > collect2: error: ld returned 1 exit status > > Cc: <[email protected]> > --- Afaict this doesn't seems right: - I cannot see anyone that defines the HAVE_PTHREAD_CONDATTR_SETCLOCK and HAVE_CLOCK_MONOTONIC macros, Thus this change forces the new codepath for everyone - android, scons, automake. - Various other places in mesa (that Android builds) already use clock_gettime(CLOCK_MONOTONIC...) so that should not be an issue, right ? - About the undefined pthread_condattr_setclock symbol... Is this an issue with Android 4.4 only ? I would imagine that other programs use the symbol, so one could port the functionality (from say Android 5.x) within Android itself ?
Regards, Emil _______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
