🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #50312

enquire hangs on SCO ODT 3.0

#50312
From: Mark Steckel
Date: Wed, 03 Nov 1993 05:11
67 lines
2956 bytes
Hi Folks,

I have been trying to compile the latest version of gcc (2.5.2) with
little success. The build stops when the intermediate program 'enquire'
is run. Apparently enquire hangs during its run. 

I have compiled gcc on various platforms in the past including
other variants of intel based unix. I am stumped. Any idea are welcome.

Some particulars:
Machine: Gateway 2000 486/33 16Meg
OS: SCO ODT 3.0
GCC: 2.5.2 (configured as 'i486-unknown-sco3.2v4.2')

enquire is initially compiled with a bootstrap version of gcc (xgcc).
I have tried compiling enquire with cc and get the same results.
I grabed a binary version of enquire from a 386 machine w/o fpu and 
it also hangs.

The following is some output from enquire run under gdb. Once enquire
hangs I interupt it with CTRL-c. For some reason it always hangs on the
asm instruction 'flds' in fStore(). It is probably important to note
that fStore() has been called a significant number of times before
it decides to hang.

------------------ gdb session output -------------------
..
The smallest numbers are not kept normalised
Smallest unnormalised positive number = 1.40129846e-45

Program received signal SIGINT (2), Interrupt
0x33cc in fStore (a=1.27605888e+38, b=0x7ffff7e0) at enquire.c:2115
2115    }
(gdb) whatis a
type = float
(gdb) whatis b
type = float *
(gdb) disassemble
Dump of assembler code for function fStore:
0x33c0 <fStore>:        pushl  %ebp
0x33c1 <fStore+1>:      movl   %esp,%ebp
0x33c3 <fStore+3>:      subl   $0x8,%esp
0x33c6 <fStore+6>:      fldl   0x8(%ebp)
0x33c9 <fStore+9>:      fstps  0xfffffffc(%ebp)
0x33cc <fStore+12>:     flds   0xfffffffc(%ebp)
0x33cf <fStore+15>:     fstps  0xfffffff8(%ebp)
0x33d2 <fStore+18>:     movl   0x10(%ebp),%eax
0x33d5 <fStore+21>:     movl   0xfffffff8(%ebp),%edx
0x33d8 <fStore+24>:     movl   %edx,(%eax)
0x33da <fStore+26>:     movl   %ebp,%esp
0x33dc <fStore+28>:     popl   %ebp
0x33dd <fStore+29>:     ret
0x33de <fStore+30>:     nop
0x33df <fStore+31>:     nop
End of assembler dump.
(gdb) stepi
0x33cc  2115    }
(gdb) stepi
0x33cc  2115    }
(gdb) stepi
0x33cc  2115    }

 
---------------------------------------------------------
Mark J. Steckel  (mjs@sextant.com), Sextant, Incorporated
3881 Sparrow Wood, Ann Arbor, MI 48108, 313-677-0952
Technical Details
Message-ID: <2b7eia$ohc@nigel.msen.com>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!sol.ctr.columbia.edu!usc!sdd.hp.com!nigel.msen.com!garnet.msen.com!mjs

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,f28da44178e18a19,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-11-02 23:28:01 PST
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!sol.ctr.columbia.edu!usc!sdd.hp.com!nigel.msen.com!garnet.msen.com!mjs
From: mjs@garnet.msen.com (Mark Steckel)
Newsgroups: gnu.gcc.help
Subject: enquire hangs on SCO ODT 3.0
Date: 3 Nov 1993 05:11:38 GMT
Organization: Msen, Inc. -- Ann Arbor, MI (account info: +1 313 998-4562)
Lines: 68
Message-ID: <2b7eia$ohc@nigel.msen.com>
NNTP-Posting-Host: garnet.msen.com
X-Newsreader: TIN [version 1.1 PL9]