Subject: problem to compile xine-lib on solaris 10 i386
To: None <pkgsrc-users@netbsd.org>
From: jdh13 <jdh13@free.fr>
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'
[wrapper.sh] 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
-DRUNTIME_CPUDETECT -DXINE_MPEG_ENCODER -D_ISOC9X_SOURCE
-DCONFIG_DECODERS -I../../../../src/libffmpeg/libavutil
-I../../../../src/libffmpeg
-I/usr/pkgsrc/multimedia/xine-lib/work/.buildlink/include
-I/usr/pkgsrc/multimedia/xine-lib/work/.buildlink/include/freetype2
-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
-L/usr/pkgsrc/multimedia/xine-lib/work/.buildlink/lib
...gmake[5]: *** [fft_3dn2.lo] Error 1
gmake[5]: Leaving directory
`/usr/pkgsrc/multimedia/xine-lib/work/xine-lib-1.1.4/src/libffmpeg/libavcodec/i386'
...
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,
gerard
and looking at the source file: