Bug 540790

Summary: gmcs with nostdlib option crashes on AttributeUsageAttribute
Product: [Mono] Mono: Compilers Reporter: Alex Martynov <bclexa>
Component: C#Assignee: Mono Bugs <mono-bugs>
Status: RESOLVED DUPLICATE QA Contact: Mono Bugs <mono-bugs>
Severity: Normal    
Priority: P5 - None    
Version: 2.0.x   
Target Milestone: ---   
Hardware: x86-64   
OS: Ubuntu   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Test case

Description Alex Martynov 2009-09-21 18:50:07 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.14) Gecko/2009090216 Ubuntu/9.04 (jaunty) Firefox/3.0.14

I can't compile my corlib surrogate on Mono

Reproducible: Always

Steps to Reproduce:
Compile attached file with the following command line:
gmcs -noconfig -nostdlib+ -target:library ./test.cs
Actual Results:  
Stacktrace is printed

Expected Results:  
It should compile

I need these bizarre things for my project 
http://code.google.com/p/lexa-jsm/

The attached file compiles fine on windows
csc /noconfig /nostdlib+ /target:library c:\test\test.cs

It would be nice to have my project available on non-microsoft systems also
Comment 1 Alex Martynov 2009-09-21 18:52:48 UTC
Created attachment 319133 [details]
Test case
Comment 2 Marek Safar 2009-09-24 11:01:56 UTC
#364670

*** This bug has been marked as a duplicate of bug 364670 ***