home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / gnu / g / bug / 2080 < prev    next >
Encoding:
Text File  |  1992-12-27  |  2.5 KB  |  74 lines

  1. Newsgroups: gnu.g++.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!sivs.COM!hugh
  3. From: hugh@sivs.COM (Hugh Daschbach)
  4. Subject: Floating point exception during 2.3.1/2.3.2 build (i386-sysv3)
  5. Message-ID: <9212261701.AA09328@sivs.com>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Sun, 27 Dec 1992 01:01:46 GMT
  10. Approved: bug-g++@prep.ai.mit.edu
  11. Lines: 61
  12.  
  13. Just tried upgrading an i386-sysv3 (ESIX SysV R3.2) from 2.2.2 to
  14. 2.3.2 using patches downloaded from ftp.uu.net.  At the end of the
  15. phase 1 build, "enquire" fails leaving the error message "***
  16. Unexpected signal at point 19" at the tail of float.h.
  17.  
  18. I backed off to 2.3.1.  Same result.  I tried compiling with pcc
  19. instead of the 2.2.2 gcc.  Same result.
  20.  
  21. Here's the compile of enquire.o:
  22.  
  23. ./xgcc -B./  -DIN_GCC   -g     -DNO_MEM -DNO_STDDEF -DNO_LONG_DOUBLE_IO -O0 -I. -c ./enquire.c
  24.  
  25. Enclosed is a bt from running enquire under gdb:
  26.  
  27. $ gdb enquire
  28. GDB 3.5, Copyright (C) 1989 Free Software Foundation, Inc.
  29. There is ABSOLUTELY NO WARRANTY for GDB; type "info warranty" for details.
  30. GDB is free software and you are welcome to distribute copies of it
  31.  under certain conditions; type "info copying" to see the conditions.
  32. Reading symbol data from /u/gnu/gcc-2.2.2/enquire...done.
  33. Function abort not defined.
  34. Type "help" for a list of commands.
  35. (gdb) r -f
  36. Starting program: /u/gnu/gcc-2.2.2/enquire -f
  37. /* float.h */
  38. #ifndef _FLOAT_H___
  39. #define _FLOAT_H___
  40. /* Produced by enquire version 4.3, CWI, Amsterdam */
  41.  
  42.    /* Radix of exponent representation */
  43. #define FLT_RADIX 2
  44.    /* Number of base-FLT_RADIX digits in the significand of a float */
  45. #define FLT_MANT_DIG 1
  46.    /* Number of decimal digits of precision in a float */
  47. #define FLT_DIG 0
  48.  
  49. Program received signal 8, SIGFPE
  50. 0x2d74 in fDiff (a=-2, b=0.375) (enquire.c line 2117)
  51. 2117    Number Diff ARGS2(Number, a, Number, b){Number r; Store(a-b, &r); return (r); }
  52. (gdb) bt
  53. #0  0x2d74 in fDiff (a=-2, b=0.375) (enquire.c line 2117)
  54. #1  0x4201 in fprop (bits_per_byte=8) (enquire.c line 2327)
  55. #2  0x7bf in main (argc=2, argv=(char **) 0x7ffffea4) (enquire.c line 730)
  56. (gdb) c
  57. Continuing.
  58. *** Unexpected signal at point 19
  59.  
  60. /* For hints on dealing with the problem above
  61.    see the section 'TROUBLESHOOTING' in the file ./enquire.c */
  62.  
  63. Program exited with code 01.
  64. (gdb) q
  65.  
  66.  
  67. I haven't a clue as to where to start looking for the problem.  If you
  68. need any more documentation, please let me know.
  69. __
  70. Hugh Daschbach                  hugh@sivs.com
  71. Member of the League for Programming Freedom
  72.  -- write to league@prep.ai.mit.edu
  73.  
  74.