Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ➜ ~ cd /usr/local/mosml/src
- ➜ src git:(master) sudo make world
- cd config; make all
- sh autoconf gcc
- Checking the sizes of integers and pointers...
- Wow! A 64 bit architecture!
- The char type is signed. Good!
- This is a little-endian architecture.
- This architecture has no alignment constraints.
- Doubles can be word-aligned.
- Function "memmove" is provided and handles overlapping moves correctly.
- Function "bcopy" is provided and handles overlapping moves correctly.
- _setjmp and _longjmp appear to work. Good!
- sighandler.c:3:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
- 1 warning generated.
- sighandler.c:3:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
- sighandler.c:6:7: warning: incompatible pointer types assigning to 'int (*)()' from 'void (*)(int)' [-Wincompatible-pointer-types]
- 2 warnings generated.
- Sorry, I can't determine the return type for signal handlers.
- I'm assuming "void". If this seems to cause errors,
- try to change "sighandler_return_type" in s.h
- Signals have the BSD semantics.
- rename() found.
- You have BSD sockets.
- unistd.h found.
- dirent.h found.
- lockf() found.
- mkfifo() found.
- getpriority() found.
- utime() found.
- utimes() found.
- dup2() found.
- fchmod() found.
- truncate() found.
- select() found.
- symlink() found.
- wait3() found.
- waitpid() found.
- getgroups() found.
- POSIX termios found.
- cp m.h s.h ../runtime
- cd runtime; make all
- gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o interp.o interp.c
- clang: warning: argument unused during compilation: '-fno-defer-pop'
- interp.c:983:7: warning: implicit declaration of function 'p_table_in_heap' is
- invalid in C99 [-Wimplicit-function-declaration]
- Modify(modify_dest, modify_newval);
- ^
- ./memory.h:47:7: note: expanded from macro 'Modify'
- if (Is_in_heap (fp)){ \
- ^
- ./major_gc.h:34:8: note: expanded from macro 'Is_in_heap'
- && (p_table_in_heap(p) == In_heap))
- ^
- 1 warning generated.
- gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o misc.o misc.c
- clang: warning: argument unused during compilation: '-fno-defer-pop'
- gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o stacks.o stacks.c
- clang: warning: argument unused during compilation: '-fno-defer-pop'
- gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o fix_code.o fix_code.c
- clang: warning: argument unused during compilation: '-fno-defer-pop'
- gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o main.o main.c
- clang: warning: argument unused during compilation: '-fno-defer-pop'
- gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o fail.o fail.c
- clang: warning: argument unused during compilation: '-fno-defer-pop'
- gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o signals.o signals.c
- clang: warning: argument unused during compilation: '-fno-defer-pop'
- gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o freelist.o freelist.c
- clang: warning: argument unused during compilation: '-fno-defer-pop'
- gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o major_gc.o major_gc.c
- clang: warning: argument unused during compilation: '-fno-defer-pop'
- major_gc.c:496:35: warning: incompatible integer to pointer conversion passing
- 'value' (aka 'long') to parameter of type 'addr' (aka 'char *')
- [-Wint-conversion]
- if (Is_block (v) && Is_in_heap (v) && Is_white_val (v)){
- ^
- ./major_gc.h:34:24: note: expanded from macro 'Is_in_heap'
- && (p_table_in_heap(p) == In_heap))
- ^
- major_gc.c:142:27: note: passing argument to parameter 'a' here
- char p_table_in_heap(addr a) {
- ^
- major_gc.c:587:34: warning: incompatible integer to pointer conversion passing
- 'value' (aka 'long') to parameter of type 'addr' (aka 'char *')
- [-Wint-conversion]
- if (Is_block(v) && Is_in_heap(v) && Is_white_val(v))
- ^
- ./major_gc.h:34:24: note: expanded from macro 'Is_in_heap'
- && (p_table_in_heap(p) == In_heap))
- ^
- major_gc.c:142:27: note: passing argument to parameter 'a' here
- char p_table_in_heap(addr a) {
- ^
- 2 warnings generated.
- gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o minor_gc.o minor_gc.c
- clang: warning: argument unused during compilation: '-fno-defer-pop'
- gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o memory.o memory.c
- clang: warning: argument unused during compilation: '-fno-defer-pop'
- memory.c:125:3: warning: implicit declaration of function 'p_table_add_pages' is
- invalid in C99 [-Wimplicit-function-declaration]
- p_table_add_pages(mem, mem+malloc_request);
- ^
- memory.c:200:3: warning: implicit declaration of function 'p_table_in_heap' is
- invalid in C99 [-Wimplicit-function-declaration]
- Modify (fp, val);
- ^
- ./memory.h:47:7: note: expanded from macro 'Modify'
- if (Is_in_heap (fp)){ \
- ^
- ./major_gc.h:34:8: note: expanded from macro 'Is_in_heap'
- && (p_table_in_heap(p) == In_heap))
- ^
- 2 warnings generated.
- gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o alloc.o alloc.c
- clang: warning: argument unused during compilation: '-fno-defer-pop'
- gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o roots.o roots.c
- clang: warning: argument unused during compilation: '-fno-defer-pop'
- gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o compare.o compare.c
- clang: warning: argument unused during compilation: '-fno-defer-pop'
- compare.c:19:42: warning: implicit declaration of function 'p_table_in_heap' is
- invalid in C99 [-Wimplicit-function-declaration]
- if ((!Is_atom(v1) && !Is_young(v1) && !Is_in_heap(v1)) ||
- ^
- ./major_gc.h:34:8: note: expanded from macro 'Is_in_heap'
- && (p_table_in_heap(p) == In_heap))
- ^
- 1 warning generated.
- gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o ints.o ints.c
- clang: warning: argument unused during compilation: '-fno-defer-pop'
- gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o floats.o floats.c
- clang: warning: argument unused during compilation: '-fno-defer-pop'
- gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o str.o str.c
- clang: warning: argument unused during compilation: '-fno-defer-pop'
- gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o io.o io.c
- clang: warning: argument unused during compilation: '-fno-defer-pop'
- gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o extern.o extern.c
- clang: warning: argument unused during compilation: '-fno-defer-pop'
- gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o externcp.o externcp.c
- clang: warning: argument unused during compilation: '-fno-defer-pop'
- gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o intern.o intern.c
- clang: warning: argument unused during compilation: '-fno-defer-pop'
- intern.c:476:25: warning: incompatible pointer types passing 'char *' to
- parameter of type 'value *' (aka 'long *') [-Wincompatible-pointer-types]
- expand_block(block, Hp_val(res), whsize32, whsize, color);
- ^~~~~~~~~~~
- ./mlvalues.h:94:21: note: expanded from macro 'Hp_val'
- #define Hp_val(val) ((char *) (((header_t *) (val)) - 1))
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- intern.c:155:52: note: passing argument to parameter 'dest' here
- static void expand_block(value32 * source, value * dest, mlsize_t source...
- ^
- 1 warning generated.
- gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o interncp.o interncp.c
- clang: warning: argument unused during compilation: '-fno-defer-pop'
- gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o hash.o hash.c
- clang: warning: argument unused during compilation: '-fno-defer-pop'
- hash.c:76:7: warning: implicit declaration of function 'p_table_in_heap' is
- invalid in C99 [-Wimplicit-function-declaration]
- if (Is_in_heap(obj) || Is_young(obj)) {
- ^
- ./major_gc.h:34:8: note: expanded from macro 'Is_in_heap'
- && (p_table_in_heap(p) == In_heap))
- ^
- 1 warning generated.
- gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -fPIC -o sys.o sys.c
- clang: warning: argument unused during compilation: '-fno-defer-pop'
- sys.c:36:12: error: redefinition of 'sys_nerr' with a different type: 'int' vs
- 'const int'
- extern int sys_nerr;
- ^
- /usr/include/stdio.h:459:20: note: previous definition is here
- extern __const int sys_nerr; /* perror(3) external variables */
- ^
- sys.c:37:15: error: redefinition of 'sys_errlist' with a different type:
- 'char *[]' vs 'const char *const []'
- extern char * sys_errlist [];
- ^
- /usr/include/stdio.h:460:30: note: previous definition is here
- extern __const char *__const sys_errlist[];
- ^
- sys.c:44:12: warning: returning 'const char *const' from a function with result
- type 'char *' discards qualifiers
- [-Wincompatible-pointer-types-discards-qualifiers]
- return sys_errlist[errno];
- ^~~~~~~~~~~~~~~~~~
- 1 warning and 2 errors generated.
- make[1]: *** [sys.o] Error 1
- make: *** [world] Error 2
Advertisement
Add Comment
Please, Sign In to add comment