[Mono-bugs] [Bug 353874] mcs fails on Solaris if stack size is unlimited

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jun 1 08:36:47 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=353874

User NTmatter at gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=353874#c2


Thomas Johnson <NTmatter at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |NTmatter at gmail.com




--- Comment #2 from Thomas Johnson <NTmatter at gmail.com>  2009-06-01 06:36:45 MDT ---
This issue continues to affect the 2.4 release (compiled from source with
default configure options) on OpenSolaris 2008.11 snv_111b. 

Playing with the stack size parameter indicates that a hard stack limit (soft
limit is ignored) greater than 128MB causes the compiler to fail with "error
CS8032: Internal compiler error during parsing"

As a workaround, issuing the following command in the shell will allow the
compile to complete successfully:
prctl -s -v 128MB -t privileged -n process.max-stack-size $$

[run make here]

mcs will continue to emit the following warning, but it seems to have no
adverse effects: GC Warning: Large stack limit(134217728): only scanning 8 MB

When complete, remove the previously set stack limit again with:
prctl -x -t privileged -n process.max-stack-size $$

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list