This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

intrnl compiler error with objc and -ggdb3


I've come across an internal compiler error with the gcc objc compiler.

Some quick stats:
gcc 2.95.2
modified Slackware 4.0 system:
        Linux 2.4.0-test5
        glibc 2.1.1
        AMD K6-2 300
        128MB RAM
to (attempt to) compile main.m, i use the following command-line:
        gcc -I. -I- -Wall -D_GNU_SOURCE -ggdb3 -pg -O0  -c main.m -o main.o
and it died with the message:

main.m:171: Internal compiler error in `dwarf2out_finish', at dwarf2out.c:10054
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions.

I have come across this problem before, and the work-around seems to be
compiling with -g instead of -ggdb3 (-ggdb1 and -ggdb2 cause a crash, too).

I've included main.mi.

HTH.

-- 
 /"\                                                 m i k e   b u r r e l l
 \ /     ASCII RIBBON CAMPAIGN                               mikpos@home.com
  X        AGAINST HTML MAIL,
 / \      AND NEWS TOO, dammit   finger mikpos@mikpos.dyndns.org for GPG key

main.mi.bz2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]