Segmentation fault for 5.1.0 on Debian

Mark Prior mrp at mrp.net
Sat Oct 28 02:21:56 UTC 2017


Thanks Nick. That does indeed stop the crashing of rtconfig.

Mark.

On 28/10/17 09:59, Nick Hilliard wrote:
> 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
> 
> Nick
> 


More information about the irrtoolset mailing list