home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / modula3 / 1040 < prev    next >
Encoding:
Internet Message Format  |  1992-11-20  |  5.1 KB

  1. Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!rpi!bu.edu!att!att!drutx!rlp
  2. From: rlp@drutx.ATT.COM (PrehnRL)
  3. Newsgroups: comp.lang.modula3
  4. Subject: Can modula 3 be compiled on sun 490?
  5. Keywords: runtime error ASSERT failed OS.m3
  6. Message-ID: <22563@drutx.ATT.COM>
  7. Date: 20 Nov 92 17:25:01 GMT
  8. Distribution: comp
  9. Organization: AT&T Bell Laboratories - Denver
  10. Lines: 121
  11.  
  12.  
  13. I tried compiling on my SPARC 1+ but it died during the late stages of
  14. libm3 due to lack of space on "/" (~2.3k blocks)
  15. So I tried building on our sun 490.
  16.  
  17.  m3make -f m3makefile.libm3 all install
  18.  
  19. Refused to install the sed,awk,imake & toplevel.tmpl*, recmkdir m3mkpath files.
  20. I copied to requested places from m3make/src.
  21. Also had to copy m3make/SPARc/config to $PREFIX/lib/m3)
  22.  
  23. The following erros then occurred:
  24.  
  25. cd libm3; /wa32/mod3/bin/m3make all
  26. ============================= Building in SPARC
  27. sed -e 's:PUB:/wa32/mod3/include/m3:g' -e 's:LIB:/wa32/mod3/lib/m3:g' \
  28.         < ../config/src/M3Config.m3 > M3Config.m3
  29. /wa32/mod3/bin/m3 -w1 -make -why -nostd -times -g   -a libm3.a -F.PGM_SOURCES 
  30. new source -> compile ../Csupport/src/generic/M3Runtime.c
  31. new source -> compile ../Csupport/src/generic/M3Runtime2.c
  32. new source -> compile ../Csupport/src/SPARC/dtoa.c
  33. new source -> compile ../Csupport/src/generic/M3_BUILTIN.ic
  34. new source -> compile ../C/src/generic/Cerrno.i3
  35.  
  36.  
  37. ***
  38. *** runtime error:
  39. ***    ASSERT failed
  40. ***    file "OS.m3", line 109
  41. ***
  42.  
  43.   
  44. ***
  45. *** runtime error:
  46. ***    Segmentation violation - possible attempt to dereference NIL
  47. ***    pc = 0xf7ffe860
  48. ***
  49.  
  50. *** Quit - core dumped
  51. make: Fatal error: Command failed for target `libm3.a'
  52. Current working directory /wa32/rlp/M3/libm3/SPARC
  53. cd libm3; /wa32/mod3/bin/m3make install
  54. ============================= Building in SPARC
  55. (cd ../Csupport/src/generic; install -c -m  644 M3Runtime.h  /wa32/mod3/lib/m3)
  56. [dwprp rlp] 
  57.  
  58.  
  59. I didn't get this on my workstation, it went a lot further before it
  60. complained about running out of space in "/".
  61.  
  62. Both workstation & 490 are running 4.1.1.
  63. Building on another workstation (4.1.2) produced the following:
  64. ...
  65.      fieldlist/src/Fieldlist.m3 line 80 encountered reserved word,
  66.             underscore appended.
  67. ...
  68. ../fieldlist/src/FieldList.m3", line 117: warning: C reserved word, appending underscore (char)
  69. 1 warning encountered
  70. ...
  71. new source -> compile ../sx/src/SxSyntax.m3
  72. "../sx/src/SxSyntax.m3", line 970: warning: potentially unhandled exception (Sx.PrintError)
  73. "../sx/src/SxSyntax.m3", line 970: warning: potentially unhandled exception (Wr.Failure)
  74. "../sx/src/SxSyntax.m3", line 970: warning: potentially unhandled exception (Thread.Alerted)
  75. "../sx/src/SxSyntax.mning: potentially unhandled exception (Thread.Alerted)
  76. "../sx/src/SxSyntax.m3", line 975: warning: psrc/SxSyntax.m3", line 975: warning: potentially unhandled exception (Thread.Alerted)
  77. 9 warnings encountered
  78. missing library -> archive libm3.a
  79. ...
  80. ar: filename ExtendedFloat.io truncated to ExtendedFloat.i
  81. ar: filename IntegerToIntegerTable.io truncated to IntegerToIntege
  82. ar: filename IntegerToRefanyTable.io truncated to IntegerToRefany
  83. ar: filename IntegerToTextTable.io truncated to IntegerToTextTa
  84. ar: filename RefanyToIntegerTable.io truncated to RefanyToInteger
  85. ar: filename RefanyToRefanyTable.io truncated to RefanyToRefanyT
  86. ar: filename RefanyToTextTable.io truncated to RefanyToTextTab
  87. ar: filename TextToIntegerTable.io truncated to TextToIntegerTa
  88. ar: filename TextToRefanyTable.io truncated to TextToRefanyTab
  89. ar: filename TextToTextTable.io truncated to TextToTextTable
  90. ar: filename ColorNameCache.io truncated to ColorNameCache.
  91. ar: filename IntensityScale.io truncated to IntensityScale.
  92. ar: filename RGBSortPrivate.io truncated to RGBSortPrivate.
  93. ar: filename ExtendedFloat.mo truncated to ExtendedFloat.m
  94.  
  95. lost some data here
  96.  
  97. when making X11R4:
  98. ============================= Building in SPARC
  99. /local/rlp/mod3//bin/m3 -w1 -make -why -g   -a libm3X11R4.a -F.PGM_SOURCES 
  100. new source -> compile ../src/X/X.i3
  101. "../src/X/X.i3", line 3145: warning: C reserved word, appending underscore (default)
  102. "../src/X/X.i3", line 3161: warning: C reserved word, appending underscore (default)
  103.  
  104. the resulting lib files are as follows:
  105. -rw-r--r--   1 rlp      idsx        1730 Nov 18 18:13 M3Machine.h
  106. -rw-r--r--   1 rlp      idsx       12184 Nov 18 18:13 M3Runtime.h
  107. -rw-r--r--   1 rlp      idsx        7185 Nov 18 17:12 config
  108. -rwxr-xr-x   1 rlp      idsx       32768 Nov 18 17:12 imake*
  109. -rw-r--r--   1 rlp      idsx     5520556 Nov 18 18:15 libm3.a
  110. -rw-r--r--   1 rlp      idsx      457390 Nov 18 18:14 libm3.ax
  111. -rw-r--r--   1 rlp      idsx      411190 Nov 18 18:20 libm3X11R4.a
  112. -rw-r--r--   1 rlp      idsx      181677 Nov 18 18:20 libm3X11R4.ax
  113. -rwxr-xr-x   1 rlp      idsx     5324800 Nov 18 17:47 m3compiler*
  114. -rwxr-xr-x   1 rlp      idsx        1302 Nov 18 17:12 m3makeaux*
  115.  
  116. Questions are:
  117. 1) Is there hope for 490 compilation?
  118. 2) Do the messages from the SPARC compilation mean that it will not work
  119.    properly?
  120.  
  121.  
  122.  
  123. ============================================================================
  124.  
  125.  Robert Prehn
  126.  AT&T Bell Labs
  127.  Room  1F50   
  128.  11900 North Pecos
  129.  Denver, Co  80234
  130.  
  131.  drutx!rlp       
  132.  (303) 538-4554 
  133.