Chrene

Mosml make log

Aug 31st, 2013
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.56 KB | None | 0 0
  1. ➜ ~ cd /usr/local/mosml/src
  2. ➜ src git:(master) sudo make world
  3. cd config; make all
  4. sh autoconf gcc
  5. Checking the sizes of integers and pointers...
  6. Wow! A 64 bit architecture!
  7. The char type is signed. Good!
  8. This is a little-endian architecture.
  9. This architecture has no alignment constraints.
  10. Doubles can be word-aligned.
  11. Function "memmove" is provided and handles overlapping moves correctly.
  12. Function "bcopy" is provided and handles overlapping moves correctly.
  13. _setjmp and _longjmp appear to work. Good!
  14. sighandler.c:3:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
  15. 1 warning generated.
  16. sighandler.c:3:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
  17. sighandler.c:6:7: warning: incompatible pointer types assigning to 'int (*)()' from 'void (*)(int)' [-Wincompatible-pointer-types]
  18. 2 warnings generated.
  19. Sorry, I can't determine the return type for signal handlers.
  20. I'm assuming "void". If this seems to cause errors,
  21. try to change "sighandler_return_type" in s.h
  22. Signals have the BSD semantics.
  23. rename() found.
  24. You have BSD sockets.
  25. unistd.h found.
  26. dirent.h found.
  27. lockf() found.
  28. mkfifo() found.
  29. getpriority() found.
  30. utime() found.
  31. utimes() found.
  32. dup2() found.
  33. fchmod() found.
  34. truncate() found.
  35. select() found.
  36. symlink() found.
  37. wait3() found.
  38. waitpid() found.
  39. getgroups() found.
  40. POSIX termios found.
  41. cp m.h s.h ../runtime
  42. cd runtime; make all
  43. gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o interp.o interp.c
  44. clang: warning: argument unused during compilation: '-fno-defer-pop'
  45. interp.c:983:7: warning: implicit declaration of function 'p_table_in_heap' is
  46. invalid in C99 [-Wimplicit-function-declaration]
  47. Modify(modify_dest, modify_newval);
  48. ^
  49. ./memory.h:47:7: note: expanded from macro 'Modify'
  50. if (Is_in_heap (fp)){ \
  51. ^
  52. ./major_gc.h:34:8: note: expanded from macro 'Is_in_heap'
  53. && (p_table_in_heap(p) == In_heap))
  54. ^
  55. 1 warning generated.
  56. gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o misc.o misc.c
  57. clang: warning: argument unused during compilation: '-fno-defer-pop'
  58. gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o stacks.o stacks.c
  59. clang: warning: argument unused during compilation: '-fno-defer-pop'
  60. gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o fix_code.o fix_code.c
  61. clang: warning: argument unused during compilation: '-fno-defer-pop'
  62. gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o main.o main.c
  63. clang: warning: argument unused during compilation: '-fno-defer-pop'
  64. gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o fail.o fail.c
  65. clang: warning: argument unused during compilation: '-fno-defer-pop'
  66. gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o signals.o signals.c
  67. clang: warning: argument unused during compilation: '-fno-defer-pop'
  68. gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o freelist.o freelist.c
  69. clang: warning: argument unused during compilation: '-fno-defer-pop'
  70. gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o major_gc.o major_gc.c
  71. clang: warning: argument unused during compilation: '-fno-defer-pop'
  72. major_gc.c:496:35: warning: incompatible integer to pointer conversion passing
  73. 'value' (aka 'long') to parameter of type 'addr' (aka 'char *')
  74. [-Wint-conversion]
  75. if (Is_block (v) && Is_in_heap (v) && Is_white_val (v)){
  76. ^
  77. ./major_gc.h:34:24: note: expanded from macro 'Is_in_heap'
  78. && (p_table_in_heap(p) == In_heap))
  79. ^
  80. major_gc.c:142:27: note: passing argument to parameter 'a' here
  81. char p_table_in_heap(addr a) {
  82. ^
  83. major_gc.c:587:34: warning: incompatible integer to pointer conversion passing
  84. 'value' (aka 'long') to parameter of type 'addr' (aka 'char *')
  85. [-Wint-conversion]
  86. if (Is_block(v) && Is_in_heap(v) && Is_white_val(v))
  87. ^
  88. ./major_gc.h:34:24: note: expanded from macro 'Is_in_heap'
  89. && (p_table_in_heap(p) == In_heap))
  90. ^
  91. major_gc.c:142:27: note: passing argument to parameter 'a' here
  92. char p_table_in_heap(addr a) {
  93. ^
  94. 2 warnings generated.
  95. gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o minor_gc.o minor_gc.c
  96. clang: warning: argument unused during compilation: '-fno-defer-pop'
  97. gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o memory.o memory.c
  98. clang: warning: argument unused during compilation: '-fno-defer-pop'
  99. memory.c:125:3: warning: implicit declaration of function 'p_table_add_pages' is
  100. invalid in C99 [-Wimplicit-function-declaration]
  101. p_table_add_pages(mem, mem+malloc_request);
  102. ^
  103. memory.c:200:3: warning: implicit declaration of function 'p_table_in_heap' is
  104. invalid in C99 [-Wimplicit-function-declaration]
  105. Modify (fp, val);
  106. ^
  107. ./memory.h:47:7: note: expanded from macro 'Modify'
  108. if (Is_in_heap (fp)){ \
  109. ^
  110. ./major_gc.h:34:8: note: expanded from macro 'Is_in_heap'
  111. && (p_table_in_heap(p) == In_heap))
  112. ^
  113. 2 warnings generated.
  114. gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o alloc.o alloc.c
  115. clang: warning: argument unused during compilation: '-fno-defer-pop'
  116. gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o roots.o roots.c
  117. clang: warning: argument unused during compilation: '-fno-defer-pop'
  118. gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o compare.o compare.c
  119. clang: warning: argument unused during compilation: '-fno-defer-pop'
  120. compare.c:19:42: warning: implicit declaration of function 'p_table_in_heap' is
  121. invalid in C99 [-Wimplicit-function-declaration]
  122. if ((!Is_atom(v1) && !Is_young(v1) && !Is_in_heap(v1)) ||
  123. ^
  124. ./major_gc.h:34:8: note: expanded from macro 'Is_in_heap'
  125. && (p_table_in_heap(p) == In_heap))
  126. ^
  127. 1 warning generated.
  128. gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o ints.o ints.c
  129. clang: warning: argument unused during compilation: '-fno-defer-pop'
  130. gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o floats.o floats.c
  131. clang: warning: argument unused during compilation: '-fno-defer-pop'
  132. gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o str.o str.c
  133. clang: warning: argument unused during compilation: '-fno-defer-pop'
  134. gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o io.o io.c
  135. clang: warning: argument unused during compilation: '-fno-defer-pop'
  136. gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o extern.o extern.c
  137. clang: warning: argument unused during compilation: '-fno-defer-pop'
  138. gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o externcp.o externcp.c
  139. clang: warning: argument unused during compilation: '-fno-defer-pop'
  140. gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o intern.o intern.c
  141. clang: warning: argument unused during compilation: '-fno-defer-pop'
  142. intern.c:476:25: warning: incompatible pointer types passing 'char *' to
  143. parameter of type 'value *' (aka 'long *') [-Wincompatible-pointer-types]
  144. expand_block(block, Hp_val(res), whsize32, whsize, color);
  145. ^~~~~~~~~~~
  146. ./mlvalues.h:94:21: note: expanded from macro 'Hp_val'
  147. #define Hp_val(val) ((char *) (((header_t *) (val)) - 1))
  148. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  149. intern.c:155:52: note: passing argument to parameter 'dest' here
  150. static void expand_block(value32 * source, value * dest, mlsize_t source...
  151. ^
  152. 1 warning generated.
  153. gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o interncp.o interncp.c
  154. clang: warning: argument unused during compilation: '-fno-defer-pop'
  155. gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o hash.o hash.c
  156. clang: warning: argument unused during compilation: '-fno-defer-pop'
  157. hash.c:76:7: warning: implicit declaration of function 'p_table_in_heap' is
  158. invalid in C99 [-Wimplicit-function-declaration]
  159. if (Is_in_heap(obj) || Is_young(obj)) {
  160. ^
  161. ./major_gc.h:34:8: note: expanded from macro 'Is_in_heap'
  162. && (p_table_in_heap(p) == In_heap))
  163. ^
  164. 1 warning generated.
  165. gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o sys.o sys.c
  166. clang: warning: argument unused during compilation: '-fno-defer-pop'
  167. sys.c:36:12: error: redefinition of 'sys_nerr' with a different type: 'int' vs
  168. 'const int'
  169. extern int sys_nerr;
  170. ^
  171. /usr/include/stdio.h:459:20: note: previous definition is here
  172. extern __const int sys_nerr; /* perror(3) external variables */
  173. ^
  174. sys.c:37:15: error: redefinition of 'sys_errlist' with a different type:
  175. 'char *[]' vs 'const char *const []'
  176. extern char * sys_errlist [];
  177. ^
  178. /usr/include/stdio.h:460:30: note: previous definition is here
  179. extern __const char *__const sys_errlist[];
  180. ^
  181. sys.c:44:12: warning: returning 'const char *const' from a function with result
  182. type 'char *' discards qualifiers
  183. [-Wincompatible-pointer-types-discards-qualifiers]
  184. return sys_errlist[errno];
  185. ^~~~~~~~~~~~~~~~~~
  186. 1 warning and 2 errors generated.
  187. make[1]: *** [sys.o] Error 1
  188. make: *** [world] Error 2
Advertisement
Add Comment
Please, Sign In to add comment