bugDotGNU Portable.NET - Bugs: bug #3467, Fail to compile mscorlib.dll 0.5.6

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #3467: Fail to compile mscorlib.dll 0.5.6

Submitted by:  Yannis BRES <yannis_bres>
Submitted on:  Mon 05 May 2003 10:22:07 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Wed 07 May 2003 10:49:49 AM UTC, comment #1:

Fix committed 7 May 2003

Rhys Weatherley <rweather>
Project Administrator
Mon 05 May 2003 10:22:07 AM UTC, original submission:

There is a problem when compiling mscorlib.dll 0.5.6 under Cygwin on Windows XP SP1, when running cscc on the .cs files that compose the runtime.
It looks like there is a limit in the size of a command-line, either coming from Cygwin's bash or Win32.

cscc can be lauched successfully with the file list up to ./System/Runtime/CompilerServices/CompilerGlobalScopeAttribute.cs (but there are a lot of errors due to missing types).

If we add ./System/Runtime/CompilerServices/CustomConstantAttribute.cs, then it fails:
L:\Cygwin\usr\local\bin\cscc.exe: *** fork: can't reserve memory for stack 0x40000 - 0x240000, Win32 error 487
2049 [main] cscc 4048 sync_with_child: child 3684(0x724) died before initialization with status code 0x1
2938 [main] cscc 4048 sync_with_child: *** child state waiting for longjmp
fork: Resource temporarily unavailable

If we include some more files, or all the files, or if we try to reduce the list length with wildcards that will be expanded by the shell, then we end up with:
bash: /usr/local/bin/cscc: Invalid argument

Any idea/workaround ?

Yannis BRES <yannis_bres>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Wed 07 May 2003 10:49:49 AM UTCrweatherStatusNone=>(Error - Not Found)
  Open/ClosedOpen=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1