home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / gnu / gcc / bug / 3053 < prev    next >
Encoding:
Text File  |  1992-12-23  |  2.7 KB  |  70 lines

  1. Newsgroups: gnu.gcc.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!dlvax2.datlog.co.UK!istewart
  3. From: istewart@dlvax2.datlog.co.UK (Ian Stewartson)
  4. Subject: Problems with GCC 2.3.2 on Sparc System V.4 (part 1 of 3)
  5. Message-ID: <9212232031.AA16521@life>
  6. Sender: gnulists@ai.mit.edu
  7. Reply-To: istewart@datlog.co.uk
  8. Organization: Data Logic Ltd. (A Raytheon Company)
  9. References: <9212222301.AA29502@raisin-nut>
  10. Distribution: gnu
  11. Date: Wed, 23 Dec 1992 20:23:58 GMT
  12. Approved: bug-gcc@prep.ai.mit.edu
  13. Lines: 55
  14.  
  15. - Start of Problem Report -
  16.  
  17. GNU CC version:
  18.     Reading specs from /usr/local/lib/gcc-lib/sparc-icl-sysv4/2.3.2/specs
  19.     gcc version 2.3.2
  20.  
  21. Input files:                See parts 2 and 3.
  22.  
  23.  
  24. Hardware:                ICL DRS 6000 (sparc)
  25.                     (I believe this is the reference
  26.                      system for sparc V.4 ports from
  27.                      USL).
  28. OS Name:                ICL DN/NX
  29.                     (System V.4.0)
  30. OS Version number:            Release 4.0 Level 6.02
  31. Configure operands:            sparc-icl-sysv4
  32. Modifications made to the compiler:    None.
  33. Other Deviations:            None.
  34.  
  35. Problem 1:
  36.  
  37. When building the libg++ 2.3 libraries, the following errors are generated.
  38. This is the output from the build, excluding the terimating aborts.
  39.  
  40.     gcc -O -g -save-temps -nostdinc++ -I.. -I. -I./../iostream -I./../g++-include  -c Obstack.cc
  41. /usr/ccs/bin/as: "Obstack.s", line 298: error: redefinition of symbol ".L_E1221"
  42. /usr/ccs/bin/as: "Obstack.s", line 313: error: redefinition of symbol ".L_E1296"
  43. /usr/ccs/bin/as: "Obstack.s", line 328: error: redefinition of symbol ".L_E1297"
  44. /usr/ccs/bin/as: "Obstack.s", line 1805: error: redefinition of symbol ".L_b20"
  45. /usr/ccs/bin/as: "Obstack.s", line 2444: error: redefinition of symbol ".L_b26"
  46. /usr/ccs/bin/as: "Obstack.s", line 2738: error: redefinition of symbol ".L_b28"
  47. /usr/ccs/bin/as: "Obstack.s", line 3088: error: redefinition of symbol ".L_b30"
  48. /usr/ccs/bin/as: "Obstack.s", line 3452: error: redefinition of symbol ".L_b32"
  49. /usr/ccs/bin/as: "Obstack.s", line 3769: error: redefinition of symbol ".L_b34"
  50. /usr/ccs/bin/as: "Obstack.s", line 4038: error: redefinition of symbol ".L_b36"
  51.  
  52. Problem 2:
  53.  
  54. If I attempt to re-build gcc using gcc by replace the value of the macro CC
  55. in the makefile with gcc (at line 53), I get the following error:
  56.  
  57.     gcc  -DIN_GCC -DSVR4  -g   -o genextract \
  58.      genextract.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "gcc"@"alloca.o" in "cc"@?*) echo alloca.o ;; esac ` ` case "" in ?*) echo  ;; esac `   
  59. Undefined            first referenced
  60.  symbol                  in file
  61. alloca                              rtl.o
  62. ld: genextract: fatal error: Symbol referencing errors. No output written to genextract
  63.  
  64. I thought alloca was handled internally by gcc.  Have I mis-understood
  65. something; can you not rebuild the compiler with itself or is there another
  66. problem?
  67.  
  68.  
  69.  
  70.