Gcc Segfaults on GCH compile
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gcc-defaults |
Invalid
|
Medium
|
|||
gcc-defaults (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
mdupont@
make: Entering directory `/media/
g++ -save-temps -I ../.. -I .. -I -pg \
-DMAPNIK_DEBUG \
-I/usr/
-I/usr/
-I/home/
-I/usr/
-I/usr/
-D_REENTRANT -I/usr/
stdinc.hpp:5:9: warning: #pragma once in main file
g++ -save-temps -I ../.. -I .. -I -pg \
-DMAPNIK_DEBUG \
-I/usr/
-I/usr/
-I/home/
-I/usr/
-I/usr/
-D_REENTRANT -I/usr/
g++ -save-temps -I ../.. -I .. -I -pg \
-DMAPNIK_DEBUG \
-I/usr/
-I/usr/
-I/home/
-I/usr/
-I/usr/
-D_REENTRANT -I/usr/
stdinc.ii:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:/
make: *** [layer.hpp.gch] Error 1
make: Leaving directory `/media/
mdupont@
[master 36b8c21] problme with gcc, wont compile
7 files changed, 19 insertions(+), 30 deletions(-)
mdupont@
Counting objects: 21, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (11/11), done.
Writing objects: 100% (11/11), 973 bytes, done.
Total 11 (delta 9), reused 0 (delta 0)
To <email address hidden>
98cc67d..36b8c21 master -> master
ProblemType: Bug
Architecture: i386
Date: Wed Jan 13 01:59:02 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu-
NonfreeKernelMo
Package: g++ 4:4.4.1-1ubuntu2
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: gcc-defaults
Tags: ubuntu-unr
Uname: Linux 2.6.31-17-generic i686
Changed in gcc-defaults (Ubuntu): | |
status: | New → Invalid |
Changed in gcc-defaults: | |
status: | Unknown → Invalid |
Changed in gcc-defaults: | |
importance: | Unknown → Medium |
The problem i am having is with pch,
I would like to compile a bunch of templates using pch.
I have refactored the includes so that they all use stdinc.h
this works on its own, to compile stdinc.h, but when someone uses it to define themselves,
i get a class defined already error, so I remove that for layer.h and used the existing files,
now it segfaults.