[Fontconfig] make error : CC fccache.lo on MinGW32
Tatsuro MATSUOKA
tmacchant at yahoo.co.jp
Wed Mar 12 07:49:35 PDT 2014
--- On Wed, 2014/3/12, Akira TAGOH wrote:
> I can't reproduce this on my box wit gcc-4.8.2 on mingw so not sure
> but that looks like a gcc bug to me. does it work with -O0 or
> -fno-inline?
>
> On Wed, Mar 12, 2014 at 11:50 AM, Tatsuro MATSUOKA
> <tmacchant at yahoo.co.jp> wrote:
> > Hello
> >
> > I have tried to build fontconfig-2.11.0 on MinGW32 (GCC-4.6.1).
> >
> > In the make process the following error appeared :
> >
> > ********************************************************************
> > make[3]: Entering directory `/e/usr/Tatsu/mingw32work/gplibs32/fontconfig/fontconfig-2.11.0/src'
> > CC fcatomic.lo
> > CC fcblanks.lo
> > CC fccache.lo
> > In file included from fcint.h:50:0,
> > from fccache.c:23:
> > fccache.c: In function 'FcCacheIsMmapSafe':
> > fcatomic.h:66:49: error: expected expression before ')' token
> > #define fc_atomic_ptr_get(P) (HBMemoryBarrier (), (void *) *(P))
:
Thank you for your reply.
-O0 or -fno-inline did not improve the situation. Gcc-4.8.1 causes some troubles for building other libraries. I will try gcc-4.8.2 from MinGW-w64 site.
Regards
Tatsuro
More information about the Fontconfig
mailing list