Bug 52814 - Internal compiler error: segmentation fault
Internal compiler error: segmentation fault
Status: RESOLVED FIXED
Product: gcc
Classification: Unclassified
Component: c++
4.6.0
: P3 normal
: 4.6.1
Assigned To: Not yet assigned to anyone
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-31 22:53 UTC by rohit
Modified: 2012-04-02 09:12 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Known to work:
Known to fail: 4.6.0
Last reconfirmed:


Attachments
preprocessed file with shows error (195.83 KB, application/zip)
2012-03-31 22:55 UTC, rohit
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rohit 2012-03-31 22:53:39 UTC
I am compiling Sniper-multicore simulator files. On ubuntu it compiles fine (where boost is already there). On my red-hat (RHEL 5.2), where I don't have root permission, I installed gcc-4.6.0 and boost-1.49 and am trying to compile Sniper files. However, gcc fails:

/home/sparsh/bin/gccbin/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/cc1plus -fpreprocessed clock_skew_minimization.ii -quiet -dumpbase clock_skew_minimization.cc -mtune=generic -march=x86-64 -auxbase-strip /home/sparsh/ddrive/test/sniper/pin/../pin/clock_skew_minimization.o -g -g -O3 -O3 -O3 -Wall -Wextra -Wcast-align -Wno-unused-parameter -Wno-unknown-pragmas -std=c++0x -version -fno-strict-aliasing -fno-stack-protector -fomit-frame-pointer -fPIC -o clock_skew_minimization.s
GNU C++ (GCC) version 4.6.0 (x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.6.0, GMP version 5.0.2, MPFR version 3.1.0, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C++ (GCC) version 4.6.0 (x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.6.0, GMP version 5.0.2, MPFR version 3.1.0, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 92a6c3dce9332c98e77c2cc0d9d9f40f
g++: internal compiler error: Segmentation fault (program cc1plus)

File is attached.
Comment 1 rohit 2012-03-31 22:55:31 UTC
Created attachment 27056 [details]
preprocessed file with shows error
Comment 2 Richard Biener 2012-04-02 09:12:27 UTC
Fixed in 4.6.1.