Subject: problem to compile xine-lib on solaris 10 i386
To: None <>
From: jdh13 <>
List: pkgsrc-users
Date: 03/10/2007 08:41:56
hello all,
got this error:
fft_3dn2.c: In function `ff_imdct_calc_3dn2':
fft_3dn2.c:144: error: can't find a register in class `GENERAL_REGS' 
while reloading `asm'

[] note: The real command line, after the pkgsrc wrapper, was:
/usr/pkgsrc/multimedia/xine-lib/work/.gcc/bin/gcc -DHAVE_CONFIG_H -I. 
-I../../../.. -I../../../../include -I../../../../src 
-I../../../../src/xine-engine -I../../../../src/xine-utils 
-I../../../../src/input -I../../../../lib -DHAVE_AV_CONFIG_H 
-DCONFIG_DECODERS -I../../../../src/libffmpeg/libavutil 
-fomit-frame-pointer -fno-strict-aliasing -DNDEBUG -D_REENTRANT 
-D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -mtune=i386 -O3 -pipe 
-fomit-frame-pointer -falign-functions=4 -falign-loops=4 -falign-jumps=4 
-mpreferred-stack-boundary=2 -fexpensive-optimizations -fschedule-insns2 
-ffast-math -finline-functions -Wall -Wpointer-arith -Wnested-externs 
-Wcast-align -Wchar-subscripts -Wmissing-declarations 
-Wmissing-prototypes -O -Wformat=2 -Wno-format-zero-length 
-Wmissing-format-attribute -Wstrict-aliasing=2 -MT fft_3dn2.lo -MD -MP 
-MF .deps/fft_3dn2.Tpo -c fft_3dn2.c -fPIC -DPIC -o .libs/fft_3dn2.o 

...gmake[5]: *** [fft_3dn2.lo] Error 1
gmake[5]: Leaving directory 
    142      for(k = 0; k < n4; k++) {
    143          // FIXME a single block is faster, but gcc 2.95 and 
3.4.x on 32b
it can't compile it
    144          asm volatile(
    145              "movd       %0, %%mm0 \n\t"
    146              "movd       %2, %%mm1 \n\t"
    147              "punpckldq  %1, %%mm0 \n\t"

is there a solution? i'm using pkgsrc 2006Q4

thanks in advance for help,

and looking at the source file: