How do I get around this GCC internal compiler error in F16?
GCC on my new F16 box is giving error for simple C codes.
gcc -O1 -c -o neuralnetwork.o neuralnetwork.c In file included from /usr/include/stdio.h:933:0, from neuralnetwork.c:21: /usr/include/bits/stdio.h: In function ‘fgetcunlocked’: /usr/include/bits/stdio.h:56:3: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See http://bugzilla.redhat.com/bugzilla for instructions. Preprocessed source stored into /tmp/ccMBuBEv.out file, please attach this to your bugreport. make: * [neural_network.o] Error 1
Here's what my GCC looks like: Using built-in specs. COLLECTGCC=gcc COLLECTLTOWRAPPER=/usr/libexec/gcc/x8664-redhat-linux/4.6.2/lto-wrapper Target: x8664-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-cxaatexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch32=i686 --build=x8664-redhat-linux Thread model: posix gcc version 4.6.2 20111027 (Red Hat 4.6.2-1) (GCC)
Machine is a Intel Quadcore x86_64.
I did a reinstall of GCC but that didn't help either. Would appreciate any pointers to fix this. Without GCC the machine is of no use. Couldn't find any info my googling around.