[Mono-bugs] [Bug 77709][Maj] New - mkbundle --deps does not differentiate 1.0/2.0 profiles

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Mar 5 10:15:59 EST 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 sebastian.nowozin at web.de.


--- shadow/77709	2006-03-05 10:15:59.000000000 -0500
+++ shadow/77709.tmp.891	2006-03-05 10:15:59.000000000 -0500
@@ -0,0 +1,56 @@
+Bug#: 77709
+Product: Mono: Tools
+Version: 1.1
+OS Details: 
+Status: NEW   
+Priority: Major
+Component: tools
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: sebastian.nowozin at web.de               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: mkbundle --deps does not differentiate 1.0/2.0 profiles
+Description of Problem:
+mkbundle does not recognize the dependencies of an executable properly. 
+When compiled with gmcs an executable references the mscorlib 2.0 library,
+but mkbundle links in mscorlib 1.0.
+Steps to reproduce the problem:
+1. Compile any program (helloworld) with gmcs.
+2. monodis --assemblyref helloword.exe
+3. mkbundle -o helloworld.binary --deps helloworld.exe
+Actual Results:
+AssemblyRef Table
+1: Version=
+        Name=mscorlib
+        Public Key:
+0x00000000: B7 7A 5C 56 19 34 E0 89 
+$ mkbundle -o helloworld.binary --deps helloworld.exe
+OS is: Linux
+Sources: 1 Auto-dependencies: True
+   embedding: /tmp/mkbundle-bug/helloworld.exe
+   embedding: /usr/lib/mono/1.0/mscorlib.dll
+as -o /tmp/tmp2262b3a0.tmp.o temp.s 
+cc -ggdb -o helloworld.binary -Wall temp.c `pkg-config --cflags --libs
+mono`  /tmp/tmp2262b3a0.tmp.o
+Expected Results:
+Merging in mscorlib 2.0.
+How often does this happen? 
+Every time.

More information about the mono-bugs mailing list