Ask Your Question
1

How do I get around this GCC internal compiler error in F16?

asked 2012-01-07 09:48:47 -0500

Utopian gravatar image

updated 2012-01-08 05:18:41 -0500

FranciscoD_ gravatar image

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.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2012-01-08 05:20:23 -0500

FranciscoD_ gravatar image

To start with, try playing with the flags you've provided. The last time I came across something of the sort and filed a bug, the maintainer had asked me to change my flags.

Please do submit a bug report. That would really help.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-01-07 09:48:47 -0500

Seen: 592 times

Last updated: Jan 08 '12