[Mono-bugs] [Bug 677057] New: gmcs in 2.11 generates assemblies with runtime version = 4.0
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Mar 4 11:54:25 EST 2011
https://bugzilla.novell.com/show_bug.cgi?id=677057
https://bugzilla.novell.com/show_bug.cgi?id=677057#c0
Summary: gmcs in 2.11 generates assemblies with runtime version
= 4.0
Classification: Mono
Product: Mono: Compilers
Version: SVN
Platform: All
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: P5 - None
Component: C#
AssignedTo: msafar at novell.com
ReportedBy: stefanor at cox.net
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.3
(KHTML, like Gecko) Chrome/6.0.472.63 Safari/534.3
{{{
$ mono --version
Mono JIT compiler version 2.11 (master/3c1a805 Wed Feb 16 19:10:29 PST 2011)
Copyright (C) 2002-2011 Novell, Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: x86
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: Included Boehm (with typed GC and Parallel Mark)
$ cat Hello.cs
public class Hello {
public static void Main() { System.Console.WriteLine("Hello, world"); }
}
$ gmcs Hello.cs
$ strings Hello.exe | grep -A1 BSJB # This looks wrong
*BSJB
v4.0.30319
$ monodis --assemblyref Hello.exe # This looks right
AssemblyRef Table
1: Version=2.0.0.0
Name=mscorlib
Flags=0x00000000
Public Key:
0x00000000: B7 7A 5C 56 19 34 E0 89
}}}
If I use /usr/bin/gmcs (2.6.7), the runtime version comes out as a more
reasonable v2.0.50727.
Using mcs /sdk:2 instead of gmcs has no effect.
Reproducible: Always
Steps to Reproduce:
See transcript.
Actual Results:
See transcript.
Expected Results:
gmcs probably ought to make executables for the 2.0 runtime.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list