Bug 110654 - vulkan-overlay: overlay.cpp fails to build
Summary: vulkan-overlay: overlay.cpp fails to build
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Vulkan/Common (show other bugs)
Version: 19.1
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-09 13:22 UTC by Jan Ziak (http://atom-symbol.net)
Modified: 2019-05-09 13:34 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
build.log (946.24 KB, text/x-log)
2019-05-09 13:22 UTC, Jan Ziak (http://atom-symbol.net)
Details

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.