[Mesa-dev] [Bug 107870] Undefined symbols for architecture x86_64: "_util_cpu_caps"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 20 05:22:18 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=107870

Vinson Lee <vlee at freedesktop.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |bisected

--- Comment #2 from Vinson Lee <vlee at freedesktop.org> ---
commit 80825abb5d1a7491035880253ffd531c55acae6b
Author: Dylan Baker <dylan at pnwbakers.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 <eric.engestrom at intel.com>
    Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180920/1514b571/attachment.html>


More information about the mesa-dev mailing list