[Gc] Re: Desperately needing GC 7.1

Manuel.Serrano at sophia.inria.fr Manuel.Serrano at sophia.inria.fr
Fri Jan 11 02:52:55 PST 2008

Hello Hans,

> In the interest of making available a GC7.1 asap, I generated a
> gc-7.1alpha2.
I have now integrated the GC7.1alpha2 in my Bigloo development tree.

> In the absence of major problems, I would like to aim for a 7.1
> release by early next week.
So far I have successfully tested the new version of the Bigloo on the 
following platforms:

  - linux-x86
  - linux-powerpc
  - linux-armel
  - MacOSX 10.5 (x86)

Everything went smoothly. Thanks you very much.

I still have to test OSX 10.4 and MinGW. I hope to be able to make this
test Monday morning.

Regarding the Armel port I still have a small problem. I'm porting Bigloo
and HOP to the Nokia N800. The toolchain for that machine uses QEMU. 
It seems that QEMU/arm contains a bug that prevents the plain version of
your GC to work out of the box. The following small patch is needed:

--- gc-7.1alpha2.orig/include/private/gcconfig.h	2007-08-14 22:49:48.000000000 +0200
+++ gc-7.1alpha2/include/private/gcconfig.h	2008-01-11 10:22:23.000000000 +0100
@@ -1738,9 +1738,19 @@
 #   endif
 #   ifdef LINUX
 #       define OS_TYPE "LINUX"
-#       define LINUX_STACKBOTTOM
-#       undef STACK_GRAN
-#       define STACK_GRAN 0x10000000
+/*    Bigloo start                                                     */
+#       ifdef QEMU
+#         define HEURISTIC2
+#       else
+#         define LINUX_STACKBOTTOM
+#         undef STACK_GRAN
+#         define STACK_GRAN 0x10000000
+#       endif
+/*    Bigloo end                                                       */
 #       ifdef __ELF__
 #            define DYNAMIC_LOADING
 #	     include <features.h>

Unfortunately, I don't know how to detect automatically if QEMU is running.
Thus, manually, when I compile under QEMU, I force the flag -DQEMU.

I hope this helps.


More information about the Gc mailing list