Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-alt
I'm trying to get mono 2.6.7 building on my OS X machine, and configure fails with the following relevant snippet:
configure:3790: i686-apple-darwin10-gcc -O2 -pipe -march=prescott -fno-strict-aliasing -arch i386 -D_XOPEN_SOURCE -mmacosx
-version-min=10.5 -no-cpp-precomp -D_THREAD_SAFE -DGC_MACOSX_THREADS -DPLATFORM_MACOSX -DUSE_MMAP -DUSE_MUNMAP -DGetCurren
tProcess=MonoGetCurrentProcess -DGetCurrentThread=MonoGetCurrentThread -DCreateEvent=MonoCreateEvent -arch i386 -D_XOPEN_SO
URCE -mmacosx-version-min=10.5 -Wl,-dead_strip_dylibs -pthread conftest.c >&5
cc1: error: unrecognized command line option "-arch"
cc1: error: unrecognized command line option "-arch"
It looks like they're setting some flags in the 'configure' script if the host is darwin:
case "$host" in
i*86-*-darwin10*)
BROKEN_DARWIN_FLAGS="-arch i386 -D_XOPEN_SOURCE -mmacosx-version-min=10.5"
CPPFLAGS="$CPPFLAGS $BROKEN_DARWIN_FLAGS"
CFLAGS="$CFLAGS $BROKEN_DARWIN_FLAGS"
CXXFLAGS="$CXXFLAGS $BROKEN_DARWIN_FLAGS"
CCASFLAGS="$CCASFLAGS $BROKEN_DARWIN_FLAGS"
CPPFLAGS_FOR_LIBGC="$CPPFLAGS_FOR_LIBGC $BROKEN_DARWIN_FLAGS"
CFLAGS_FOR_LIBGC="$CFLAGS_FOR_LIBGC $BROKEN_DARWIN_FLAGS"
CPPFLAGS_FOR_EGLIB="$CPPFLAGS_FOR_EGLIB $BROKEN_DARWIN_FLAGS"
CFLAGS_FOR_EGLIB="$CFLAGS_FOR_EGLIB $BROKEN_DARWIN_FLAGS"
;;
esac
If I remove '-arch i386' , the ebuild compiles properly. It appears to be an arg unique to Apple's version of gcc (?).
So what's teh best way to fix and submit this? I can make a patch file that the ebuild applies and post a diff. Is there a better way to get the change into the tree? Thanks!
Logan Bowers
|
|