mail-archives/mono-bugs/2010-October/105314.html

210 строки
5.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 648838] New: [Regression?] error: 'SIGTRAP' undeclared when cross-compiling with mingw
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20648838%5D%20New%3A%20%5BRegression%3F%5D%20error%3A%20%27SIGTRAP%27%0A%20undeclared%20when%20cross-compiling%20with%20mingw&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="105313.html">
<LINK REL="Next" HREF="105328.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 648838] New: [Regression?] error: 'SIGTRAP' undeclared when cross-compiling with mingw</H1>
<B>bugzilla_noreply at novell.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20648838%5D%20New%3A%20%5BRegression%3F%5D%20error%3A%20%27SIGTRAP%27%0A%20undeclared%20when%20cross-compiling%20with%20mingw&In-Reply-To="
TITLE="[Mono-bugs] [Bug 648838] New: [Regression?] error: 'SIGTRAP' undeclared when cross-compiling with mingw">bugzilla_noreply at novell.com
</A><BR>
<I>Sat Oct 23 07:02:33 EDT 2010</I>
<P><UL>
<LI>Previous message: <A HREF="105313.html">[Mono-bugs] [Bug 498695] &quot;mono.dll&quot; for vsnet vs &quot;libmono.dll&quot; for mingw cross build.
</A></li>
<LI>Next message: <A HREF="105328.html">[Mono-bugs] [Bug 648838] [Regression?] error: 'SIGTRAP' undeclared when cross-compiling with mingw
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#105314">[ date ]</a>
<a href="thread.html#105314">[ thread ]</a>
<a href="subject.html#105314">[ subject ]</a>
<a href="author.html#105314">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>
<A HREF="https://bugzilla.novell.com/show_bug.cgi?id=648838">https://bugzilla.novell.com/show_bug.cgi?id=648838</A>
<A HREF="https://bugzilla.novell.com/show_bug.cgi?id=648838#c0">https://bugzilla.novell.com/show_bug.cgi?id=648838#c0</A>
Summary: [Regression?] error: 'SIGTRAP' undeclared when
cross-compiling with mingw
Classification: Mono
Product: Mono: Runtime
Version: 2.8.x
Platform: x86-64
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: P5 - None
Component: misc
AssignedTo: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">htl10 at users.sourceforge.net</A>
QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (X11; U; Linux; en-GB) AppleWebKit/532.4 (KHTML,
like Gecko) konqueror/4.4.5 Safari/532.4
This appears to be a regression that got in during 2.8 rc2 and 2.8 proper.
(between the /8/ build and the /9/ build). I was able to cross-compile 2.8 rc2
, on an up-to-date fedora 13 x86_64 box.
but with 2.8 proper a couple of weeks later, some &quot;error: 'SIGTRAP' undeclared&quot;
happens:
---------------------------
./../../mono/mini/method-to-ir.c: In function 'get_basic_blocks':
./../../mono/mini/method-to-ir.c:4938: error: 'SIGTRAP' undeclared (first use
in this function)
./../../mono/mini/method-to-ir.c:4938: error: (Each undeclared identifier is
reported only once
./../../mono/mini/method-to-ir.c:4938: error: for each function it appears
in.)
./../../mono/mini/method-to-ir.c: In function 'mono_method_to_ir':
./../../mono/mini/method-to-ir.c:5513: error: 'SIGTRAP' undeclared (first use
in this function)
./../../mono/mini/method-to-ir.c:5598: warning: implicit declaration of
function 'alloca'
./../../mono/mini/method-to-ir.c:5598: warning: incompatible implicit
declaration of built-in function 'alloca'
make[4]: *** [libmono_2_0_la-method-to-ir.lo] Error 1
-------------------
For 2.8, inserting into &quot;mono/mini/method-to-ir.c&quot; and
&quot;mono/mini/mini-exceptions.c&quot; the following snipplet:
#ifndef SIGTRAP
#define SIGTRAP 5
#endif
allows the cross-compile to continue to completion.
For git head, &quot;mono/mini/mini.c&quot; also needs this snipplet. It seems to be due
to some sort of recent changes in the area of exceptions.
Reproducible: Always
Actual Results:
compilation fails with error &quot;SIGTRAP&quot; undeclared
Expected Results:
compilation goes to completion.
--
Configure bugmail: <A HREF="https://bugzilla.novell.com/userprefs.cgi?tab=email">https://bugzilla.novell.com/userprefs.cgi?tab=email</A>
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="105313.html">[Mono-bugs] [Bug 498695] &quot;mono.dll&quot; for vsnet vs &quot;libmono.dll&quot; for mingw cross build.
</A></li>
<LI>Next message: <A HREF="105328.html">[Mono-bugs] [Bug 648838] [Regression?] error: 'SIGTRAP' undeclared when cross-compiling with mingw
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#105314">[ date ]</a>
<a href="thread.html#105314">[ thread ]</a>
<a href="subject.html#105314">[ subject ]</a>
<a href="author.html#105314">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>