This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Bug report.
- From: Maciek Pudelko <foxx at ultra dot cto dot us dot edu dot pl>
- To: <gcc-bugs at gcc dot gnu dot org>
- Date: Fri, 17 May 2002 12:06:17 +0200 (MET DST)
- Subject: Bug report.
Hi!
I don't know how to describe my problem using GNATS so I decided to send
it to above address.
When I try to build a new gcc-3.1 i receive:
......
./xgcc -B./ -B/usr/local/gcc-3.1/sparc-sun-solaris2.6/bin/ -isystem
/usr/local/gcc-3.1/sparc-sun-solaris2.6/include -isystem
/usr/local/gcc-3.1/sparc-sun-solaris2.6/sys-include -DIN_GCC -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem
./include -I. -I. -I../../gcc-3.1/gcc -I../../gcc-3.1/gcc/.
-I../../gcc-3.1/gcc/config -I../../gcc-3.1/gcc/../include \
-c ../../gcc-3.1/gcc/config/sparc/gmon-sol2.c -o gmon.o
../../gcc-3.1/gcc/config/sparc/gmon-sol2.c: In function `monstartup':
../../gcc-3.1/gcc/config/sparc/gmon-sol2.c:167: internal error:
Segmentation Fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[2]: *** [gmon.o] Error 1
make[2]: Leaving directory `/opt/src/gcc/gcc-3.1-objdir/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/opt/src/gcc/gcc-3.1-objdir/gcc'
make: *** [bootstrap-lean] Error 2
My current gcc version (gcc -v):
# gcc -v
Reading specs from
/usr/local/gcc/bin/../lib/gcc-lib/sparc-sun-solaris2.6/3.0.2/specs
Configured with: ../gcc-3.0.2/configure --prefix=/usr/local/gcc-3.0.2
Thread model: posix
gcc version 3.0.2
Which has been compiled with above options:
--prefix=/usr/local/gcc-3.0.2
--with-as=/usr/local/binutils/bin/as
--with-ld=/usr/local/binutils/bin/ld
--with-gnu-ld
--enable-shared
--enable-threads
--enable-threads=solaris
--disable-cpp
--enable-languages=c++,objc
--disable-nls
--with-gnu-ld
I've used the same options to build gcc-3.1.
What should I do with it?
Maciek "Foxx" Pudelko