cp-demangle.c:2838: internal | compiler error: Segmentation Fault

kamaraju kusumanchi raju.mailinglists@gmail.com
Thu Jan 22 00:15:00 GMT 2009


On Fri, Jan 16, 2009 at 10:41 AM, Ian Lance Taylor <iant@google.com> wrote:
> "kamaraju kusumanchi" <raju.mailinglists@gmail.com> writes:
>
>> I am trying to compile gcc 4.4 20090109 from gcc 4.4 20081107 on a Sun
>> Solaris machine.
>
>> gcc -c -DHAVE_CONFIG_H -g -fkeep-inline-functions
>> -I/home/kkusuman/software/myroot/include -I.
>> -I/home/kkusuman/software/unZipped/gcc-4.4-20090109/libiberty/../include
>>  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic
>> /home/kkusuman/software/unZipped/gcc-4.4-20090109/libiberty/cp-demangle.c
>> -o cp-demangle.o
>> /home/kkusuman/software/unZipped/gcc-4.4-20090109/libiberty/cp-demangle.c:
>> In function 'd_substitution':
>> /home/kkusuman/software/unZipped/gcc-4.4-20090109/libiberty/cp-demangle.c:2838:
>> internal compiler error: Segmentation Fault
>
> If this is repeatable and has not been fixed in current mainline, then
> this is a bug im the compiler.  Please file a bug report at
> http://gcc.gnu.org/bugzilla/ , so that we don't ship a broken 4.4.0
> compiler.  Thanks.
>
> Ian
>

It is repeatable. But I think the bug is due to yacc in /usr/ccs/bin
on my system. One of the gcc installation documents asks to remove it
from the path. I am trying to compile bison (replacement of yacc) to
see if that makes it go away.

raju



More information about the Gcc-help mailing list