[Gc] 7.0alpha6 compile failure on MacOS 10.4.5 i386

Tony Bigbee tony.bigbee at gmail.com
Fri Feb 24 21:12:08 PST 2006


export CFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386"

./configure --with-threads=posix --enable-parallel-mark --enable-cplusplus
 --enable-redirect-malloc

make 
.
.
.

fails here:

gcc -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\" 
-DPACKAGE_VERSION=\"7.0alpha6\" "
DPACKAGE_STRING=\"gc 7.0alpha6\"" -DPACKAGE_BUGREPORT=
\"Hans.Boehm at hp.com\"
DGC_VERSION_MAJOR=7 -DGC_VERSION_MINOR=0 -DGC_ALPHA_VERSION=6
 -DPACKAGE=\"gc\"
DVERSION=\"7.0alpha6\" -DGC_DARWIN_THREADS=1 
-DTHREAD_LOCAL_ALLOC=1-DPARALLEL_MARK=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
 -DNO_EXECUTE_PERMISSION=1
DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1 
-DATOMIC_UNCOLLECTABLE=1
DREDIRECT_MALLOC=GC_malloc -I./include 
-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386
I ./libatomic_ops/src -isysroot /Developer/SDKs/MacOSX10.4u.sdk
 -arch i386 -isysroot /Developer/
SDKs/MacOSX10.4u.sdk -arch i386 -I ./libatomic_ops/src -MT 
mach_dep.lo -MD -MP -MF .deps/
mach_dep.Tpo -c mach_dep.c  -fno-common -DPIC -o .libs/mach_dep.lo
mach_dep.c:194:3: error: #error GC_push_regs cannot be used with threads

Thanks.



More information about the Gc mailing list