[Mono-bugs] [Bug 515050] [Regression] cross-compiling failed at genmdesc.pl with 'Invalid opcode addps'
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sun Jun 21 21:52:42 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=515050
User htl10 at users.sourceforge.net added comment
http://bugzilla.novell.com/show_bug.cgi?id=515050#c2
--- Comment #2 from Hin-Tak Leung <htl10 at users.sourceforge.net> 2009-06-21 19:52:40 MDT ---
I had a look at that perl script genmdesc.pl and what win32 genmdesc.exe does,
and I can pursuade the perl script to behave like the C program by adding just
' -DMONO_ARCH_SUPPORT_SIMD_INTRINSICS ' to where the perl script invoke the C
preprocessor:
===================================================
--- genmdesc.pl.orig 2009-06-08 18:31:41.000000000 +0100
+++ genmdesc.pl 2009-06-22 02:35:25.000000000 +0100
@@ -47,7 +47,7 @@
$arch_define = "TARGET_ARM";
}
- $cpp .= " -D$arch_define $srcdir/mini-ops.h|";
+ $cpp .= " -DMONO_ARCH_SUPPORT_SIMD_INTRINSICS -D$arch_define
$srcdir/mini-ops.h|";
#print "Running: $cpp\n";
open (OPS, $cpp) || die "Cannot execute cpp: $!";
while (<OPS>) {
====================================================
I don't know what's the impact of this change is, but it seems to make the perl
script behaves like the C program (other than white spaces and trivial "1" ->
"\x31" style char to equivalent hex escapes).
Please consider making the the perl script agree with the C program :-).
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list