Red Hat Bugzilla – Bug 36097
internal error when compiling objective-c
Last modified: 2007-04-18 12:32:41 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.75 [en] (X11; U; Linux 2.4.2-ipsec-low i686)
I have an Objective-C file that causes gcc-objc-2.96-69 to die with a
segmentation fault each time I try to compile it.
Steps to Reproduce:
1. gcc -g -O -Wall -D_REENTRANT -D_GNU_SOURCE -I../include
-I/usr/include/pgsql -I../protocol_lib -I../tbot2 -c -o Game.o Game.m
Actual Results: Game.m:1861: Internal error: Segmentation fault.
Please submit a full bug report.
Expected Results: Program should have compiled into a .o file.
I can e-mail a pre-processed .m file that exhibits this crash to whoever
wants to reproduce this bug.
There was a GC related bug in Objective-C frontend, which was fixed
in gcc-objc-2.96-76. Could you try that compiler (or newer, such as
the one released in the 7.1 distribution)?
If not or if you can reproduce it even with that compiler, please
use the attach button on this page to attach preprocessed Game.mi.
If that compiler fixes it, please let us know as well.