Segmentation fault on compilation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-4.6 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Output of gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-
Thread model: posix
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
The way i compiled my source was:
g++ -static -g -O2 -Wall -Wextra main.cpp -o main -lm -std=gnu++0x
I've attached the file.
The output i received is:
main.cpp: In constructor ‘SuffixAutomato
main.cpp:9:5: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:/
Preprocessed source stored into /tmp/ccYzITUb.out file, please attach this to your bugreport.
I've also attached the preprocessed source: