Segmentation fault for 5.1.0 on Debian

Matthew Moyle-Croft mmc at mmc.com.au
Sat Oct 28 17:12:39 UTC 2017


Wonder if we should suggest that the GCC team use RtConfig as part of their test suite for compilers?  Over the years I seem to recall it’s triggered quite a few issues.

MMC

> On 27 Oct 2017, at 7:21 pm, Mark Prior <mrp at mrp.net> wrote:
> 
> 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
>> 
> _______________________________________________
> irrtoolset mailing list
> irrtoolset at lists.isc.org
> https://lists.isc.org/mailman/listinfo/irrtoolset



More information about the irrtoolset mailing list