[Mono-dev] Compilation issue

Robert Jordan robertj at gmx.net
Sat Nov 4 08:42:29 EST 2006


rmd at altec.com.ar wrote:
> Con fecha 4/11/2006, "Robert Jordan" <robertj at gmx.net> escribió:
> 
>> rmd at altec.com.ar wrote:
>>> Con fecha 3/11/2006, "Robert Jordan" <robertj at gmx.net> escribió:
>>> Applying this patch solved part of the problem. but I still cannot
>>> compile.
>>> The error now is:
>>>
>>> libtest.c: In function `mono_test_empty_struct':
>>> libtest.c:957: Internal compiler error in ix86_compute_frame_size, at
>>> config/i386/i386.c:1876
>>> Please submit a full bug report.
>>> See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
>> Well, that's obviously an internal compiler error.
>> I'm afraid you'll have to patch your system even more.
>>
>> Robert
>>
> 
> 
> Thanks. I'll try...

Try this:

Index: libtest.c
===================================================================
--- libtest.c   (revision 67351)
+++ libtest.c   (working copy)
@@ -944,9 +944,9 @@
  STDCALL int
  mono_test_empty_struct (int a, EmptyStruct es, int b)
  {
-       // printf ("mono_test_empty_struct %d %d\n", a, b);
+       /* printf ("mono_test_empty_struct %d %d\n", a, b); */

-       // Intel icc on ia64 passes 'es' in 2 registers
+       /* Intel icc on ia64 passes 'es' in 2 registers */
  #if defined(__ia64) && defined(__INTEL_COMPILER)
         return 0;
  #else


Robert




More information about the Mono-devel-list mailing list