Bug 110654

Summary: vulkan-overlay: overlay.cpp fails to build
Product: Mesa Reporter: Jan Ziak (http://atom-symbol.net) <0xe2.0x9a.0x9b>
Component: Drivers/Vulkan/CommonAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: airlied, chadversary, jason
Version: 19.1   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: build.log

Description Jan Ziak (http://atom-symbol.net) 2019-05-09 13:22:07 UTC
Created attachment 144207 [details]
build.log

Hello. I am encountering the following error when building mesa-19.1.0_rc1 in Gentoo:

mesa-19.1.0-rc1/src/vulkan/overlay-layer/overlay.cpp:2014:92: error: invalid conversion from ‘VkQueryPool {aka long long unsigned int}’ to ‘void*’ [-fpermissive]
       map_object(pipeline_query_pool, (void *)(uintptr_t) pAllocateInfo->commandBufferCount);
                                                                                            ^
../mesa-19.1.0-rc1/src/vulkan/overlay-layer/overlay.cpp:227:13: note:   initializing argument 1 of ‘void map_object(void*, void*)’
 static void map_object(void *obj, void *data)
             ^~~~~~~~~~

I am not sure whether this is a Gentoo bug or Mesa bug. Please see the attached build log for details about the options passed to Meson.
Comment 1 Jan Ziak (http://atom-symbol.net) 2019-05-09 13:24:34 UTC
This seems to be a duplicate of issue 110606.
Comment 2 Jan Ziak (http://atom-symbol.net) 2019-05-09 13:34:36 UTC
Fixed in mesa-git.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.