Bug 312444 (MONO44586) - mono compiles, but mcs refuses to compile
Summary: mono compiles, but mcs refuses to compile
Status: RESOLVED INVALID
Alias: MONO44586
Product: Mono: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Enhancement
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords: build
Depends on:
Blocks:
 
Reported: 2003-06-12 06:29 UTC by Will Johansson
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

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


---- Reported by WillXPP@triad.rr.com 2003-06-11 23:29:36 MST ----

Description of Problem: mono compiles, but mcs refuses to compile 
 
Steps to reproduce the problem: 
1. Get sources from CVS. 
2. Compile mono as directed. 
3. Get mono-charge as directed. 
4. Compile mcs by: 
	make -f makefile.gnu 
5. It fails. 
 
Actual Results: http://stuff.digitizedweb.com/mcs_compile.txt (includes both 
stdout and stderr) 
 
Expected Results: mcs to compile fully. 
 
How often does this happen? Every time I try to compile mcs. 
 
Additional Information: It is of particular interest that boehm-gc is "running out of 
memory." Perhaps that's contributing the problem? I don't understand why it 
does because I have 1 GB of RAM and 1 GB of swap.



---- Additional Comments From WillXPP@triad.rr.com 2003-06-12 01:55:47 MST ----

Okay, new info. It's the GC. 
 
I did this: 
 
1. Compile mono by: 
	./autogen.sh --prefix=/usr --with-gc=none 
	make && make install 
2. Compile mcs by:  
        make -f makefile.gnu  
	make -f makefile.gnu install prefix=/usr 
3. Succeeds! 
 
Note the argument --with-gc=none. 
 
So without any gc it works fine, but what is broken with gc? 
 
I've tried boehm-gc and the included libgc... I keep "running out of RAM." 



---- Additional Comments From bmaurer@users.sf.net 2003-06-16 11:48:12 MST ----

Looks like you dont have libgc installed correctly



---- Additional Comments From WillXPP@triad.rr.com 2003-06-16 17:36:56 MST ----

Eh, on Gentoo boehm-gc compiled just fine, in fact I did it twice or 
thrice, at least one time compiled with the "safe" compiler options 
(-march=athlon-xp -O2 -pipe) after having compiled glibc with the 
same flags.

I will give Gentoo another try as it doesn't work on Red Hat with a 
different error (in fact, it has to do with mono, instead of mcs), I 
will keep that in the records so I might submit it later.

It is most likely my sticks of RAM. memtest86 claims all 1 GB of 
them fails the fifth test, whereas on the other tests it works fine.

I will give more information as time progresses.


Unknown bug field "cf_op_sys_details" encountered while moving bug
   <cf_op_sys_details>Gentoo 1.4 rc4</cf_op_sys_details>
Unknown operating system unknown. Setting to default OS "Other".