Mesa (master): android: util/fossilize_db: add missing sources to Makefile.sources

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Feb 22 20:42:01 UTC 2021


Module: Mesa
Branch: master
Commit: 099938d0f81bfe74ea036941bf84e5088de7a3a0
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=099938d0f81bfe74ea036941bf84e5088de7a3a0

Author: Mauro Rossi <issor.oruam at gmail.com>
Date:   Sun Feb 21 22:16:13 2021 +0100

android: util/fossilize_db: add missing sources to Makefile.sources

Fixes the following building errors:

FAILED: out/target/product/x86_64/obj/SHARED_LIBRARIES/i915_dri_intermediates/LINKED/i915_dri.so
ld.lld: error: undefined symbol: foz_read_entry
>>> referenced by disk_cache_os.c:945 (external/mesa/src/util/disk_cache_os.c:945)
ld.lld: error: undefined symbol: foz_write_entry
>>> referenced by disk_cache_os.c:951 (external/mesa/src/util/disk_cache_os.c:951)

FAILED: out/target/product/x86_64/obj/SHARED_LIBRARIES/vulkan.anv_intermediates/LINKED/vulkan.anv.so
FAILED: out/target/product/x86_64/obj/SHARED_LIBRARIES/vulkan.radv_intermediates/LINKED/vulkan.radv.so
ld.lld: error: undefined symbol: foz_destroy
>>> referenced by disk_cache.c:237 (external/mesa/src/util/disk_cache.c:237)
ld.lld: error: undefined symbol: foz_read_entry
>>> referenced by disk_cache_os.c:945 (external/mesa/src/util/disk_cache_os.c:945)
ld.lld: error: undefined symbol: foz_write_entry
>>> referenced by disk_cache_os.c:951 (external/mesa/src/util/disk_cache_os.c:951)

Fixes: eca6bb9540d8 ("util/fossilize_db: add basic fossilize db util to read/write shader caches")
Acked-by: Timothy Arceri <tarceri at itsqueeze.com>
Tested-by: Marijn Suijten <marijns95 at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9178>

---

 src/util/Makefile.sources | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/util/Makefile.sources b/src/util/Makefile.sources
index 46d7dd2e3d7..a2b2b832e1c 100644
--- a/src/util/Makefile.sources
+++ b/src/util/Makefile.sources
@@ -49,6 +49,8 @@ MESA_UTIL_FILES := \
 	format_r11g11b10f.h \
 	format_rgb9e5.h \
 	format_srgb.h \
+	fossilize_db.c \
+	fossilize_db.h \
 	futex.h \
 	half_float.c \
 	half_float.h \



More information about the mesa-commit mailing list