[Bug 1720964] Re: gcc 5.4 Segmentation fault while making Vulkan 1.0.61.1 example

Launchpad Bug Tracker 1720964 at bugs.launchpad.net
Sun Aug 5 15:26:21 UTC 2018


Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: gcc-5 (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-5 in Ubuntu.
https://bugs.launchpad.net/bugs/1720964

Title:
  gcc 5.4 Segmentation fault while making Vulkan 1.0.61.1 example

Status in gcc-5 package in Ubuntu:
  Confirmed

Bug description:
  I am using Ubuntu 16.04 with kernel 4.10.0-33-generic and gcc version
  5.4.0-6ubuntu1~16.04.4. I did a local install of Vulkan 1.0.61.1 and
  tried to build and make one of it's example with the following
  commands:

  cd examples
  cmake -H. -Bbuild
  cmake -H. -Bdbuild -DCMAKE_BUILD_TYPE=Debug
  make -C build
  make -C dbuild

  During "make -C build" command, I encountered an error that asked me to make a full bug report.
  How can I overcome the issue?

  
  $ make -C build 
  make: Entering directory '$HOME/Vulkan/VulkanSDK/1.0.61.1/examples/build' 
  make[1]: Entering directory ''$HOME/Vulkan/VulkanSDK/1.0.61.1/examples/build' 
  make[2]: Entering directory ''$HOME/Vulkan/VulkanSDK/1.0.61.1/examples/build' 
  Scanning dependencies of target vulkaninfo 
  make[2]: Leaving directory ''$HOME/Vulkan/VulkanSDK/1.0.61.1/examples/build' 
  make[2]: Entering directory ''$HOME/Vulkan/VulkanSDK/1.0.61.1/examples/build' 
  [ 10%] Building C object CMakeFiles/vulkaninfo.dir/vulkaninfo.c.o 
  [ 20%] Linking C executable vulkaninfo 
  make[2]: Leaving directory ''$HOME/Vulkan/VulkanSDK/1.0.61.1/examples/build' 
  [ 20%] Built target vulkaninfo make[2]: Entering directory ''$HOME/Vulkan/VulkanSDK/1.0.61.1/examples/build' 
  [ 30%] Generating cube-frag.spv 
  [ 40%] Generating cube-vert.spv Scanning dependencies of target cubepp 
  make[2]: Leaving directory ''$HOME/Vulkan/VulkanSDK/1.0.61.1/examples/build' 
  make[2]: Entering directory ''$HOME/Vulkan/VulkanSDK/1.0.61.1/examples/build' 
  [ 50%] Building CXX object CMakeFiles/cubepp.dir/cube.cpp.o 
  In file included from '$HOME/Vulkan/VulkanSDK/1.0.61.1/examples/cube.cpp:39:0: '$HOME/Vulkan/VulkanSDK/1.0.61.1/x86_64/include/vulkan/vulkan.hpp:18745:11: internal compiler error: Segmentation fault && ( maxTessellationGenerationLevel == rhs.maxTessellationGenerationLevel ) ^ 
  Please submit a full bug report, with preprocessed source if appropriate. 
  See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions. 
  CMakeFiles/cubepp.dir/build.make:72: recipe for target 'CMakeFiles/cubepp.dir/cube.cpp.o' failed 
  make[2]: *** [CMakeFiles/cubepp.dir/cube.cpp.o] Error 1 
  make[2]: Leaving directory ''$HOME/Vulkan/VulkanSDK/1.0.61.1/examples/build' CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/cubepp.dir/all' failed 
  make[1]: *** [CMakeFiles/cubepp.dir/all] Error 2 
  make[1]: Leaving directory ''$HOME/Vulkan/VulkanSDK/1.0.61.1/examples/build' 
  Makefile:83: recipe for target 'all' failed 
  make: *** [all] Error 2 
  make: Leaving directory ''$HOME/Vulkan/VulkanSDK/1.0.61.1/examples/build'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-5/+bug/1720964/+subscriptions



More information about the foundations-bugs mailing list