--- a/external/skia/UnpackedTarball_skia.mk +++ a/external/skia/UnpackedTarball_skia.mk @@ -37,6 +37,7 @@ skia_patches := \ disable-freetype-colrv1.1 \ windows-libraries-system32.patch.1 \ fix-graphite-ifdef.patch.1 \ + skia-vktestutils-execinfo-musl.patch \ $(eval $(call gb_UnpackedTarball_set_patchlevel,skia,1)) --- a/external/skia/skia-vktestutils-execinfo-musl.patch +++ a/external/skia/skia-vktestutils-execinfo-musl.patch @@ -0,0 +1,28 @@ +diff --git a/tools/gpu/vk/VkTestUtils.cpp b/tools/gpu/vk/VkTestUtils.cpp +index d7a10a2..c17cdf5 100644 +--- a/tools/gpu/vk/VkTestUtils.cpp ++++ b/tools/gpu/vk/VkTestUtils.cpp +@@ -19,9 +19,6 @@ + + #include + +-#if defined(SK_BUILD_FOR_UNIX) +-#include +-#endif + #include "include/gpu/vk/GrVkBackendContext.h" + #include "include/gpu/vk/GrVkExtensions.h" + #include "src/core/SkAutoMalloc.h" +@@ -93,13 +90,6 @@ static int should_include_debug_layer(const char* layerName, + } + + static void print_backtrace() { +-#if defined(SK_BUILD_FOR_UNIX) +- void* stack[64]; +- int count = backtrace(stack, SK_ARRAY_COUNT(stack)); +- backtrace_symbols_fd(stack, count, 2); +-#else +- // Please add implementations for other platforms. +-#endif + } + + VKAPI_ATTR VkBool32 VKAPI_CALL DebugReportCallback(