[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.

http://bugzilla.ximian.com/show_bug.cgi?id=77709

--- 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: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: tools
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: sebastian.nowozin at web.de               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+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=2.0.0.0
+        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
+Compiling:
+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
+Done
+
+
+Expected Results:
+Merging in mscorlib 2.0.
+
+How often does this happen? 
+Every time.


More information about the mono-bugs mailing list