Segfault on gcc on bignum.c

C

Charles Comstock

with
[167 cc1@tom ~/install/ruby]$ ./configure --prefix=$HOME/usr
--enable-install-doc --enable-pthread

I got -

[163 cc1@tom ~/install/ruby]$ make
gcc -g -O2 -I. -I. -I/home/cc1/usr/include -c bignum.c
bignum.c: In function `rb_uint2big':
bignum.c:153: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
make: *** [bignum.o] Error 1

[164 cc1@tom ~/install/ruby]$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--host=i386-redhat-linux
Thread model: posix
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-20)

This appears to be a bug in gcc but anyone have any ideas with this?
The machine has a fair amount of custom hardware and stuff that may be
part of the problem, but anyone else have a problem like this before?

Charles Comstock
 
S

Sam Stephenson

This appears to be a bug in gcc but anyone have any ideas with this?
The machine has a fair amount of custom hardware and stuff that may be
part of the problem, but anyone else have a problem like this before?

Are you able to reproduce the error? gcc segfaults are typically
indicative of a hardware problem.

Sam
 
C

Charles Comstock

Sam said:
Are you able to reproduce the error? gcc segfaults are typically
indicative of a hardware problem.

Sam

Every time I type make it segfaults. It's consistant in that respect.
I don't have another machine I can test that version of gcc on though if
that's what you mean to see if it's a problem with that machine.

Charlie
 
C

Charles Comstock

Charles said:
Every time I type make it segfaults. It's consistant in that respect. I
don't have another machine I can test that version of gcc on though if
that's what you mean to see if it's a problem with that machine.

Charlie

Hmm never mind, that's what happened last night, but now it makes fine.
Very strange.

Charlie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,262
Messages
2,571,059
Members
48,769
Latest member
Clifft

Latest Threads

Top