[Mono-list] FreeBSD issues, CVS

Faried Nawaz fn@hungry.com
9 Nov 2002 02:48:31 +0500


Hello,

I installed Mono from CVS on my FreeBSD 4.7 box.  I used the latest monocharge
file and upgraded from CVS to something current.  I did

- cvs co mono and mcs
- cd mono, autogen and install it
- unpack monocharge, copy *.dll and *.exe in the right places
- cd mcs, compile and install

However, I now have a few problems:

1. Console.WriteLine produces weird artifacts before and after everything
it prints:

$ cat test.cs
using System;

class test {
        public static int Main(string[] args) {
                Console.WriteLine("abc");
                return 0;
        }
}
$ mcs test.cs
Compilation succeeded
$ mono test.exe
abc
$ mint test.exe
abc
$ mono test.exe | od -c
0000000  357 273 277   a   b   c 357 273 277  \n                        
0000012
$ 


2. mcs.exe takes forever to recompile corlib.dll (I'm not sure it ever
succeeds).  I looked at the compile line in mcs/class/corlib and typed
this in:

01:43:09% mono ../../mcs/mcs.exe --timestamp --target library --noconfig -o ../../class/lib/corlib.dll --unsafe --nostdlib @.response
[30:869] Loading references
[00:400]    References loaded
[00:291] Initializing Core Types
[00:402]    Core Types done
[00:007] Resolving tree
[01:272] Populate tree
[168:290] Emitting code
[202:270] Total so far
^C
You have mail in /u/fn/Mailbox
02:11:29% 

(I stripped away the Console.WriteLine crap in the above paste.)

Yes, I did stop it 30 minutes later.  It was using > 75MB of memory.
mono is linked with Boehm's GC -- version 6.0.

I updated my Linux box (2.4.18) with the same procedure using the same checked out
CVS code, and it worked without a hitch.


Faried.