g++ 9.3.0 segfaults

JonY 10walls@gmail.com
Sun Apr 12 10:03:37 GMT 2020


On 4/12/20 6:10 AM, Marco Atzeri via Cygwin wrote:
> Joy,
> this segfault happens on 9.3.0 but not on 9.2.0
> 
> To replicate is enough to download cdo-1.9.9rc2.tar.gz from
> https://code.mpimet.mpg.de/projects/cdo/files
> 
> https://code.mpimet.mpg.de/attachments/download/21529/cdo-1.9.9rc2.tar.gz
> 
> ./configure
> make
> 
> 
> Entering directory '/cygdrive/d/cyg_pub/devel/cdo/cdo-1.9.9rc2_build/src'
> g++ -DHAVE_CONFIG_H -I. -I../../cdo-1.9.9rc2/src
> -I../../cdo-1.9.9rc2/libcdi/src -I../../cdo-1.9.9rc2/src/mpim_grid
> -I/usr/include/libxml2  -g -O2 -fopenmp  -MT cdo-cdo.o -MD -MP -MF
> .deps/cdo-cdo.Tpo -c -o cdo-cdo.o `test -f 'cdo.cc' || echo
> '../../cdo-1.9.9rc2/src/'`cdo.cc
> g++: internal compiler error: Segmentation fault signal terminated
> program cc1plus
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <https://gcc.gnu.org/bugs/> for instructions.
> make[1]: *** [Makefile:2446: cdo-cdo.o] Error 4
> make[1]: Leaving directory
> '/cygdrive/d/cyg_pub/devel/cdo/cdo-1.9.9rc2_build/src'
> make: *** [Makefile:960: all] Error 2
> 
> attached the stackdump
> 
> Regards
> Marco
> 

Please file a bug entry on https://gcc.gnu.org/bugzilla/, and attach the
preprocessed source code.

Do something like:
g++ -DHAVE_CONFIG_H .... -MF .deps/cdo-cdo.Tpo -E -o cdo-cdo.ii
../../cdo-1.9.9rc2/src/cdo.cc

Alternatively, try reducing the optimization level temporarily.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://cygwin.com/pipermail/cygwin/attachments/20200412/471d79b9/attachment-0001.sig>


More information about the Cygwin mailing list