mesa/src/gfxstream
Alyssa Ross 6f8cdd8a3c gfxstream: guest: don't use transitional LFS64 API
musl removed the LFS64 APIs like mmap64(), which were intended to be a
transitional measure multiple decades ago, causing a build failure
here.  Since virtio-gpu sizes and offsets are 64-bit, we do still want
to make sure that we're using 64-bit mmap here, so I've added
-D_FILE_OFFSET_BITS=64, which will ensure that off_t is always 64-bit
in gfxstream guest, and which is generally the modern solution here.

With this change, I am able to build gfxstream with musl.

Fixes: fec8e296a3 ("Make VirtGpu* interfaces")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37086>
2025-09-02 16:45:20 +00:00
..
aemu gfxstream: fix signedness of shifts 2025-02-05 19:28:42 +00:00
codegen gfxstream: Prune all guest-side KHR entrypoints that are provided with VK_VERSION_1_1 2025-08-27 16:40:44 +00:00
guest gfxstream: guest: don't use transitional LFS64 API 2025-09-02 16:45:20 +00:00
.clang-format gfxstream: add clang-format 2024-10-09 22:53:05 +00:00
meson.build gfxstream: guest: use internal version of AEMU headers + impls 2024-11-12 19:21:10 +00:00