jerryd/gtk-fortran — Issue #36: internal compiler error: Segmentation fault
Author: zmi007
Created: 2011-11-17 11:54:54+00:00
State: open

I am getting this strange issue during make in opensuse 11.4 :

make
[ 1%] Building Fortran object src/CMakeFiles/gtk-fortran_shared.dir/gtk.f90.o
/home/zmi007/Download/linux/gtk-fortran/src/gtk.f90: In function ‘g_signal_connect’:
/home/zmi007/Download/linux/gtk-fortran/src/gtk.f90:70:0: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
make[3]: *** [src/CMakeFiles/gtk-fortran_shared.dir/gtk.f90.o] Error 1
make[2]: *** [src/CMakeFiles/gtk-fortran_shared.dir/gtk.f90.o.provides] Error 2
make[1]: *** [src/CMakeFiles/gtk-fortran_shared.dir/all] Error 2
make: *** [all] Error 2

gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/4.5/lto-wrapper
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.5 --enable-ssp --disable-libssp --disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.5 --enable-linux-futex --without-system-libunwind --enable-gold --with-plugin-ld=/usr/bin/gold --with-arch-32=i586 --with-tune=generic --build=x86_64-suse-linux

Thread model: posix
gcc version 4.5.1 20101208 [gcc-4_5-branch revision 167585] (SUSE Linux)

INFO
if I replace FNULL and NULL in handler_id = g_signal_connect_data (..., FNULL) calls with their values, it does compile.