mesa: 3d8188d4f898afcf4f181de29e12c5b218bbd393 (master 10.5.0-devel) OpenBSD failure $ gmake check [...] CXXLD glsl_test imports.o(.text+0x215): In function `_mesa_strdup': ../../src/mesa/main/imports.c:494: warning: strcpy() is almost always misused, please use strlcpy() ./.libs/libglsl.a(libmesautil_la-hash_table.o)(.text+0x203): In function `_mesa_hash_table_random_entry': mesa/src/util/hash_table.c:399: warning: rand() isn't random; consider using arc4random() ./.libs/libglsl.a(builtin_functions.o)(.text+0x7c4): In function `_mesa_glsl_find_builtin_function(_mesa_glsl_parse_state*, char const*, exec_list*)': ../../include/c11/threads_posix.h:197: undefined reference to `pthread_mutex_lock'
Created attachment 111987 [details] [review] Link glsl_test against $(PTHREAD_LIBS)
I've attached a patch that links glsl_test against the pthreads library which should fix this. This is the same change that was done for glsl_compiler back in 0d6f573f6e6785babe1e274697fdd315db95fb98.
(In reply to Jonathan Gray from comment #2) > I've attached a patch that links glsl_test against the pthreads library > which should fix this. This is the same change that was done for > glsl_compiler back in 0d6f573f6e6785babe1e274697fdd315db95fb98. > Nice one Jonathan. Added r-b, bugzilla and cc mesa-stable tags, and pushed to master. Thanks Emil
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.