Segmentation fault for 5.1.0 on Debian

Nick Hilliard nick at
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"
% ./configure
% make

... 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
% ./configure
% make


More information about the irrtoolset mailing list