mail-archives/mono-osx/2006-October/000652.html

114 строки
4.8 KiB
HTML
Исходник Обычный вид История

2019-06-06 22:05:17 +03:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-osx] Building mono-1.1.18 20061018
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20Building%20mono-1.1.18%2020061018&In-Reply-To=7BE24262-2778-4178-8E08-2EA27D34B272%40ghic.org">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="000651.html">
<LINK REL="Next" HREF="000638.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-osx] Building mono-1.1.18 20061018</H1>
<B>Allan Hsu</B>
<A HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20Building%20mono-1.1.18%2020061018&In-Reply-To=7BE24262-2778-4178-8E08-2EA27D34B272%40ghic.org"
TITLE="[Mono-osx] Building mono-1.1.18 20061018">allan at counterpop.net
</A><BR>
<I>Tue Oct 31 02:48:32 EST 2006</I>
<P><UL>
<LI>Previous message: <A HREF="000651.html">[Mono-osx] Building mono-1.1.18 20061018
</A></li>
<LI>Next message: <A HREF="000638.html">[Mono-osx] My Project Files Moved &amp; Susan's Xcode Plug-in
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#652">[ date ]</a>
<a href="thread.html#652">[ thread ]</a>
<a href="subject.html#652">[ subject ]</a>
<a href="author.html#652">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>I already sent in the following patch last week to the mono-devel
list, as well as libgc upstream. I added a #define to gc_priv.h
called GC_MACH_THREAD_STATE_FLAVOR and replaced usages of
MACHINE_THREAD_STATE with it. Apologies for not CCing this list.
<A HREF="http://lists.ximian.com/pipermail/mono-devel-list/2006-October/">http://lists.ximian.com/pipermail/mono-devel-list/2006-October/</A>
021060.html
-Allan
On Oct 30, 2006, at 10:46 PM, Diane Trout wrote:
&gt;<i>
</I>&gt;<i> On Oct 18, 2006, at 17:18, Allan Hsu wrote:
</I>&gt;<i>
</I>&gt;&gt;<i> One thing to note is that current Mono SVN will not build properly
</I>&gt;&gt;<i> under XCode 2.4 for Intel due to changes to the value of
</I>&gt;&gt;<i> MACHINE_THREAD_STATE in the new 10.4u SDK. Mono will compile under
</I>&gt;&gt;<i> 2.4, but the resulting binaries will not work properly. The
</I>&gt;&gt;<i> headers that come with XCode 2.3 should work fine.
</I>&gt;<i>
</I>&gt;<i> Ok I spent some time trying to figure out what was going on with this.
</I>&gt;<i>
</I>&gt;<i> It appears that in MachOSX10.4u.sdk/usr/include/mach/i386/
</I>&gt;<i> thread_status.h
</I>&gt;<i>
</I>&gt;<i> MACHINE_THREAD_STATE is defined to be x86_THREAD_STATE (7) which
</I>&gt;<i> seems strangely unrelated to x86_THREAD_STATE32 (1) or
</I>&gt;<i> x86_THREAD_STATE64 (4). I tried running mono with the
</I>&gt;<i> MACHINE_THREAD_STATE set to 5 but that didn't seem to work.
</I>&gt;<i>
</I>&gt;<i> I made an alternate patch that is only triggered on darwin/x86. I
</I>&gt;<i> hope its a bit closer to being acceptable for SVN. Basically in
</I>&gt;<i> mono/libgc/include/private/darwin_stop_world.h I set
</I>&gt;<i> MACHINE_THREAD_STATE to x86_THREAD_STATE32 if x86_THREAD_STATE32
</I>&gt;<i> and __i386__ were defined.
</I>&gt;<i>
</I>&gt;<i> Hopefully the test for x86_THREAD_STATE32 will make the include a
</I>&gt;<i> non-op on the 10.3.9 SDK
</I>&gt;<i>
</I>&gt;<i> I tested the patch on intel/os x by managing to finish my build
</I>&gt;<i> without hanging and by running the ironpython interpreter.
</I>&gt;<i>
</I>&gt;<i> Diane
</I>&gt;<i>
</I>&gt;<i> &lt;mono-1.1.18.osx.x86.patch&gt;
</I>&gt;<i>
</I>&gt;<i> _______________________________________________
</I>&gt;<i> Mono-osx mailing list
</I>&gt;<i> <A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">Mono-osx at lists.ximian.com</A>
</I>&gt;<i> <A HREF="http://lists.ximian.com/mailman/listinfo/mono-osx">http://lists.ximian.com/mailman/listinfo/mono-osx</A>
</I>
--
Allan Hsu &lt;allan at counterpop dot net&gt;
1E64 E20F 34D9 CBA7 1300 1457 AC37 CBBB 0E92 C779
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="000651.html">[Mono-osx] Building mono-1.1.18 20061018
</A></li>
<LI>Next message: <A HREF="000638.html">[Mono-osx] My Project Files Moved &amp; Susan's Xcode Plug-in
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#652">[ date ]</a>
<a href="thread.html#652">[ thread ]</a>
<a href="subject.html#652">[ subject ]</a>
<a href="author.html#652">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-osx">More information about the Mono-osx
mailing list</a><br>
</body></html>