[Gc] 7.0alpha6 compile failure on MacOS 10.4.5 i386

Hans Boehm Hans.Boehm at hp.com
Sat Mar 18 23:01:02 PST 2006


Thanks.  I finally got around to fixing at least the Darwin/PPC port
of GC7alpha.  I still doubt this works on x86, but it's no longer
as unlikely as when you last tried it.  The particular bug you observed
should now be fixed, since it also occurred on ppci, where I can once
again test.

I'm trying to stabilize gc7 on more non-Linux platforms, but I think it
still has a little ways to go.

Hans

On Sat, 25 Feb 2006, Tony Bigbee wrote:

> 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.
>
> _______________________________________________
> Gc mailing list
> Gc at linux.hpl.hp.com
> http://www.hpl.hp.com/hosted/linux/mail-archives/gc/
>


More information about the Gc mailing list