cp-demangle.c:2838: internal | compiler error: Segmentation Fault
kamaraju kusumanchi
raju.mailinglists@gmail.com
Thu Jan 15 19:18:00 GMT 2009
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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: application/octet-stream
Size: 4080 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20090115/f4dd3abd/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.log
Type: application/octet-stream
Size: 30385 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20090115/f4dd3abd/attachment-0001.obj>
More information about the Gcc-help
mailing list