Ryan Davis | 10 Apr 03:36
Favicon

can't build on osx

I'm on a macbook air and this is my first build on this laptop:

% uname -a
Darwin wrath.local 9.2.2 Darwin Kernel Version 9.2.2: Tue Mar  4  
21:17:34 PST 2008; root:xnu-1228.4.31~1/RELEASE_I386 i386

% sw_vers
ProductName:	Mac OS X
ProductVersion:	10.5.2
BuildVersion:	9C7010

# just the failures:
% make
/bin/sh -ec 'for dir in object function; do ( cd $dir; make ); done'
/Users/ryan/Work/svn/idst/object
/bin/sh -ec '( cd boot; make )'
/Users/ryan/Work/svn/idst/object/boot
/bin/sh -ec 'cd ../gc6.7/; test -f config.log || ABI_FLAG="-arch  
i486" ./configure --enable-threads=posix --enable-large-config; make  
ABI_FLAG="-arch i486"'
Making all in doc
/Users/ryan/Work/svn/idst/object/gc6.7/doc
make[4]: Nothing to be done for `all'.
Making all in include
/Users/ryan/Work/svn/idst/object/gc6.7/include
make[4]: Nothing to be done for `all'.
if /bin/sh ./libtool --mode=compile gcc -DPACKAGE_NAME=\"gc\" - 
DPACKAGE_TARNAME=\"gc\" -DPACKAGE_VERSION=\"6.7\" -DPACKAGE_STRING=\"gc 
\ 6.7\" -DPACKAGE_BUGREPORT=\"Hans.Boehm@...\" -DGC_VERSION_MAJOR=6  
-DGC_VERSION_MINOR=7 -DPACKAGE=\"gc\" -DVERSION=\"6.7\" - 
DGC_DARWIN_THREADS=1 -DTHREAD_LOCAL_ALLOC=1 -DSTDC_HEADERS=1 - 
DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 - 
DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 - 
DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 - 
DHAVE_DLFCN_H=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 - 
DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 - 
DATOMIC_UNCOLLECTABLE=1  -I./include   -fexceptions -g -O2 - 
fexceptions  -MT darwin_stop_world.lo -MD -MP -MF ".deps/ 
darwin_stop_world.Tpo" -c -o darwin_stop_world.lo darwin_stop_world.c; \
	then mv -f ".deps/darwin_stop_world.Tpo" ".deps/ 
darwin_stop_world.Plo"; else rm -f ".deps/darwin_stop_world.Tpo"; exit  
1; fi
rm -f .libs/darwin_stop_world.lo
gcc -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\" -DPACKAGE_VERSION= 
\"6.7\" "-DPACKAGE_STRING=\"gc 6.7\""
-DPACKAGE_BUGREPORT=\"Hans.Boehm@... 
\" -DGC_VERSION_MAJOR=6 -DGC_VERSION_MINOR=7 -DPACKAGE=\"gc\" - 
DVERSION=\"6.7\" -DGC_DARWIN_THREADS=1 -DTHREAD_LOCAL_ALLOC=1 - 
DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 - 
DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 - 
DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 - 
DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSILENT=1 -DNO_SIGNALS=1 - 
DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 - 
DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -I./ 
include -fexceptions -g -O2 -fexceptions -MT darwin_stop_world.lo -MD - 
MP -MF .deps/darwin_stop_world.Tpo -c darwin_stop_world.c  -fno-common  
-DPIC -o .libs/darwin_stop_world.lo
darwin_stop_world.c: In function 'GC_push_all_stacks':
darwin_stop_world.c:105: error: 'i386_thread_state_t' has no member  
named 'esp'
darwin_stop_world.c:107: error: 'i386_thread_state_t' has no member  
named 'eax'
darwin_stop_world.c:108: error: 'i386_thread_state_t' has no member  
named 'ebx'
darwin_stop_world.c:109: error: 'i386_thread_state_t' has no member  
named 'ecx'
darwin_stop_world.c:110: error: 'i386_thread_state_t' has no member  
named 'edx'
darwin_stop_world.c:111: error: 'i386_thread_state_t' has no member  
named 'edi'
darwin_stop_world.c:112: error: 'i386_thread_state_t' has no member  
named 'esi'
darwin_stop_world.c:113: error: 'i386_thread_state_t' has no member  
named 'ebp'
make[4]: *** [darwin_stop_world.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: [../gc6.7/.libs/libgc.a] Error 2 (ignored)
/bin/sh -ec 'ln -s ../gc6.7/.libs/libgc.a ./gc.a'
ln: ./gc.a: File exists
make[2]: [gc.a] Error 1 (ignored)
cc -Iinclude -g -Wall -Wreturn-type -Werror -fno-common -arch i486 - 
DNDEBUG -DSYSARCH=\"i386\" -DSYSOS=\"darwin\"  -O   src/idc1.c  -o  
idc1 libid.o gc.a -lm
i686-apple-darwin9-gcc-4.0.1: gc.a: No such file or directory
make[2]: *** [idc1] Error 1
make[1]: [boot] Error 2 (ignored)
/bin/sh -ec '[ -d stage1 ] || mkdir stage1'
/bin/sh -ec 'for dir in id st80 idc; do ( echo $dir; cd $dir; make  
IDC="../boot/idc -B../boot/ -O" BIN="../stage1/" ); done'
id
/Users/ryan/Work/svn/idst/object/id
make[2]: Nothing to be done for `all'.
st80
/Users/ryan/Work/svn/idst/object/st80
../boot/idc -B../boot/ -O  -k -c _object.st -o ../stage1/_object.o
../boot/idc: line 242: ../boot/idc1: No such file or directory
make[2]: *** [../stage1/_object.o] Error 127
idc
/Users/ryan/Work/svn/idst/object/idc
/bin/sh -ec 'cp -p ../gc6.7/.libs/libgc.a ../stage1/gc.a'
cp: ../gc6.7/.libs/libgc.a: No such file or directory
make[2]: [../stage1/gc.a] Error 1 (ignored)
../boot/idc -B../boot/ -O -I../st80 -k -c ArgumentVariableNode.st - 
o ../stage1/ArgumentVariableNode.o
../boot/idc: line 242: ../boot/idc1: No such file or directory
make[2]: *** [../stage1/ArgumentVariableNode.o] Error 127
make[1]: *** [stage1] Error 2
/Users/ryan/Work/svn/idst/function
/bin/sh -ec 'for dir in objects jolt-burg; do ( cd $dir; make ); done'
/Users/ryan/Work/svn/idst/function/objects
./idc -g -k -c _object.st -o _object.o
./idc: line 6: idc: command not found
make[2]: *** [_object.o] Error 127
/Users/ryan/Work/svn/idst/function/jolt-burg
./idc: line 6: exec: idc: not found
./idc: line 6: exec: idc: not found
./idc: line 6: exec: idc: not found
/bin/sh -ec 'cd ../objects;  make'
./idc -g -k -c _object.st -o _object.o
./idc: line 6: idc: command not found
make[3]: *** [_object.o] Error 127
make[2]: *** [../objects/objects.a] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2


Gmane