Bug 36097 - internal error when compiling objective-c
internal error when compiling objective-c
Product: Red Hat Linux
Classification: Retired
Component: gcc (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-04-16 17:26 EDT by ctm
Modified: 2007-04-18 12:32 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-04-16 17:39:55 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description ctm 2001-04-16 17:26:20 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.

Reproducible: Always
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.
Comment 1 Jakub Jelinek 2001-04-16 17:39:50 EDT
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.

Note You need to log in before you can comment on or make changes to this bug.