[Mesa-dev] [PATCH 11/18] anv: automake: bring back VULKAN_ENTRYPOINT_CPPFLAGS

Alejandro Piñeiro apinheiro at igalia.com
Tue May 31 11:31:48 UTC 2016


On 31/05/16 13:22, Emil Velikov wrote:
> On 31 May 2016 at 12:15, Alejandro Piñeiro <apinheiro at igalia.com> wrote:
>> Probably you are already aware, but just in case. Since this patch got
>> committed (master commit 220d8c) mesa builds fail when using some build
>> options:
>>
> "some build options" is the key here. What are they ?

I use jhbuild to build mesa, on my .jhbuildrc I have the following:

os.environ['CFLAGS'] = '-Wall -g3 -O0 -ggdb3'
os.environ['CXXFLAGS'] = '-Wall -g3 -O0 -ggdb3'

autogenargs='--disable-static'
module_autogenargs['mesa'] = '--disable-static --enable-debug
--with-dri-drivers=i965 --with-gallium-drivers=swrast
--with-vulkan-drivers=intel'

FWIW, I also tried to tweak a little those options, without too much
success.

Just in case it is useful, I have attached my config.log.

>> <skip>
>>
>> anv_formats.c:427:6: error: no previous prototype for
>> ‘anv_GetPhysicalDeviceFormatProperties’ [-Werror=missing-prototypes]
>>  void anv_GetPhysicalDeviceFormatProperties(
>>       ^
>> anv_formats.c:440:10: error: no previous prototype for
>> ‘anv_GetPhysicalDeviceImageFormatProperties’ [-Werror=missing-prototypes]
>>  VkResult anv_GetPhysicalDeviceImageFormatProperties(
>>           ^
>> anv_formats.c:590:6: error: no previous prototype for
>> ‘anv_GetPhysicalDeviceSparseImageFormatProperties’
>> [-Werror=missing-prototypes]
>>  void anv_GetPhysicalDeviceSparseImageFormatProperties(
>>       ^
>> cc1: some warnings being treated as errors
>> Makefile:1305: recipe for target 'anv_formats.lo' failed
>> make[4]: *** [anv_formats.lo] Error 1
>> anv_image.c:255:1: error: no previous prototype for ‘anv_CreateImage’
>> [-Werror=missing-prototypes]
>>  anv_CreateImage(VkDevice device,
>>
> Looking at these ... I'm not sure how the commit can cause such an
> issue. Have you tried cleaning your srcdir (via git clean -fxd) and
> your builddir ?

Yes, I tried git clean -fdx. Same error.

> If that does not help can you attach your generated anv_entrypoints.[ch]

Yes, just done.

Thanks in advance

-------------- next part --------------
A non-text attachment was scrubbed...
Name: anv_entrypoints.c
Type: text/x-csrc
Size: 6886 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160531/06953688/attachment-0001.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: anv_entrypoints.h
Type: text/x-chdr
Size: 235 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160531/06953688/attachment-0001.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log.xz
Type: application/x-xz
Size: 27428 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160531/06953688/attachment-0001.xz>


More information about the mesa-dev mailing list