[Mono-bugs] [Bug 79135][Nor] New - mcs won't compile on Adamantix GNU/Linux 1.0.4

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Aug 21 17:32:23 EDT 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 boykin at pobox.com.


--- shadow/79135	2006-08-21 17:32:23.000000000 -0400
+++ shadow/79135.tmp.22597	2006-08-21 17:32:23.000000000 -0400
@@ -0,0 +1,98 @@
+Bug#: 79135
+Product: Mono: Compilers
+Version: 1.1
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: boykin at pobox.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: mcs won't compile on Adamantix GNU/Linux 1.0.4
+Description of Problem:
+Compiling mcs on Adamantix (a security focused distribution of GNU/Linux)
+Steps to reproduce the problem:
+1. ./configure
+2. make
+Actual Results:
+Everything seems to go smoothly up to this point:
+make[7]: Entering directory `/home/boykin/tmp/mono/mono-'
+mcs /codepage:28591   -d:NET_1_1 -d:ONLY_1_1 -d:BOOTSTRAP_WITH_OLDLIB
+-debug -target:exe -out:mcs.exe cs-parser.cs  @mcs.exe.sources
+class.cs(4999) warning CS0109: The member `Mono.CSharp.MemberBase.Parent'
+does not hide an inherited member.  The keyword new is not required
+Unhandled Exception: System.NullReferenceException: A null value was found
+where an object instance was required
+in <0x0012a> Mono.CSharp.DeclSpace:CheckAccessLevel (System.Type)
+in <0x00090> Mono.CSharp.Namespace:Lookup (Mono.CSharp.DeclSpace,string)
+in <0x001e5> Mono.CSharp.NamespaceEntry:Lookup
+in <0x00037> Mono.CSharp.RootContext:NamespaceLookup
+in <0x00131> Mono.CSharp.RootContext:LookupType
+in <0x001fb> Mono.CSharp.SimpleName:ResolveAsTypeStep (Mono.CSharp.EmitContext)
+in <0x0032b> Mono.CSharp.SimpleName:SimpleNameResolve
+in <0x0001e> Mono.CSharp.SimpleName:DoResolveAllowStatic
+in <0x000ca> Mono.CSharp.Expression:Resolve
+in <0x00099> Mono.CSharp.MemberAccess:DoResolve
+in <0x0001e> Mono.CSharp.MemberAccess:DoResolve (Mono.CSharp.EmitContext)
+in <0x000e0> Mono.CSharp.Expression:Resolve
+in <0x00019> Mono.CSharp.Expression:Resolve (Mono.CSharp.EmitContext)
+in <0x000e5> Mono.CSharp.Argument:Resolve
+in <0x002e4> Mono.CSharp.Attribute:Resolve (Mono.CSharp.EmitContext)
+in <0x00273> Mono.CSharp.Attribute:ApplyAttributes
+in <0x001f9> Mono.CSharp.RootContext:EmitCode ()
+in <0x0081f> Mono.CSharp.Driver:MainDriver (string[])
+in <0x0001b> Mono.CSharp.Driver:Main (string[])
+make[7]: *** [../class/lib/basic/mcs.exe] Error 1
+make[7]: Leaving directory `/home/boykin/tmp/mono/mono-'
+make[6]: *** [do-all] Error 2
+make[6]: Leaving directory `/home/boykin/tmp/mono/mono-'
+make[5]: *** [all-recursive] Error 1
+make[5]: Leaving directory `/home/boykin/tmp/mono/mono-'
+make[4]: *** [profile-do--basic--all] Error 2
+make[4]: Leaving directory `/home/boykin/tmp/mono/mono-'
+make[3]: *** [profiles-do--all] Error 2
+make[3]: Leaving directory `/home/boykin/tmp/mono/mono-'
+make[2]: *** [all-local] Error 2
+make[2]: Leaving directory `/home/boykin/tmp/mono/mono-'
+make[1]: *** [all-recursive] Error 1
+make[1]: Leaving directory `/home/boykin/tmp/mono/mono-'
+make: *** [all] Error 2
+Expected Results:
+I expect the compilation to work normally and produce a working binary.
+How often does this happen? 
+Every time.
+Note this distribution uses the propolice extension to GCC, but even trying
+without propolice "-fno-stack-protector-all" gives the same exception in
+the same place.
+This is with linux kernel 2.4.26, and /lib/libc-2.2.5.so.

More information about the mono-bugs mailing list