Segmentation fault for 5.1.0 on Debian
nick at inex.ie
Fri Oct 27 23:29:39 UTC 2017
Daryl Collins wrote:
> I forgot that I reinstalled my scratch VM since I last worked on
> irrtoolset. It does indeed seem to be an OS/library version thing etc.
> Booted my old VM (Ubuntu 14.04.5 LTS) and master works fine. New VM is
> running Ubuntu 17.04 and segfaults.
this looks like a gcc6 compiler optimisation bug relating to the
-fno-tree-vrp flag. If you do something like this:
% export CFLAGS="-O2 -fno-tree-vrp"
... it should work fine.
I've committed a (very ugly) workaround to master.
Alternatively, you could compile with llvm:
% export CXX clang++
% export CC clang
More information about the irrtoolset