[Mono-bugs] [Bug 77321][Nor] New - compiling interpreter fails

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Jan 22 09:29:59 EST 2006


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 ttrepl at yahoo.de.

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

--- shadow/77321	2006-01-22 09:29:59.000000000 -0500
+++ shadow/77321.tmp.27452	2006-01-22 09:29:59.000000000 -0500
@@ -0,0 +1,81 @@
+Bug#: 77321
+Product: Mono: Compilers
+Version: 1.1
+OS: 
+OS Details: LFS development version
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Other.
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: ttrepl at yahoo.de               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: compiling interpreter fails
+
+The interpreter isn't compilable. At least here on my system which is a LFS
+based on the version of late Dec 2005. I should add that the gcc version is
+4.0.2. The Mono version is 1.1.13.2
+
+I tried to compile the Mono package with
+
+<hardcopy>
+./configure --prefix=/opt/mono --with-tls=pthread --with-jit=yes
+--with-interp=yes &&
+make &&
+make install
+</hardcopy>
+
+This terminates with
+
+<hardcopy>
+ gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../libgc/include
+-I/usr/include/glib-2.0
+-I/usr/lib/glib-2.0/include -pthread -I/usr/include/glib-2.0
+-I/usr/lib/glib-2.0/include
+-DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT -DUSE_MMAP -DUSE_MUNMAP
+-D_FILE_OFFSET_BITS=64 -g
+-O2 -fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused
+-Wmissing-prototypes
+-Wmissing-declarations -Wstrict-prototypes -Wmissing-prototypes
+-Wnested-externs -Wpointer-arith
+-Wno-cast-qual -Wcast-align -Wwrite-strings -MT transform.lo -MD -MP -MF
+.deps/transform.Tpo -c
+transform.c  -fPIC -DPIC -o .libs/transform.o
+transform.c: In function 'generate':
+transform.c:2719: warning: pointer targets in passing argument 2 of
+'mono_type_size' differ in
+signedness
+transform.c: In function 'mono_interp_transform_method':
+transform.c:2934: error: too few arguments to function
+'mono_get_exception_missing_method'
+transform.c:3025: warning: pointer targets in passing argument 2 of
+'mono_type_native_stack_size' differ in signedness
+make[3]: *** [transform.lo] Fehler 1
+make[3]: Leaving directory
+`/pub/lfs8/sources/disc02/d/mono/mono-1.1.13.2/mono/interpreter'
+make[2]: *** [all-recursive] Fehler 1
+make[2]: Leaving directory `/pub/lfs8/sources/disc02/d/mono/mono-1.1.13.2/mono'
+make[1]: *** [all-recursive] Fehler 1
+make[1]: Leaving directory `/pub/lfs8/sources/disc02/d/mono/mono-1.1.13.2'
+make: *** [all] Fehler 2
+root at zoolook:/pub/lfs8$
+</hardcopy>
+
+After I removed the "--with-interp" switch, everything went fine. Looking
+in mono/metadata/exception.h the declaration shows
+
+mono_get_exception_missing_method (const char *class_name, const char
+*member_name);
+
+but in mono/interpreter/transform.c, line 2934, shows
+
+return mono_get_exception_missing_method ();
+
+I think there should be passed some (two) parameters, isn't it?
+
+Hopefully, that all makes sense and isn't just noise.
+Thomas


More information about the mono-bugs mailing list