Bug crashes gcc 4.2.1
Bug crashes gcc 4.2.1
- Subject: Bug crashes gcc 4.2.1
- From: Rick Mann <email@hidden>
- Date: Wed, 23 Sep 2009 12:11:20 -0700
Running the Xcode 3.1 iPhone SDK, on a desktop 10.6-based project,
compiling a .mm file, I get this:
CompileC build/Schematic.build/Debug/Schematic.build/Objects-normal/
i386/PartPrimitive.o ../../src/Cocoa/Primitives/PartPrimitive.mm
normal i386 objective-c++ com.apple.compilers.gcc.4_2
cd /Users/rmann/LZRepo/schematic/trunk/xcode/Schematic
setenv LANG en_US.US-ASCII
/Developer/usr/bin/gcc-4.2 -x objective-c++ -arch i386 -fmessage-
length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -
Wreturn-type -Wunused-variable -isysroot /Developer/SDKs/
MacOSX10.6.sdk -mfix-and-continue -fobjc-gc-only -fvisibility-inlines-
hidden -fobjc-call-cxx-cdtors -mmacosx-version-min=10.6 -gdwarf-2 -I/
Users/rmann/LZRepo/schematic/trunk/xcode/Schematic/build/
Schematic.build/Debug/Schematic.build/Schematic.hmap -F/Users/rmann/
LZRepo/schematic/trunk/xcode/Schematic/build/Debug -I/Users/rmann/
LZRepo/schematic/trunk/xcode/Schematic/build/Debug/include -I/Users/
rmann/LZRepo/schematic/trunk/xcode/Schematic/build/Schematic.build/
Debug/Schematic.build/DerivedSources/i386 -I/Users/rmann/LZRepo/
schematic/trunk/xcode/Schematic/build/Schematic.build/Debug/
Schematic.build/DerivedSources -include /var/folders/VT/
VTtKCduZGsm7vgkK2nQztU+++TI/-Caches-/com.apple.Xcode.501/
SharedPrecompiledHeaders/Schematic_Prefix-glsoojoivqtscseczvkxmtmiwbhn/
Schematic_Prefix.pch -c /Users/rmann/LZRepo/schematic/trunk/xcode/
Schematic/../../src/Cocoa/Primitives/PartPrimitive.mm -o /Users/rmann/
LZRepo/schematic/trunk/xcode/Schematic/build/Schematic.build/Debug/
Schematic.build/Objects-normal/i386/PartPrimitive.o
i686-apple-darwin10-gcc-4.2.1: Internal error: Segmentation fault
(program cc1objplus)
Please submit a full bug report.
See <URL:http://developer.apple.com/bugreporter> for instructions.
Command /Developer/usr/bin/gcc-4.2 failed with exit code 1
I can submit a bug report, but what should I put into it? The
preprocessed file?
Any ideas how to fix/workaround this in the meantime? I've seen
compiler crashes before which should've been syntax errors, but this
time I have no idea what to look at. I did clean up some errors where
my implementation of a method in a derived class didn't match the
declaration in a base class (because this compiler issues warnings,
when an older compiler, < Xcode 3.1, didn't).
TIA,
Rick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden