[Mono-bugs] [Bug 74911][Nor] New - Build of Mono 1.1.7, mcs part, fails with GCC 4.0

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 11 May 2005 13:36:28 -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 sergey@optimaltec.com.

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

--- shadow/74911	2005-05-11 13:36:28.000000000 -0400
+++ shadow/74911.tmp.26347	2005-05-11 13:36:28.000000000 -0400
@@ -0,0 +1,51 @@
+Bug#: 74911
+Product: Mono: Runtime
+Version: 1.1
+OS: 
+OS Details: SourceMage GNU/Linux Pure 64-bit x86_64
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: sergey@optimaltec.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Build of Mono 1.1.7, mcs part, fails with GCC 4.0
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+System.NullReferenceException thrown when compiling mono with GCC 4.0
+
+Steps to reproduce the problem:
+1. Use GCC 4.0, x86_64, pure 64-bit environment, glibc 2.3.5
+2. Run ./configure with pretty much any combination of settings
+(--with-tls=pthread or __thread, with or without libgc, with or without ikvm)
+3. Run make
+
+Actual Results:
+When trying to build basic profile, I get this:
+Unhandled Exception: System.NullReferenceException: Object reference not
+set to an instance of an object in (wrapper managed-to-native)
+System.Object:__icall_wrapper_mono_array_new_specific (intptr,int) in
+<0x002f3> Mono.CSharp.Block:ResolveMeta
+...
+
+Expected Results:
+Mono compiles successfully.
+
+How often does this happen? 
+Always.
+
+Additional Information:
+
+The exact same error is described in this thread, but for me it happens
+regardless of following the advice posted there:
+http://thread.gmane.org/gmane.linux.debian.ports.amd64/8161
+
+SourceMage GNU/Linux is a source-based distribution that uses bash-based
+custom package manager/build tool.