[Mono-bugs] [Bug 60788][Nor] New - opcode.def generation is wrong

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 26 Jun 2004 14:36:16 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by recht@netbsd.org.

http://bugzilla.ximian.com/show_bug.cgi?id=60788

--- shadow/60788	2004-06-26 14:36:16.000000000 -0400
+++ shadow/60788.tmp.23079	2004-06-26 14:36:16.000000000 -0400
@@ -0,0 +1,74 @@
+Bug#: 60788
+Product: Mono: Runtime
+Version: unspecified
+OS: other
+OS Details: NetBSD 2.0_BETA i386 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: recht@netbsd.org               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: opcode.def generation is wrong
+
+Description of Problem:
+mono's build process generates a wrong mono/cil/opcode.def file. The file 
+produced is different to the one in the distribution (checked beta3, rc1). 
+With the faile in distribution (== commenting out the re-generation) the 
+build succeeds.
+
+Steps to reproduce the problem:
+1. ./configure && gmake
+
+Actual Results:
+build fails
+
+Expected Results:
+build succeeds
+
+How often does this happen? 
+everytime
+
+Additional Information:
+ gcc -DHAVE_CONFIG_H -I. -I../.. -I../../mono -I../../libgc/include 
+-pthread -I/usr/pkg/packages/glib2-2.4.2/include/glib/glib-2.0 
+-I/usr/pkg/packages/glib2-2.4.2/lib/glib-2.0/include 
+-I/usr/pkgsrc/lang/mono/work/.buildlink/include 
+-DMONO_ASSEMBLIES=\"/usr/pkg/lib\" -DMONO_CFG_DIR=\"/usr/pkg/etc/mono\" 
+-I/usr/pkg/packages/glib2-2.4.2/include -D_REENTRANT -O2 -pipe 
+-march=athlon-xp -fno-strict-aliasing -g -Wall -Wunused 
+-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes 
+-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual 
+-Wcast-align -Wwrite-strings -c marshal.c -MT marshal.lo -MD -MP -MF .
+deps/marshal.TPlo  -fPIC -DPIC -o .libs/marshal.o
+marshal.c: In function `mono_mb_emit_native_call':
+marshal.c:605: error: `CEE_MONO_SAVE_LMF' undeclared (first use in this 
+function)
+marshal.c:605: error: (Each undeclared identifier is reported only once
+marshal.c:605: error: for each function it appears in.)
+marshal.c:611: error: `CEE_MONO_RESTORE_LMF' undeclared (first use in this 
+function)
+marshal.c: In function `mono_remoting_wrapper':
+marshal.c:1622: warning: passing arg 1 of `mono_object_unbox' from 
+incompatible pointer type
+marshal.c: In function `mono_marshal_get_managed_wrapper':
+marshal.c:2310: error: `CEE_MONO_FUNC2' undeclared (first use in this 
+function)
+marshal.c: In function `mono_marshal_get_native_wrapper':
+marshal.c:3283: error: `CEE_MONO_FUNC2' undeclared (first use in this 
+function)
+marshal.c: At top level:
+marshal.c:49: warning: `mono_marshal_runtime_glist_find_klass' declared 
+`static' but never defined
+gmake[3]: *** [marshal.lo] Fehler 1
+gmake[3]: Leaving directory `/usr/pkgsrc/lang/mono/work/mono-0.
+97/mono/metadata'gmake[2]: *** [all-recursive] Fehler 1
+gmake[2]: Leaving directory `/usr/pkgsrc/lang/mono/work/mono-0.97/mono'
+gmake[1]: *** [all-recursive] Fehler 1
+gmake[1]: Leaving directory `/usr/pkgsrc/lang/mono/work/mono-0.97'
+gmake: *** [all] Fehler 2