home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / bsd / 10642 < prev    next >
Encoding:
Internet Message Format  |  1992-12-26  |  1.6 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!olivea!mintaka.lcs.mit.edu!ai-lab!hal.gnu.ai.mit.edu!mycroft
  2. From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum)
  3. Newsgroups: comp.unix.bsd
  4. Subject: [386BSD] GCC 2.3.2 floating point problems [FIX/2]
  5. Message-ID: <1hdf4sINNess@life.ai.mit.edu>
  6. Date: 24 Dec 92 22:55:24 GMT
  7. Organization: MIT Artificial Intelligence Lab
  8. Lines: 25
  9. NNTP-Posting-Host: hal.gnu.ai.mit.edu
  10.  
  11.  
  12. Some people have mentioned that `enquire' fails to compile while
  13. building GCC 2.3.2.  Well, this is really a sign of a much larger
  14. problem.
  15.  
  16. Basically, something is leaving junk on the floating point stack, and
  17. it's overflowing, causing `cc1' to get a floating point exception.  In
  18. some cases, it abort()s, yielding a message about `signal 6', and in
  19. some cases, it cuases a `floating constant out of range' message.  Both
  20. messages are false.
  21.  
  22. I'm not certain yet exactly what's causing this, but I've fixed it
  23. *TEMPORARILY* [read: long enough to build GCC 2.3.2 and (hopefully) GDB
  24. 4.7] by compiling atof.c to assembler code, inserting a `FINIT'
  25. instruction at the beginning of the function, and sticking the modified
  26. version in libc.
  27.  
  28. NOTE: THIS IS A HORRIBLE KLUDGE.  I will try to do it right once I get
  29. a few key tools built and can actually isolate the problem.  Meanwhile,
  30. if anyone else has already tracked this down, *please* email me info so
  31. I don't waste my time.
  32. -- 
  33.  \  /   Charles Hannum, mycroft@ai.mit.edu
  34.  /\ \   PGP public key available on request.  MIME, AMS, NextMail accepted.
  35. Scheme  White heterosexual atheist male (WHAM) pride!
  36.