Undefined symbols for architecture x86_64:
"_util_cpu_caps", referenced from:
_util_fpstate_get in libmesa.a(libmesautil_la-u_math.o)
_util_fpstate_set_denorms_to_zero in libmesa.a(libmesautil_la-u_math.o)
_util_fpstate_set in libmesa.a(libmesautil_la-u_math.o)
I've sent a patch to the list that hopefully fixes this.
Author: Dylan Baker <email@example.com>
Date: Thu Aug 16 17:20:38 2018 -0700
move u_math to src/util
Currently we have two sets of functions for bit counts, one in gallium
and one in core mesa. The ones in core mesa are header only in many
cases, since they reduce to "#define _mesa_bitcount popcount", but they
provide a fallback implementation. This is important because 32bit msvc
doesn't have popcountll, just popcount; so when nir (for example)
includes the core mesa header it doesn't (and shouldn't) link with core
mesa. To fix this we'll promote the version out of gallium util, then
replace the core mesa uses with the util version, since nir (and other
non-core mesa users) can and do link with mesautils.
Acked-by: Eric Engestrom <firstname.lastname@example.org>
Reviewed-by: Ian Romanick <email@example.com>
This should be resolved now.
New series sent out to fix this.
This time for sure!