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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am trying to compile gcc 4.4 20090109 from gcc 4.4 20081107 on a Sun
Solaris machine.

$ gcc -v
Using built-in specs.
Target: sparc-sun-solaris2.8
Configured with:
/home/kkusuman/software/unZipped/gcc-4.4-20081107/configure
--enable-languages=c,fortran
--prefix=/home/kkusuman/software/myroot/gcc-4.4-20081107 --with-gnu-as
--with-as=/home/kkusuman/software/myroot/bin/as --with-gnu-ld
--with-ld=/home/kkusuman/software/myroot/bin/ld
--with-build-time-tools=/home/kkusuman/software/myroot/bin/
Thread model: posix
gcc version 4.4.0 20081107 (experimental) (GCC)


The build and the source directories are different. The configure
command used is

$nohup /home/kkusuman/software/unZipped/gcc-4.4-20090109/configure
--enable-languages=c,c++,fortran
--prefix=/home/kkusuman/software/myroot/gcc-4.4-20090109 --with-gnu-as
--with-as=/home/kkusuman/software/myroot/bin/as --with-gnu-ld
--with-ld=/home/kkusuman/software/myroot/bin/ld 2>&1 > configure.log

The make command is

$nohup make 2>&1 > make.log &


The compilation stops with

if [ x"" != x ]; then \
          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/cplus-dem.c
-o pic/cplus-dem.o; \
        else true; fi
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/cplus-dem.c
-o cplus-dem.o
if [ x"" != x ]; then \
          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 pic/cp-demangle.o; \
        else true; fi
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
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [cp-demangle.o] Error 1
make[3]: Leaving directory
`/home/kkusuman/software/compileHere/gcc-4.4-20090109/libiberty'
make[2]: *** [all-stage1-libiberty] Error 2
make[2]: Leaving directory
`/home/kkusuman/software/compileHere/gcc-4.4-20090109'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory
`/home/kkusuman/software/compileHere/gcc-4.4-20090109'
make: *** [all] Error 2





The log files (configure.log, make.log) are attached. Any idea how to proceed?

Attachment: configure.log
Description: Binary data

Attachment: make.log
Description: Binary data


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux