[Mono-dev] Cannot compile the 9/16 daily build due to: boehm-gc.c:262: parse error before `MONO_TLS_FAST'

Robert Jordan robertj at gmx.net
Sun Sep 16 19:11:13 EDT 2007


Hi Philippe,

The patch fixes the issue with gcc 2.95.

Now you may use SVN HEAD with --disable-mcs-build and the
"monocharge" assemblies from

http://mono.ximian.com/daily/

HTH
Robert

mono-dev at monnet-usa.com wrote:
> Robert,
> 
> Thanks for the quick reply. 
> I checked the version of gcc and it is really old: 2.95.4.
> So I guess I am going to figure out how to get the newest stable version compiled and setup and take it from there for 3 & 4.
> 
> Unfortunately since my shared host is the only place where I can do any kind of Linux development (at least for now), I am not sure how I will be able to get around the memory allocation ceiling issue.
> 
> Philippe
> 
> PS: I knew that having a shared host would bring some limitations ... but still ... :-(
> 
>>Hi,
>>
>>mono-dev at monnet-usa.com wrote:
>> > First, I am newbie. I am a .net developer, but my personal web site is on a 
>>
>> > Linux shared web host. As a result I would like to setup Mono on Apache. I 
>>have 
>> > tried for the last week to compile a build without any success.
>> > 
>> > I have tried the following:
>> >   1- mono-1.2.5 from ttp://go-mono.com/sources-stable/
>> >   2- SVN TAGS mono-1-2-5-p5
>> >   3- SVN TRUNK
>> >   4- and finally mono-latest (mono-20070916)
>> > 
>> > For 1 & 2 I get the following error:
>> > 
>>-------------------------------------------------------------------------------
>>-----------
>> >             GLib-ERROR **: gmem.c:135:g_malloc(): failed to allocate 8192 
>>bytes
>> >             aborting...
>> >             Stacktrace:
>>
>>Your system ran out of memory.
>>
>>You may try to reconfigure with --disable-mcs-build and copy all
>>managed components (assemblies, compiler) from another machine
>>running the *same* mono version.
>>
>>Anyway, I doubt that you can run ASP.NET on such a crippled
>>environment.
>>
>> > 
>> > For 3 and 4, I get a different error:
>> > 
>> > boehm-gc.c: At top level:
>> > boehm-gc.c:262: parse error before `MONO_TLS_FAST'
>> > boehm-gc.c:262: syntax error before `void'
>> > In file included from ../../mono/metadata/domain-internals.h:11,
>> >                  from metadata-internals.h:8,
>> >                  from boehm-gc.c:263:
>>
>>This seems to be a gcc problem. Which gcc version is this?
>>
>>Robert
>>
>>_______________________________________________
>>Mono-devel-list mailing list
>>Mono-devel-list at lists.ximian.com
>>http://lists.ximian.com/mailman/listinfo/mono-devel-list

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: boehm-gc.c.diff
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070917/7536b562/attachment.pl 


More information about the Mono-devel-list mailing list