Re: [Mesa-dev] [PATCH] glsl: Link tests with CLOCK_LIB.

2017-03-22 Thread Matt Turner
On Wed, Mar 22, 2017 at 5:02 PM, Vinson Lee wrote: > I don't think this is a CentOS 6 specific issue but an issue with > older GCC, such as GCC 4.4. glibc 2.17 and newer have clock_gettime in libc, and 2.16 and older have it in librt. ___ mesa-dev maili

Re: [Mesa-dev] [PATCH] glsl: Link tests with CLOCK_LIB.

2017-03-22 Thread Vinson Lee
On Wed, Mar 22, 2017 at 4:17 PM, Timothy Arceri wrote: > On 23/03/17 09:29, Vinson Lee wrote: >> >> Fix 'make check' linking errors on CentOS 6. > > > Hi Vinson, > > Red Hat Enterprise Linux 6 enters Production Phase 3 on May 10, 2017. I've > confirmed with Dave this means no more Mesa backports.

Re: [Mesa-dev] [PATCH] glsl: Link tests with CLOCK_LIB.

2017-03-22 Thread Timothy Arceri
On 23/03/17 09:29, Vinson Lee wrote: Fix 'make check' linking errors on CentOS 6. Hi Vinson, Red Hat Enterprise Linux 6 enters Production Phase 3 on May 10, 2017. I've confirmed with Dave this means no more Mesa backports. Perhaps you might want to consider moving to testing CentOS 7? From

[Mesa-dev] [PATCH] glsl: Link tests with CLOCK_LIB.

2017-03-22 Thread Vinson Lee
Fix 'make check' linking errors on CentOS 6. CXXLD glsl/glsl_test glsl/.libs/libglsl.a(libmesautil_la-u_queue.o): In function `u_thread_get_time_nano': src/util/../../src/util/u_thread.h:84: undefined reference to `clock_gettime' Signed-off-by: Vinson Lee --- src/compiler/Makefile.glsl.am |