Menu

#320 Internal Compiler Error for -target:module

v1.0 (example)
closed-fixed
nobody
None
5
2017-02-21
2017-02-20
No

I don't know whether this is a user error - just following this line:
"PLEASE FILE A BUG REPORT FOR IKVM.NET WHEN YOU SEE THIS MESSAGE"

ikvmc -assemblyattributes:bin/AssemblyInfo.class -target:module out.jar
IKVM.NET Compiler version 8.1.5717.0
Copyright (C) 2002-2015 Jeroen Frijters
http://www.ikvm.net/

note IKVMC0002: Output file is "out.netmodule"

*** INTERNAL COMPILER ERROR ***

PLEASE FILE A BUG REPORT FOR IKVM.NET WHEN YOU SEE THIS MESSAGE

ikvmc, Version=8.1.5717.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756
/usr/lib/mono/4.5
4.0.30319.42000 64-bit

System.InvalidOperationException: Operation is not valid due to the current state of the object.
at IKVM.Reflection.Emit.ModuleBuilder.get_ModuleVersionId () [0x00025] in <197f1c91b95f45349ac3b1aa2465911b>:0
at IKVM.Internal.CompilerClassLoader.WriteResources () [0x00231] in <8fa263350fb643bc8db72a697c9e2439>:0
at IKVM.Internal.CompilerClassLoader.CompilePass3 () [0x0023b] in <8fa263350fb643bc8db72a697c9e2439>:0
at IKVM.Internal.CompilerClassLoader.Compile (System.String runtimeAssembly, System.Collections.Generic.List`1[T] optionsList) [0x003e3] in <8fa263350fb643bc8db72a697c9e2439>:0
at IkvmcCompiler.Compile (System.String[] args) [0x000fc] in <8fa263350fb643bc8db72a697c9e2439>:0
at IkvmcCompiler.Main (System.String[] args) [0x0001a] in <8fa263350fb643bc8db72a697c9e2439>:0

Discussion

  • Jeroen Frijters

    Jeroen Frijters - 2017-02-21

    Thanks for reporting this. I've fixed it in cvs. As a workaround, you can specify the -debug option.

    BTW, I would discourage using netmodules. They are not used by many people and the code is not well tested anymore.

     

    Last edit: Jeroen Frijters 2017-02-21
  • Jeroen Frijters

    Jeroen Frijters - 2017-02-21
    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB