[Mono-dev] [PATCH]: Fix build on sparc*-*-linux*

David S. Miller davem at davemloft.net
Fri Mar 24 18:23:11 EST 2006


The following patch gets the mono build going on sparc*-*-linux*
platforms.  This is against mono-1.1.13.4

It seems that there is some kind of Linux wide dependency in
the mono tree itself for THREAD_LOCAL_ALLOC.  That is what
makes the following necessary.  Probably, this configure.in
conditional should include all Linux systems, or the dependency
should be dealt with in some other manner for Linux systems
not in this long list.

2006-03-24  David S. Miller  <davem at sunset.davemloft.net>

	* configure.in: Use THREAD_LOCAL_ALLOC on sparc*-*-linux*.

--- libgc/configure.in.~1~	2005-08-25 06:48:41.000000000 -0700
+++ libgc/configure.in	2006-03-23 00:50:09.000000000 -0800
@@ -76,7 +76,7 @@
     THREADS=posix
     THREADLIBS=-lpthread
     case "$host" in
-     x86-*-linux* | ia64-*-linux* | i386-*-linux* | i486-*-linux* | i586-*-linux* | i686-*-linux* | x86_64-*-linux* | alpha-*-linux* | s390*-*-linux* | powerpc-*-linux*)
+     x86-*-linux* | ia64-*-linux* | i386-*-linux* | i486-*-linux* | i586-*-linux* | i686-*-linux* | x86_64-*-linux* | alpha-*-linux* | s390*-*-linux* | sparc*-*-linux* | powerpc-*-linux*)
 	AC_DEFINE(GC_LINUX_THREADS)
 	AC_DEFINE(_REENTRANT)
         if test "${enable_parallel_mark}" = yes; then



More information about the Mono-devel-list mailing list