[Gc] Re: Desperately needing GC 7.1

Hans Boehm Hans.Boehm at hp.com
Sat Jan 19 20:40:28 PST 2008


Manuel -

Thanks.

Is the core ARM/QEMU problem here that /proc/self/stat is not emulated?

Is there any reason to believe that this is really ARM specific?

I'm fine with adding an option that works around this problem.  But
I'd really like the macro to be a bit more generic, like
NO_PROC_SELF_STAT, if that sounds right to you.

Hans

On Fri, 11 Jan 2008, Manuel.Serrano at sophia.inria.fr wrote:

> 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.
>
> --
> Manuel
>


More information about the Gc mailing list