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.

Attachment: signature.asc
Description: OpenPGP digital signature

--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to