Re[2] [Gc]: Problem compiling gc 7.2a2

Ivan Maidanski ivmai at mail.ru
Mon Nov 2 09:51:05 PST 2009


Hi!
Pierre <pierre42d at 9online.fr> wrote:
> Ivan Maidanski wrote:
> > Hi!
> > Pierre <pierre42d at 9online.fr> wrote:
> >> # make
> >> make[1]: Entering directory `/tmp/gc-7.2alpha2'
> >> depbase=`echo os_dep.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
> >> if /bin/sh ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"gc\" 
> >> -DPACKAGE_TARNAME=\"gc\" -DPACKAGE_VERSION=\"7.2alpha2\" 
> >> ...
> >> -DECOS=1
> >> ...
> >> os_dep.c:859: error: `STACKBOTTOM' undeclared (first use in this function)
> >> os_dep.c:859: error: (Each undeclared identifier is reported only once
> >> os_dep.c:859: error: for each function it appears in.)
> >> make[1]: *** [os_dep.lo] Error 1
> >> make[1]: Leaving directory `/tmp/gc-7.2alpha2'
> >> make: *** [all-recursive] Error 1
> > 
> > Unfortunately, you said nothing about the target platform, so:
> > 1. could you try the latest CVS version of GC (the building scripts have been improved since v7.2a2);
> 
> Ok I will try it
> 
> > 2. identify the target platform.
> 
> I am using GNU/Linux on x86

I tried gc72a2 tarball on GNU/Linux on x86 (CentOS 5) and it works as expected:
./configure
make check

But you seem to use "configure --with-ecos", right?

eCos is unsupported at present. And I don't know how to define STACKBOTTOM for it.
I've added a #error for eCos/nonsys if STACKBOTTOM is undefined.

Bye.


More information about the Gc mailing list