On Monday 05 February 2007 20:36, Claudio Ciccani wrote:
> George Yil wrote:
> > Hi,
> >
> > I have the latest cvs of all. I am trying to compile DirectFB-extra.
> > Here is the error:
> >
> > make  all-recursive
> > make[1]: Entering directory
> > `/home/add-on/core/directfb/cvs/latest/DirectFB-extra'
> > Making all in lib
> > make[2]: Entering directory
> > `/home/add-on/core/directfb/cvs/latest/DirectFB-extra/lib'
> > Making all in dvc
> > make[3]: Entering directory
> > `/home/add-on/core/directfb/cvs/latest/DirectFB-extra/lib/dvc'
> > if /bin/sh ../../libtool --tag=CC --mode=compile
> > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT
> > -I/usr/local/include/directfb   -D_GNU_SOURCE -D_REENTRANT
> > -I/usr/local/include/directfb-internal -I/usr/local/include/directfb  
> > -DREENTRANT -O3 -fexpensive-optimizations -ffast-math -Wall -g0    -g -O2
> > -Werror-implicit-function-declaration -MT dvc.lo -MD -MP -MF
> > ".deps/dvc.Tpo" -c -o dvc.lo dvc.c; \
> >         then mv -f ".deps/dvc.Tpo" ".deps/dvc.Plo"; else
> > rm -f ".deps/dvc.Tpo"; exit 1; fi
> > mkdir .libs
> >
> > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_REENTRANT
> > -I/usr/local/include/directfb -D_GNU_SOURCE -D_REENTRANT
> > -I/usr/local/include/directfb-internal -I/usr/local/include/directfb
> > -DREENTRANT -O3 -fexpensive-optimizations -ffast-math -Wall -g0 -g -O2
> > -Werror-implicit-function-declaration -MT dvc.lo -MD -MP -MF
> > .deps/dvc.Tpo -c dvc.c  -fPIC -DPIC -o .libs/dvc.o dvc_mmx.h: In function
> > `Store_RGB16_LE_MMX':
> > dvc_mmx.h:231: error: can't find a register in class `GENERAL_REGS' while
> > reloading `asm'
>
> Really strange! That function uses only 3 registers!
> It's seems like a compiler bug. Which version of gcc are you using?
>
> You can pass --disable-mmx to configure to avoid building that code.

Slackware 11.0 here.
Here is the the compiler version.

gcc --version
gcc (GCC) 3.4.6
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to