Created
October 21, 2012 19:33
-
-
Save hans/3928199 to your computer and use it in GitHub Desktop.
smlnj failed to build on 10.8.2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config/install.sh: Using shell /bin/sh. | |
config/install.sh: SML root is /usr/local/Cellar/smlnj/110.74/libexec. | |
config/install.sh: Installation directory is /usr/local/Cellar/smlnj/110.74/libexec. | |
config/install.sh: Installing version 110.74. | |
config/install.sh: URL of source archive is http://smlnj.cs.uchicago.edu/dist/working/110.74/. | |
config/install.sh: Script /usr/local/Cellar/smlnj/110.74/libexec/bin/.arch-n-opsys reports ARCH=x86; OPSYS=darwin; HEAP_SUFFIX=x86-darwin. | |
/usr/local/Cellar/smlnj/110.74/libexec/config/unpack: Fetching run-time from http://smlnj.cs.uchicago.edu/dist/working/110.74/. Please stand by... | |
/usr/local/Cellar/smlnj/110.74/libexec/config/unpack: Trying runtime.tgz ... | |
/usr/local/Cellar/smlnj/110.74/libexec/config/unpack: Fetching runtime.tgz was a success. | |
/usr/local/Cellar/smlnj/110.74/libexec/config/unpack: Un-GZIP-ing and un-TAR-ing run-time archive. | |
config/install.sh: Compiling the run-time system. | |
(make RUNTIME="run.x86-darwin" VERSION="v-x86-darwin" CC="cc -m32 -ansi" CFLAGS="-g -O2 -D_DARWIN_C_SOURCE -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.8" CPP="cc -x assembler-with-cpp -E -P -ansi" AS="/usr/bin/as -arch i386" TARGET=X86 DEFS=" -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_DARWIN -DOPSYS_MACOS_10_2 -DGNU_ASSEMBLER -DDLOPEN -DINDIRECT_CFUNC" XOBJS="" XLIBS="../c-libs/dl/libunix-dynload.a" LD_LIBS="-ldl" run.x86-darwin) | |
(make MAKE="make" clean) | |
rm -f v-* run.* interactive-run \ | |
gen-sizes gen-offsets gen-bc-instr-def \ | |
gen-unix-signals gen-unix-sigtbl \ | |
ml-sizes.h mlstate-offsets.h bc-instr-def.h \ | |
system-signals.h unix-sigtbl.c \ | |
*.o prim.s primops.s | |
(cd ../memory; make MAKE="make" clean) | |
rm -f v-* *.o libmem.a | |
(cd ../c-libs; make MAKE="make" clean) | |
for dir in posix-os smlnj-runtime smlnj-signals smlnj-sockets smlnj-prof smlnj-time smlnj-date smlnj-math smlnj-mp posix-error posix-filesys posix-io posix-procenv posix-process posix-signal posix-sysdb posix-tty smlnj-ccalls dl; do \ | |
(cd $dir; echo "cleaning $dir"; make MAKE="make" clean) ; \ | |
done | |
cleaning posix-os | |
rm -f v-* *.o libposix-os.a | |
cleaning smlnj-runtime | |
rm -f v-* *.o libsmlnj-runt.a | |
cleaning smlnj-signals | |
rm -f v-* *.o libsmlnj-sig.a | |
cleaning smlnj-sockets | |
rm -f v-* *.o libsmlnj-sock.a | |
cleaning smlnj-prof | |
rm -f v-* *.o libsmlnj-prof.a | |
cleaning smlnj-time | |
rm -f v-* *.o libsmlnj-time.a | |
cleaning smlnj-date | |
rm -f v-* *.o libsmlnj-date.a | |
cleaning smlnj-math | |
rm -f v-* *.o libsmlnj-math.a | |
cleaning smlnj-mp | |
rm -f v-* *.o libsmlnj-mp.a | |
cleaning posix-error | |
rm -f v-* *.o libposix-error.a | |
cleaning posix-filesys | |
rm -f v-* *.o ml_pathconf.h libposix-filesys.a | |
cleaning posix-io | |
rm -f v-* *.o libposix-io.a | |
cleaning posix-procenv | |
rm -f v-* *.o ml_sysconf.h libposix-procenv.a | |
cleaning posix-process | |
rm -f v-* *.o libposix-process.a | |
cleaning posix-signal | |
rm -f v-* *.o libposix-signal.a | |
cleaning posix-sysdb | |
rm -f v-* *.o libposix-sysdb.a | |
cleaning posix-tty | |
rm -f v-* *.o libposix-tty.a | |
cleaning smlnj-ccalls | |
rm -f v-* *.o *.s libsmlnj-ccalls.a | |
cleaning dl | |
rm -f v-* *.o libunix-dynload.a | |
rm -f v-* *.o | |
(cd ../gc; make MAKE="make" clean) | |
rm -f v-* *.o libgc.a libmp-gc.a | |
(cd ../mp; make MAKE="make" clean) | |
rm -f v-* *.o libmp.a | |
echo "v-x86-darwin" > v-x86-darwin | |
cc -m32 -ansi -c -g -O2 -D_DARWIN_C_SOURCE -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.8 -I../config -I../objs -I../include ../config/gen-common.c | |
brew: superenv removed: -m32 -g -O2 | |
cc -m32 -ansi -g -O2 -D_DARWIN_C_SOURCE -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.8 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_DARWIN -DOPSYS_MACOS_10_2 -DGNU_ASSEMBLER -DDLOPEN -DINDIRECT_CFUNC -I../config -I../objs -I../include -o gen-sizes ../config/gen-sizes.c gen-common.o | |
brew: superenv removed: -m32 -g -O2 | |
./gen-sizes | |
cc -m32 -ansi -c -g -O2 -D_DARWIN_C_SOURCE -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.8 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_DARWIN -DOPSYS_MACOS_10_2 -DGNU_ASSEMBLER -DDLOPEN -DINDIRECT_CFUNC -I../objs -I../include ../kernel/main.c | |
brew: superenv removed: -m32 -g -O2 | |
cc -m32 -ansi -c -g -O2 -D_DARWIN_C_SOURCE -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.8 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_DARWIN -DOPSYS_MACOS_10_2 -DGNU_ASSEMBLER -DDLOPEN -DINDIRECT_CFUNC -I../objs -I../include -I../c-libs ../c-libs/c-libraries.c | |
brew: superenv removed: -m32 -g -O2 | |
cc -m32 -ansi -c -g -O2 -D_DARWIN_C_SOURCE -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.8 -I../config -I../objs -I../include -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_DARWIN -DOPSYS_MACOS_10_2 -DGNU_ASSEMBLER -DDLOPEN -DINDIRECT_CFUNC ../config/unix-signals.c | |
brew: superenv removed: -m32 -g -O2 | |
cc -m32 -ansi -g -O2 -D_DARWIN_C_SOURCE -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.8 -I../config -I../objs -I../include -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_DARWIN -DOPSYS_MACOS_10_2 -DGNU_ASSEMBLER -DDLOPEN -DINDIRECT_CFUNC -o gen-unix-signals ../config/gen-unix-signals.c unix-signals.o gen-common.o | |
brew: superenv removed: -m32 -g -O2 | |
./gen-unix-signals | |
cc -m32 -ansi -c -g -O2 -D_DARWIN_C_SOURCE -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.8 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_DARWIN -DOPSYS_MACOS_10_2 -DGNU_ASSEMBLER -DDLOPEN -DINDIRECT_CFUNC -I../objs -I../include ../c-libs/unix-raise-syserr.c | |
brew: superenv removed: -m32 -g -O2 | |
cc -m32 -ansi -c -g -O2 -D_DARWIN_C_SOURCE -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.8 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_DARWIN -DOPSYS_MACOS_10_2 -DGNU_ASSEMBLER -DDLOPEN -DINDIRECT_CFUNC -I../objs -I../include ../kernel/ml-options.c | |
brew: superenv removed: -m32 -g -O2 | |
cc -m32 -ansi -c -g -O2 -D_DARWIN_C_SOURCE -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.8 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_DARWIN -DOPSYS_MACOS_10_2 -DGNU_ASSEMBLER -DDLOPEN -DINDIRECT_CFUNC -I../objs -I../include ../kernel/boot.c | |
brew: superenv removed: -m32 -g -O2 | |
cc -m32 -ansi -c -g -O2 -D_DARWIN_C_SOURCE -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.8 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_DARWIN -DOPSYS_MACOS_10_2 -DGNU_ASSEMBLER -DDLOPEN -DINDIRECT_CFUNC -I../objs -I../include ../kernel/load-ml.c | |
brew: superenv removed: -m32 -g -O2 | |
cc -m32 -ansi -c -g -O2 -D_DARWIN_C_SOURCE -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.8 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_DARWIN -DOPSYS_MACOS_10_2 -DGNU_ASSEMBLER -DDLOPEN -DINDIRECT_CFUNC -I../objs -I../include ../kernel/run-ml.c | |
brew: superenv removed: -m32 -g -O2 | |
cc -m32 -ansi -c -g -O2 -D_DARWIN_C_SOURCE -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.8 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_DARWIN -DOPSYS_MACOS_10_2 -DGNU_ASSEMBLER -DDLOPEN -DINDIRECT_CFUNC -I../objs -I../include ../kernel/globals.c | |
brew: superenv removed: -m32 -g -O2 | |
cc -m32 -ansi -c -g -O2 -D_DARWIN_C_SOURCE -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.8 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_DARWIN -DOPSYS_MACOS_10_2 -DGNU_ASSEMBLER -DDLOPEN -DINDIRECT_CFUNC -I../objs -I../include ../kernel/ml-state.c | |
brew: superenv removed: -m32 -g -O2 | |
cc -m32 -ansi -c -g -O2 -D_DARWIN_C_SOURCE -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.8 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_DARWIN -DOPSYS_MACOS_10_2 -DGNU_ASSEMBLER -DDLOPEN -DINDIRECT_CFUNC -I../objs -I../include ../kernel/error.c | |
brew: superenv removed: -m32 -g -O2 | |
cc -m32 -ansi -c -g -O2 -D_DARWIN_C_SOURCE -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.8 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_DARWIN -DOPSYS_MACOS_10_2 -DGNU_ASSEMBLER -DDLOPEN -DINDIRECT_CFUNC -I../objs -I../include ../kernel/timers.c | |
brew: superenv removed: -m32 -g -O2 | |
cc -m32 -ansi -c -g -O2 -D_DARWIN_C_SOURCE -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.8 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_DARWIN -DOPSYS_MACOS_10_2 -DGNU_ASSEMBLER -DDLOPEN -DINDIRECT_CFUNC -I../objs -I../include ../kernel/unix-timers.c | |
brew: superenv removed: -m32 -g -O2 | |
cc -m32 -ansi -c -g -O2 -D_DARWIN_C_SOURCE -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.8 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_DARWIN -DOPSYS_MACOS_10_2 -DGNU_ASSEMBLER -DDLOPEN -DINDIRECT_CFUNC -I../objs -I../include ../kernel/qualify-name.c | |
brew: superenv removed: -m32 -g -O2 | |
cc -m32 -ansi -c -g -O2 -D_DARWIN_C_SOURCE -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.8 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_DARWIN -DOPSYS_MACOS_10_2 -DGNU_ASSEMBLER -DDLOPEN -DINDIRECT_CFUNC -I../objs -I../include ../kernel/swap-bytes.c | |
brew: superenv removed: -m32 -g -O2 | |
cc -m32 -ansi -c -g -O2 -D_DARWIN_C_SOURCE -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.8 -DHOST_X86 -DTARGET_X86 -DOPSYS_UNIX -DOPSYS_DARWIN -DOPSYS_MACOS_10_2 -DGNU_ASSEMBLER -DDLOPEN -DINDIRECT_CFUNC -I../objs -I../include ../mach-dep/unix-fault.c | |
brew: superenv removed: -m32 -g -O2 | |
../mach-dep/unix-fault.c:68:36: error: no member named '__eip' in 'struct __darwin_x86_thread_state64'; did you mean '__rip'? | |
signal, SIG_GetCode(si, scp), SIG_GetPC(scp)); | |
^ | |
../mach-dep/signal-sysdep.h:536:57: note: expanded from macro 'SIG_GetPC' | |
# define SIG_GetPC(scp) ((scp)->uc_mcontext->__ss.__eip) | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/mach/i386/_structs.h:472:13: note: '__rip' declared here | |
__uint64_t __rip; | |
^ | |
../mach-dep/unix-fault.c:77:17: error: no member named '__eip' in 'struct __darwin_x86_thread_state64'; did you mean '__rip'? | |
if (((Byte_t *)SIG_GetPC(scp))[-1] == INTO_OPCODE) | |
^ | |
../mach-dep/signal-sysdep.h:536:57: note: expanded from macro 'SIG_GetPC' | |
# define SIG_GetPC(scp) ((scp)->uc_mcontext->__ss.__eip) | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/mach/i386/_structs.h:472:13: note: '__rip' declared here | |
__uint64_t __rip; | |
^ | |
../mach-dep/unix-fault.c:85:28: error: no member named '__eip' in 'struct __darwin_x86_thread_state64'; did you mean '__rip'? | |
msp->ml_faultPC = (Word_t)SIG_GetPC(scp); | |
^ | |
../mach-dep/signal-sysdep.h:536:57: note: expanded from macro 'SIG_GetPC' | |
# define SIG_GetPC(scp) ((scp)->uc_mcontext->__ss.__eip) | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/mach/i386/_structs.h:472:13: note: '__rip' declared here | |
__uint64_t __rip; | |
^ | |
../mach-dep/unix-fault.c:89:28: error: no member named '__eip' in 'struct __darwin_x86_thread_state64'; did you mean '__rip'? | |
msp->ml_faultPC = (Word_t)SIG_GetPC(scp); | |
^ | |
../mach-dep/signal-sysdep.h:536:57: note: expanded from macro 'SIG_GetPC' | |
# define SIG_GetPC(scp) ((scp)->uc_mcontext->__ss.__eip) | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/mach/i386/_structs.h:472:13: note: '__rip' declared here | |
__uint64_t __rip; | |
^ | |
../mach-dep/unix-fault.c:94:5: error: no member named '__eip' in 'struct __darwin_x86_thread_state64'; did you mean '__rip'? | |
SIG_SetPC (scp, request_fault); | |
^ | |
../mach-dep/signal-sysdep.h:537:63: note: expanded from macro 'SIG_SetPC' | |
# define SIG_SetPC(scp, addr) { (scp)->uc_mcontext->__ss.__eip = (int) addr; } | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/mach/i386/_structs.h:472:13: note: '__rip' declared here | |
__uint64_t __rip; | |
^ | |
5 errors generated. | |
make[1]: *** [unix-fault.o] Error 1 | |
make: *** [all] Error 2 | |
config/install.sh: !!! Run-time system build failed for some reason. | |
HOMEBREW_VERSION: 0.9.3 | |
HEAD: 71a27dd4ecf0d31c848e2ed523e27e7e4f487ff8 | |
CPU: quad-core 64-bit sandybridge | |
OS X: 10.8.2-x86_64 | |
Xcode: 4.5.1 | |
CLT: 4.5.0.0.1.1249367152 | |
X11: N/A |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Your system is raring to brew. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment