[Mono-devel-list] gmcs doesn't build

Jaroslaw Kowalski jaak at zd.com.pl
Thu May 20 04:32:59 EDT 2004


RE: [Mono-devel-list] gmcs doesn't buildCurrently it's unable to bootstrap corlib v2.0:

make[8]: Leaving directory `/home/mono/src/mcs/gmcs'
MONO_PATH="../lib/net_2_0_bootstrap:$MONO_PATH" mono  ../../gmcs/gmcs.exe /nowarn:649 /nowarn:169 -d:INSIDE_CORLIB  -d:NET_1_1 -d:NET_2_0 -2 -g /noconfig /unsafe /nostdlib /define:NET_1_1 /define:NET_2_0 /target:library /out:../lib/net_2_0/mscorlib.dll @../../build/deps/corlib_net_2_0.dll.response
ALPHA SOFTWARE: Mono C# Compiler 0.91.99.0 for Generics
System.Reflection.Emit/GenericTypeParameterBuilder.cs(204) warning CS1030: #warning: '"FIXME"'

Unhandled Exception: System.NullReferenceException: A null value was found where an object instance was required.
in <0x00032> Mono.CSharp.Attribute:CheckAttributeType (Mono.CSharp.EmitContext,bool)
in <0x0002a> Mono.CSharp.Attribute:ResolveType (Mono.CSharp.EmitContext,bool)
in <0x0014a> Mono.CSharp.MethodData:ApplyAttributes (Mono.CSharp.Attributes,bool,Mono.CSharp.DeclSpace)
in <0x0008a> Mono.CSharp.MethodData:Define (Mono.CSharp.TypeContainer)
in <0x00166> Mono.CSharp.Method:Define (Mono.CSharp.TypeContainer)
in <0x00177> Mono.CSharp.TypeContainer:DefineMembers (System.Collections.ArrayList,System.Reflection.MemberInfo[])
in <0x007a3> Mono.CSharp.TypeContainer:DoDefineMembers ()
in <0x0002d> Mono.CSharp.TypeContainer:DefineMembers (Mono.CSharp.TypeContainer)
in <0x0004a> Mono.CSharp.RootContext:PopulateCoreType (Mono.CSharp.TypeContainer,string)
in <0x0002e> Mono.CSharp.RootContext:BootCorlib_PopulateCoreTypes ()
in <0x00bda> Mono.CSharp.Driver:MainDriver (string[])
in <0x0001f> Mono.CSharp.Driver:Main (string[])

make[7]: *** [corlib_net_2_0_compile] Error 1
make[7]: Leaving directory `/home/mono/src/mcs/class/corlib'

Reverting gmcs to a version from May 16 works fine. 
Any news about the tinderbox setup ? Having a non-buildable CVS for 24 hours is really bad thing one month before the final release.

