10 Apr 07:14
Re: can't build on osx
From: Antony Blakey <antony.blakey@...>
Subject: Re: can't build on osx
Newsgroups: gmane.comp.lang.smalltalk.fonc
Date: 2008-04-10 05:14:03 GMT
Subject: Re: can't build on osx
Newsgroups: gmane.comp.lang.smalltalk.fonc
Date: 2008-04-10 05:14:03 GMT
The problem is that 10.5 changed the name of the fields in the i386_thread_state_t from e.g. 'esp' to '__esp', conditioned upon #if __DARWIN_UNIX03. Is this meant to build on 10.5? On 10/04/2008, at 11:09 AM, Ryan Davis wrote: > 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 Antony Blakey -------------------------- CTO, Linkuistics Pty Ltd Ph: 0438 840 787 The truth does not change according to our ability to stomach it. -- Flannery O'Connor
RSS Feed