Bug 321075 (MONO78335) - [PATCH] /key doesn't work without an attribute to specify the public key
Summary: [PATCH] /key doesn't work without an attribute to specify the public key
Status: RESOLVED FIXED
Alias: MONO78335
Product: Mono: Compilers
Classification: Mono
Component: IL assembler (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Sebastien Pouliot
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-08 11:36 UTC by YunSong Hwang
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
My Work files (3.09 KB, application/octet-stream)
2006-05-08 11:36 UTC, Thomas Wiest
Details
patch for ilasm (includes tests) (5.01 KB, patch)
2006-05-09 18:14 UTC, Thomas Wiest
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 19:58:11 UTC


---- Reported by hys545@dreamwiz.com 2006-05-08 04:36:04 MST ----

Please fill in this template when reporting a bug, unless you know what you
are doing.
Description of Problem:
I signed ikvm-jvm

Assembling 'jvm32.il' , no listing file, to dll --> 'JVM.dll'

Assembling 'jvm64.il' , no listing file, to dll --> 'JVM.dll'

Assembling 'jvm_h.il' , no listing file, to dll --> 'JVM.dll'

Signing assembly with the specified strongname keypair
Operation completed successfully


But
gacutil /i JVM.dll
Failure adding assembly to the cache: The file specified is not a valid
assembly.


Steps to reproduce the problem:
1. 
2. 
3. 

Actual Results:


Expected Results:


How often does this happen? 


Additional Information:



---- Additional Comments From hys545@dreamwiz.com 2006-05-08 04:36:41 MST ----

Created an attachment (id=169796)
My Work files




---- Additional Comments From hys545@dreamwiz.com 2006-05-08 04:37:40 MST ----

I uploaded Working Files

Simply

sh build.sh




---- Additional Comments From sebastien@ximian.com 2006-05-09 08:49:37 MST ----

It seems that signing the assembly "breaks" it.

Compiling this under Windows with MS ilasm (see note 1) works
correctly and Mono's SN can verify, re-sign and (re-)verify the
assembly without problem.

notes:
(1) the build.sh script isn't correct. You cannot include both
jvm32.il and jvm64.il (that shouldn't have compiled)
(2) please include the type of attachment in your description
(bugzilla loose this information). For the record, this is a TAR
(without extension) inside a BZ2 file.



---- Additional Comments From sebastien@ximian.com 2006-05-09 09:10:05 MST ----

new summary say it all...



---- Additional Comments From sebastien@ximian.com 2006-05-09 11:14:25 MST ----

Created an attachment (id=169797)
patch for ilasm (includes tests)




---- Additional Comments From sebastien@ximian.com 2006-05-09 11:15:26 MST ----

next step is to fix [g]mcs...



---- Additional Comments From sebastien@ximian.com 2006-05-09 11:23:24 MST ----

new OutOfMemoryException (self);
this is working fine in [g]mcs



---- Additional Comments From sebastien@ximian.com 2006-05-09 11:30:15 MST ----

Fixed in SVN (r60447).
Added new tests (r60446).

Imported an attachment (id=169796)
Imported an attachment (id=169797)

Unknown operating system unknown. Setting to default OS "Other".