I'm getting this error when I try to compile DirectFB from CVS:

[...]
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../src -D_REENTRANT
-Wall -O3 -pipe -DFUSION_FAKE -Werror-implicit-function-declarations -MT
cpu_accel.lo -MD -MP -MF .deps/cpu_accel.Tpo -c cpu_accel.c  -fPIC -o
.libs/cpu_accel.o
cpu_accel.c: In function `arch_accel':
cpu_accel.c:108: can't find a register in class `BREG' while reloading `asm'
cpu_accel.c:114: can't find a register in class `BREG' while reloading `asm'
cpu_accel.c:127: can't find a register in class `BREG' while reloading `asm'
cpu_accel.c:131: can't find a register in class `BREG' while reloading `asm'
make[3]: *** [cpu_accel.lo] Error 1
make[3]: Leaving directory
`/site/home/eric/src/cvs/directfb/DirectFB/src/misc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/site/home/eric/src/cvs/directfb/DirectFB/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/site/home/eric/src/cvs/directfb/DirectFB'
make: *** [all] Error 2

I get this same error using gcc 3.2.3 and gcc 3.3, on a Debian unstable
system. If I use gcc 2.95, I get:

[...]
 gcc-2.95 -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../src
-D_REENTRANT -Wall -O3 -pipe -Werror-implicit-function-declarations -c
conf.c -Wp,-MD,.deps/conf.TPlo  -fPIC -o .libs/conf.o
source='cpu_accel.c' object='cpu_accel.lo' libtool=yes \
depfile='.deps/cpu_accel.Plo' tmpdepfile='.deps/cpu_accel.TPlo' \
depmode=gcc /bin/sh ../../depcomp \
/bin/sh ../../libtool --mode=compile gcc-2.95 -DHAVE_CONFIG_H -I. -I.
-I../.. -I../../include -I../../src    -D_REENTRANT -Wall -O3
-pipe   -Werror-implicit-function-declarations -c -o cpu_accel.lo `test -f
'cpu_accel.c' || echo './'`cpu_accel.c
 gcc-2.95 -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../src
-D_REENTRANT -Wall -O3 -pipe -Werror-implicit-function-declarations -c
cpu_accel.c -Wp,-MD,.deps/cpu_accel.TPlo  -fPIC -o .libs/cpu_accel.o
cpu_accel.c: In function `dfb_mm_accel':
cpu_accel.c:108: Invalid `asm' statement:
cpu_accel.c:108: fixed or forbidden register 3 (bx) was spilled for class
BREG.
make[3]: *** [cpu_accel.lo] Error 1
make[3]: Leaving directory
`/site/home/eric/src/cvs/directfb/DirectFB/src/misc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/site/home/eric/src/cvs/directfb/DirectFB/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/site/home/eric/src/cvs/directfb/DirectFB'
make: *** [all] Error 2

Are others able to build cpu_accel.c? Is there a way to just disable this
part of the build?

-- 
Furrfu!         r a k k o  at  c h a r t e r  dot  n e t


-- 
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-users" as subject.

Reply via email to