Here's the relevant output:
> ...
> gcc -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\" -DPACKAGE_VERSION=\"7.1\"
> "-DPACKAGE_STRING=\"gc 7.1\"" -DPACKAGE_BUGREPORT=\"[email protected]\"
> -DGC_VERSION_MAJOR=7 -DGC_VERSION_MINOR=1 -DPACKAGE=\"gc\" -DVERSION=\"7.1\"
> -DGC_DARWIN_THREADS=1 -DTHREAD_LOCAL_ALLOC=1 -DHAS_X86_THREAD_STATE32___EAX=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 -DGC_GCJ_SUPPORT=1
> -DJAVA_FINALIZATION=1 -DATOMIC_UNCOLLECTABLE=1 -I./include -fexceptions -I
> libatomic_ops/src -fno-common -D_XOPEN_SOURCE -DGC_DARWIN_THREADS
> -DLARGE_CONFIG -g -UNO_DEBUGGING -I/sw/include -MT os_dep.lo -MD -MP -MF
> .deps/os_dep.Tpo -c os_dep.c -fno-common -DPIC -o .libs/os_dep.o
> libatomic_ops/src/atomic_ops/sysdeps/gcc/x86_64.h: In function
> 'AO_test_and_set_full':
> libatomic_ops/src/atomic_ops/sysdeps/gcc/x86_64.h:127: error: unsupported
> inline asm: input constraint with a matching output constraint of
> incompatible type!
> make[1]: *** [os_dep.lo] Error 1
> make: *** [all-recursive] Error 1
> ### execution of /var/tmp/tmp.1.vk2vhp failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-gc-7.1-1002
> (Reading database ... 4573 files and directories currently installed.)
> Removing fink-buildlock-gc-7.1-1002 ...
> Failed: phase compiling: gc-7.1-1002 failed
>
> Before reporting any errors, please run "fink selfupdate" and try again.
> If you continue to have issues, please check to see if the FAQ on Fink's
> website solves the problem. If not, ask on one of these mailing lists:
>
> The Fink Users List <[email protected]>
> The Fink Beginners List <[email protected]>,
>
> with a carbon copy to the maintainer:
>
> Dave Morrison <[email protected]>
>
> Note that this is preferable to emailing just the maintainer directly,
> since most fink package maintainers do not have access to all possible
> hardware and software configurations.
>
> Please try to include the complete error message in your report. This
> generally consists of a compiler line starting with e.g. "gcc" or "g++"
> followed by the actual error output from the compiler.
>
> Also include the following system information:
> Package manager version: 0.31.6
> Distribution version: selfupdate-rsync Thu Jan 5 19:59:25 2012, 10.6, x86_64
> Trees: local/main stable/main
> Xcode: 4.2
After some research, I found these:
http://permalink.gmane.org/gmane.comp.programming.garbage-collection.boehmgc/4675
http://llvm.org/bugs/show_bug.cgi?id=9949
https://github.com/mxcl/homebrew/issues/8180
This seems to get the job done, but I'm not sure how portable/robust it is for
versions of Xcode that do not used llvm:
> --- /sw/fink/10.4/stable/main/finkinfo/libs/gc.info 2011-01-05
> 20:45:12.000000000 -0800
> +++ /sw/fink/10.4/local/main/finkinfo/gc.info 2012-01-05 21:29:48.000000000
> -0800
> @@ -18,11 +18,13 @@
> CompileScript: <<
> #! /bin/sh -ev
> if [ "%type_raw[-64bit]" == "." ]; then
> + export CC="clang"
> + export CXX="clang++"
> ./configure %c --libdir='${prefix}/%lib'
> make
> else
> - export CC="gcc -m64"
> - export CXX="g++ -m64"
> + export CC="clang -m64"
> + export CXX="clang++ -m64"
> ./configure %c --libdir='${prefix}/%lib'
> make
> fi
I hope this is useful and not terribly redundant.
--Matt
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual
desktops for less than the cost of PCs and save 60% on VDI infrastructure
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Fink-users mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users