After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 777979 - Vulkan fails to build on i386
Vulkan fails to build on i386
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
unspecified
Other Linux
: Normal normal
: 1.10.4
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-01-31 11:32 UTC by Alexander Larsson
Modified: 2017-02-02 10:42 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Alexander Larsson 2017-01-31 11:32:53 UTC
Got this when building the freedesktop sdk on i386:

vkwindow.c: In function ‘gst_vulkan_window_get_surface’:
vkwindow.c:229:561: error: return makes integer from pointer without a cast [-Werror=int-conversion]
vkwindow.c:231:194: error: return makes integer from pointer without a cast [-Werror=int-conversion]
cc1: all warnings being treated as errors
Makefile:1135: recipe for target 'libgstvulkan_la-vkwindow.lo' failed
make[4]: *** [libgstvulkan_la-vkwindow.lo] Error 1
make[4]: Leaving directory '/run/build-runtime/gstreamer-plugins-bad/ext/vulkan'
Makefile:1154: recipe for target 'all-recursive' failed
Comment 1 Matthew Waters (ystreet00) 2017-02-01 05:09:55 UTC
commit d7bb3b55425b8b6f910fb331046757947896f9dc
Author: Matthew Waters <matthew@centricular.com>
Date:   Wed Feb 1 16:05:23 2017 +1100

    vkwindow: fix build error on i386
    
    Vulkan handles are either pointers (64-bit) or 64-bit integer
    handles (32-bit). Cast the type in failure cases.
    
    vkwindow.c:229:561: error: return makes integer from pointer without a cast [-Werror=int-conversion]
    vkwindow.c:231:194: error: return makes integer from pointer without a cast [-Werror=int-conversion]
    
    https://bugzilla.gnome.org/show_bug.cgi?id=777979