Jarek
  ----- Original Message ----- 
  From: Belbin, Peter 
  To: 'Jaroslaw Kowalski' ; mono-devel mailing list 
  Sent: Wednesday, May 19, 2004 8:36 PM
  Subject: RE: [Mono-devel-list] gmcs doesn't build


  The problem below aside, there is a further problem with class.cs (2465) and later, which prevents me from building the bootstrap target properly.

  make[6]: Entering directory `/home/pbelbin/projects/monodaily/mcs/gmcs' 
  MONO_PATH="../class/lib/net_2_0_bootstrap:$MONO_PATH" mono ../mcs/mcs.exe -2 /target:exe /out:gmcs.exe AssemblyInfo.cs anonymous.cs assign.cs attribute.cs driver.cs cs-tokenizer.cs cfold.cs class.cs codegen.cs const.cs constant.cs convert.cs decl.cs delegate.cs enum.cs ecore.cs expression.cs flowanalysis.cs generic.cs iterators.cs literal.cs location.cs modifiers.cs namespace.cs parameter.cs pending.cs report.cs rootcontext.cs statement.cs support.cs typemanager.cs symbolwriter.cs tree.cs CryptoConvert.cs cs-parser.cs

  class.cs(2465) error CS1502: The best overloaded match for method ' Mono.CSharp.TypeContainer..ctor (Mono.CSharp.NamespaceEntry, Mono.CSharp.TypeContainer, Mono.CSharp.MemberName, Mono.CSharp.Attributes, Mono.CSharp.Location)' has some invalid arguments

  class.cs(2465) error CS1503: Argument 2: Cannot convert from 'string' to 'Mono.CSharp.MemberName' 
  class.cs(2465) error CS1501: No overload for method `Mono.CSharp.TypeContainer' takes `5' arguments 
  class.cs(2465) error CS1501: Can not find a constructor for this argument list 
  class.cs(2477) error CS1502: The best overloaded match for method 'bool Mono.CSharp.Attributes.Contains (System.Type, Mono.CSharp.EmitContext)' has some invalid arguments

  class.cs(2477) error CS1503: Argument 1: Cannot convert from 'Mono.CSharp.ClassOrStruct' to 'Mono.CSharp.EmitContext' 
  class.cs(2477) error CS1501: No overload for method `Contains' takes `2' arguments 
  class.cs(2477) error CS8006: Could not find any applicable function for this argument list 
  class.cs(2486) error CS1502: The best overloaded match for method 'bool Mono.CSharp.Attributes.Contains (System.Type, Mono.CSharp.EmitContext)' has some invalid arguments

  class.cs(2486) error CS1503: Argument 1: Cannot convert from 'Mono.CSharp.ClassOrStruct' to 'Mono.CSharp.EmitContext' 
  class.cs(2486) error CS1501: No overload for method `Contains' takes `2' arguments 
  class.cs(2486) error CS8006: Could not find any applicable function for this argument list 
  class.cs(2523) error CS1502: The best overloaded match for method ' Mono.CSharp.ClassOrStruct..ctor (Mono.CSharp.NamespaceEntry, Mono.CSharp.TypeContainer, string, Mono.CSharp.Attributes, Mono.CSharp.Location)' has some invalid arguments

  class.cs(2523) error CS1503: Argument 2: Cannot convert from 'Mono.CSharp.MemberName' to 'string' 
  class.cs(2523) error CS1501: No overload for method `Mono.CSharp.ClassOrStruct' takes `5' arguments 
  class.cs(2523) error CS1501: Can not find a constructor for this argument list 
  class.cs(2560) error CS1502: The best overloaded match for method ' Mono.CSharp.ClassOrStruct..ctor (Mono.CSharp.NamespaceEntry, Mono.CSharp.TypeContainer, string, Mono.CSharp.Attributes, Mono.CSharp.Location)' has some invalid arguments

  class.cs(2560) error CS1503: Argument 2: Cannot convert from 'Mono.CSharp.MemberName' to 'string' 
  class.cs(2560) error CS1501: No overload for method `Mono.CSharp.ClassOrStruct' takes `5' arguments 
  class.cs(2560) error CS1501: Can not find a constructor for this argument list 
  cs-parser.jay(2615) warning CS0162: Unreachable code detected 
  Compilation failed: 20 error(s), 1 warnings 
  make[6]: *** [gmcs.exe] Error 1 
  make[6]: Leaving directory `/home/pbelbin/projects/monodaily/mcs/gmcs' 
  make[5]: *** [../../gmcs/gmcs.exe] Error 2 
  make[5]: Leaving directory `/home/pbelbin/projects/monodaily/mcs/class/corlib' 
  make[4]: *** [../../class/lib/net_2_0/mscorlib.dll] Error 1 
  make[4]: Leaving directory `/home/pbelbin/projects/monodaily/mcs/class/corlib' 
  make[3]: *** [all-recursive] Error 1 
  make[3]: Leaving directory `/home/pbelbin/projects/monodaily/mcs/class' 
  make[2]: *** [all-recursive] Error 1 
  make[2]: Leaving directory `/home/pbelbin/projects/monodaily/mcs' 
  make[1]: *** [all-profiles] Error 1 
  make[1]: Leaving directory `/home/pbelbin/projects/monodaily/mcs' 
  make: *** [stage3] Error 2 
  vaders#   

   

  -----Original Message----- 
  From: Jaroslaw Kowalski [mailto:jaak at zd.com.pl] 
  Sent: Wednesday, May 19, 2004 11:40 AM 
  To: mono-devel mailing list 
  Subject: [Mono-devel-list] gmcs doesn't build 

  gmcs in current CVS doesn't build: 

  When compiling gmcs: 

  attribute.cs(816) error CS1002: Expecting `;' 
  syntax error, got token `IF', expecting ABSTRACT BOOL BYTE CHAR CLASS CONST DECIMAL DELEGATE DOUBLE ENUM EVENT EXPLICIT EXTERN FLOAT IMPLICIT INT INTERFACE INTERNAL LONG NEW OBJECT OVERRIDE PRIVATE PROTECTED PUBLIC READONLY SBYTE SEALED SHORT STATIC STRING STRUCT UINT ULONG UNSAFE USHORT VIRTUAL VOID VOLATILE CLOSE_BRACE OPEN_BRACKET TILDE IDENTIFIER

  Mono.CSharp.yyParser.yyException: irrecoverable syntax error in <0x00814> Mono.CSharp.CSharpParser:yyparse (Mono.CSharp.yyParser.yyInput) in <0x00079> Mono.CSharp.CSharpParser:parse ()

  attribute.cs(825) error CS8025: Parsing error 

  Jarek 

  _______________________________________________ 
  Mono-devel-list mailing list 
  Mono-devel-list at lists.ximian.com 
  http://lists.ximian.com/mailman/listinfo/mono-devel-list 




  NOTICE: This electronic mail transmission may contain confidential information and is intended only for the person(s) named.  Any use, copying or disclosure by any other person is strictly prohibited. If you have received this transmission in error, please notify the sender via e-mail.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040520/37ae339e/attachment.html 


More information about the Mono-devel-list mailing list