Skip to content

Instantly share code, notes, and snippets.

@spockz
Created December 16, 2012 10:10
Show Gist options
  • Select an option

  • Save spockz/4306057 to your computer and use it in GitHub Desktop.

Select an option

Save spockz/4306057 to your computer and use it in GitHub Desktop.
➔ brew doctor
Your system is raring to brew.
cd config; 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!
The return type for signal handlers appears to be "void".
Signals have the BSD semantics.
rename() found.
strerror() 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.
cd runtime; make all
awk -f ../tools/make-jumptbl instruct.h > jumptbl.h
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o expand.o expand.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o misc.o misc.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o stacks.o stacks.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o fix_code.o fix_code.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o main.o main.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o fail.o fail.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o signals.o signals.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o freelist.o freelist.c
brew: superenv removed: -O2
brew: superenv removed: -O2
brew: superenv removed: -O2
brew: superenv removed: -O2
brew: superenv removed: -O2
brew: superenv removed: -O2
brew: superenv removed: -O2
brew: superenv removed: -O2
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o major_gc.o major_gc.c
brew: superenv removed: -O2
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o minor_gc.o minor_gc.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o memory.o memory.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o alloc.o alloc.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o roots.o roots.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o compare.o compare.c
brew: superenv removed: -O2
brew: superenv removed: -O2
brew: superenv removed: -O2
brew: superenv removed: -O2
brew: superenv removed: -O2
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o ints.o ints.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o floats.o floats.c
brew: superenv removed: -O2
brew: superenv removed: -O2
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o str.o str.c
brew: superenv removed: -O2
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o io.o io.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o extern.o extern.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o externcp.o externcp.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o intern.o intern.c
brew: superenv removed: -O2
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o interncp.o interncp.c
brew: superenv removed: -O2
brew: superenv removed: -O2
brew: superenv removed: -O2
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o hash.o hash.c
brew: superenv removed: -O2
brew: superenv removed: -O2
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o sys.o sys.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o meta.o meta.c
brew: superenv removed: -O2
brew: superenv removed: -O2
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o parsing.o parsing.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o lexing.o lexing.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o gc_ctrl.o gc_ctrl.c
brew: superenv removed: -O2
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o mosml.o mosml.c
brew: superenv removed: -O2
brew: superenv removed: -O2
brew: superenv removed: -O2
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o unix.o unix.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o runtime.o runtime.c
brew: superenv removed: -O2
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o md5sum.o md5sum.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o callback.o callback.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o dynlib.o dynlib.c
brew: superenv removed: -O2
brew: superenv removed: -O2
brew: superenv removed: -O2
brew: superenv removed: -O2
sed -n -e '/\/\* ML \*\//s/.* \([a-zA-Z0-9_][a-zA-Z0-9_]*\) *(.*/\1/p' \
compare.c extern.c externcp.c floats.c gc_ctrl.c hash.c intern.c interncp.c interp.c ints.c io.c lexing.c meta.c parsing.c str.c sys.c mosml.c unix.c md5sum.c callback.c dynlib.c > primitives2
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o interp.o interp.c
brew: superenv removed: -O2
sh -c 'if cmp -s primitives primitives2; \
then rm primitives2; \
else mv primitives2 primitives; \
fi'
(echo '#include "mlvalues.h"'; \
echo '#include "prims.h"'; \
sed -e 's/.*/extern value &();/' primitives; \
echo 'c_primitive cprim[] = {'; \
sed -e 's/.*/ &,/' primitives; \
echo ' 0 };'; \
echo 'char * names_of_cprim[] = {'; \
sed -e 's/.*/ "&",/' primitives; \
echo ' 0 };') > prims.c
gcc -c -Dunix -O2 -fno-defer-pop -fomit-frame-pointer -DTHREADED -o prims.o prims.c
brew: superenv removed: -O2
gcc -rdynamic -o camlrunm prims.o interp.o expand.o misc.o stacks.o fix_code.o main.o fail.o signals.o freelist.o major_gc.o minor_gc.o memory.o alloc.o roots.o compare.o ints.o floats.o str.o io.o extern.o externcp.o intern.o interncp.o hash.o sys.o meta.o parsing.o lexing.o gc_ctrl.o mosml.o unix.o runtime.o md5sum.o callback.o dynlib.o -lm -ldl
strip camlrunm
cp runtime/camlrunm .
cd mosmlyac; make all
gcc -c -O -DNDEBUG -o closure.o closure.c
gcc -c -O -DNDEBUG -o error.o error.c
gcc -c -O -DNDEBUG -o lalr.o lalr.c
gcc -c -O -DNDEBUG -o lr0.o lr0.c
gcc -c -O -DNDEBUG -o main.o main.c
gcc -c -O -DNDEBUG -o mkpar.o mkpar.c
gcc -c -O -DNDEBUG -o output.o output.c
gcc -c -O -DNDEBUG -o reader.o reader.c
brew: superenv removed: -O
brew: superenv removed: -Obrew: superenv removed: -O
brew: superenv removed: -O
brew: superenv removed: -O
brew: superenv removed: -O
brew: superenv removed: -O
brew: superenv removed: -O
gcc -c -O -DNDEBUG -o skeleton.o skeleton.c
brew: superenv removed: -O
gcc -c -O -DNDEBUG -o symtab.o symtab.c
gcc -c -O -DNDEBUG -o verbose.o verbose.c
brew: superenv removed: -O
gcc -c -O -DNDEBUG -o warshall.o warshall.c
brew: superenv removed: -O
brew: superenv removed: -O
gcc -O -DNDEBUG -o mosmlyac closure.o error.o lalr.o lr0.o main.o mkpar.o output.o reader.o skeleton.o symtab.o verbose.o warshall.o
brew: superenv removed: -O
strip mosmlyac
cd mosmllib; make all
cpp Array.mlp > Array.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Vector.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes List.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes BasicIO.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Binaryset.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Binarymap.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes StringCvt.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Char.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Substring.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Callback.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Polyhash.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Strbase.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes CommandLine.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Time.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Real.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Option.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Int.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Dynarray.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Dynlib.sig
cpp FileSys.mlp > FileSys.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes FileSys.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Path.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Process.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Gdbm.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Gdimage.sig
cpp Help.mlp > Help.sml
clang: clang: warning: FileSys.mlp: 'linker' input unused when '-E' is present
clang: warning: argument unused during compilation: '-isystem /usr/local/include'
clang: warning: argument unused during compilation: '-isystem /usr/include/libxml2'
clang: warning: argument unused during compilation: '-isystem /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/'
warning: Array.mlp: 'linker' input unused when '-E' is present
clang: warning: argument unused during compilation: '-isystem /usr/local/include'
clang: warning: argument unused during compilation: '-isystem /usr/include/libxml2'
clang: warning: argument unused during compilation: '-isystem /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/'
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Help.sig
cpp Int.mlp > Int.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Intmap.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Intset.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes IO.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Obj.sml
clang: warning: Help.mlp: 'linker' input unused when '-E' is present
clang: warning: argument unused during compilation: '-isystem /usr/local/include'
clang: warning: argument unused during compilation: '-isystem /usr/include/libxml2'
clang: warning: argument unused during compilation: '-isystem /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/'
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes List.sml
clang: warning: Int.mlp: 'linker' input unused when '-E' is present
clang: warning: argument unused during compilation: '-isystem /usr/local/include'
clang: warning: argument unused during compilation: '-isystem /usr/include/libxml2'
clang: warning: argument unused during compilation: '-isystem /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/'
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes ListPair.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Listsort.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Math.sig
cpp Mosml.mlp > Mosml.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Timer.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Mosmlcgi.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Splaymap.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Msp.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes NJ93.sig
clang: warning: Mosml.mlp: 'linker' input unused when '-E' is present
clang: warning: argument unused during compilation: '-isystem /usr/local/include'
clang: warning: argument unused during compilation: '-isystem /usr/include/libxml2'
clang: warning: argument unused during compilation: '-isystem /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/'
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Option.sml
cpp Path.mlp > Path.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Polygdbm.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes PP.sig
clang: warning: Path.mlp: 'linker' input unused when '-E' is present
clang: warning: argument unused during compilation: '-isystem /usr/local/include'
clang: warning: argument unused during compilation: '-isystem /usr/include/libxml2'
clang: warning: argument unused during compilation: '-isystem /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/'
cpp Process.mlp > Process.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Random.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Real.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Regex.sig
clang: warning: Process.mlp: 'linker' input unused when '-E' is present
clang: warning: argument unused during compilation: '-isystem /usr/local/include'
clang: warning: argument unused during compilation: '-isystem /usr/include/libxml2'
clang: warning: argument unused during compilation: '-isystem /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/'
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes SML90.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Splaytree.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Splayset.sig
cpp Strbase.mlp > Strbase.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes StringCvt.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Susp.sig
clang: warning: Strbase.mlp: 'linker' input unused when '-E' is present
clang: warning: argument unused during compilation: '-isystem /usr/local/include'
clang: warning: argument unused during compilation: '-isystem /usr/include/libxml2'
clang: warning: argument unused during compilation: '-isystem /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/'
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Timer.sml
cpp Vector.mlp > Vector.sml
cpp Weak.mlp > Weak.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Weak.sig
cpp Word.mlp > Word.sml
cpp Word8Array.mlp > Word8Array.sml
clang: warning: Vector.mlp: 'linker' input unused when '-E' is present
clang: warning: argument unused during compilation: '-isystem /usr/local/include'
clang: warning: argument unused during compilation: '-isystem /usr/include/libxml2'
clang: warning: argument unused during compilation: '-isystem /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/'
cpp Word8Vector.mlp > Word8Vector.sml
clang: warning: Weak.mlp: 'linker' input unused when '-E' is present
clang: warning: argument unused during compilation: '-isystem /usr/local/include'
clang: warning: argument unused during compilation: '-isystem /usr/include/libxml2'
clang: warning: argument unused during compilation: '-isystem /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/'
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Array.sig
clang: warning: Word.mlp: 'linker' input unused when '-E' is present
clang: warning: argument unused during compilation: '-isystem /usr/local/include'
clang: warning: argument unused during compilation: '-isystem /usr/include/libxml2'
clang: warning: argument unused during compilation: '-isystem /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/'
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Array2.sig
clang: warning: Word8Array.mlp: 'linker' input unused when '-E' is present
clang: warning: argument unused during compilation: '-isystem /usr/local/include'
clang: warning: argument unused during compilation: '-isystem /usr/include/libxml2'
clang: warning: argument unused during compilation: '-isystem /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/'
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes BasicIO.sml
clang: warning: Word8Vector.mlp: 'linker' input unused when '-E' is present
clang: warning: argument unused during compilation: '-isystem /usr/local/include'
clang: warning: argument unused during compilation: '-isystem /usr/include/libxml2'
clang: warning: argument unused during compilation: '-isystem /System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/'
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Binaryset.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Binarymap.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Word.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes TextIO.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Bool.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes String.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Callback.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Char.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes CharVector.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes CommandLine.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Date.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Dynarray.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Dynlib.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes OS.sig
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Gdbm.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Gdimage.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Help.sml
../camlrunm ../mosmlcmp -stdlib ../mosmllib -P none -imptypes Int.sml
! Interface mismatch: the implementation of unit Help
! does not match its interface, because ...
! Missing declaration: value Help.help in the unit Help
! is specified in the interface as
! val help : string -> unit
! but not declared in the implementation
make[1]: *** [Help.uo] Error 2
make[1]: *** Waiting for unfinished jobs....
! Interface mismatch: the implementation of unit Int
! does not match its interface, because ...
! Missing declaration: type constructor Int.int in the unit Int
! is specified in the interface as
! type int = int
! but not declared in the implementation
make[1]: *** [Int.uo] Error 2
make: *** [world] Error 2
HOMEBREW_VERSION: 0.9.3
HEAD: 63dcf18de973015acafecf1638e7f031c0994ed3
CPU: 8-core 64-bit sandybridge
OS X: 10.8.2-x86_64
Xcode: 4.5.2
CLT: 4.5.0.0.1.1249367152
X11: N/A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment