Re[2]: [Gc] mingw32 issues?

Ivan Maidanski ivmai at mail.ru
Tue Aug 3 12:09:12 PDT 2010


Hello!

If you are using v7.0 and v7.1 then you won't succeed with mingw.

GC v72alpha4 works with MinGW, mingw-w64/32 and Cygwin.

Tue, 3 Aug 2010 16:27:23 +0800 QianQian Sunny <catsunny2010 at gmail.com>:

> Hi,
> 
> I compiled GC 7.0 and 7.1, but both failed. (the same error missing
> some routines)
> I am using GCC 4.5.0 (mingw port).
> 
> Thank you Ivan.
> 
> Qian.
> 
> 2010/8/3 Ivan Maidanski <ivmai at mail.ru>:
> > Hello!
> >
> > Which GC version are you using? I'd recommend at least v7.2a4 for mingw.
> >
> >
> > Mon, 2 Aug 2010 08:03:53 +0800 QianQian Sunny <catsunny2010 at gmail.com>:
> >
> >> Hi all,
> >>
> >> I did the followings:
> >> (1) ./configure --enable-shared=no --enable-static=yes
> >> --enable-parallel-mark --enable-threads=win32 --prefix=/mingw
> >> (2) make
> >> (3) make check
> >>
> >> However, it failed at make check. Emitted the following message:
> >> .libs/typd_mlc.o: In function `GC_malloc_explicitly_typed_ignore_off_page':
> >> e:\test\gc-7.1/typd_mlc.c:630: undefined reference to `GC_need_to_lock'
> >> e:\test\gc-7.1/typd_mlc.c:630: undefined reference to `GC_allocate_ml'
> >> e:\test\gc-7.1/typd_mlc.c:630: undefined reference to `GC_need_to_lock'
> >> e:\test\gc-7.1/typd_mlc.c:639: undefined reference to `GC_allocate_ml'
> >> e:\test\gc-7.1/typd_mlc.c:632: undefined reference to `GC_allocate_ml'
> >> .libs/typd_mlc.o: In function `GC_calloc_explicitly_typed':
> >> e:\test\gc-7.1/typd_mlc.c:679: undefined reference to `GC_need_to_lock'
> >> e:\test\gc-7.1/typd_mlc.c:679: undefined reference to `GC_allocate_ml'
> >> e:\test\gc-7.1/typd_mlc.c:679: undefined reference to `GC_need_to_lock'
> >> e:\test\gc-7.1/typd_mlc.c:689: undefined reference to `GC_allocate_ml'
> >> e:\test\gc-7.1/typd_mlc.c:681: undefined reference to `GC_allocate_ml'
> >> ...
> >>
> >> Could anyone please tell me what's why? It seemed that some object
> >> files are missing from libgc.a, right?
> >>
> >> Thank you!
> >> Qian.
> >> _______________________________________________
> >> Gc mailing list
> >> Gc at linux.hpl.hp.com
> >> http://www.hpl.hp.com/hosted/linux/mail-archives/gc/



More information about the Gc mailing list