i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O3 -fomit-frame-pointer -msse2 -DSIMD=CPU_FEATURE_SSE2 -march=prescott -O2 -MT libsimd_SSE2_la-simd.lo -MD -MP -MF .deps/libsimd_SSE2_la-simd.Tpo -c simd.c -fPIC -DPIC -o .libs/libsimd_SSE2_la-simd.o simd.c: In function ‘test_SSE2’: simd.c:219: error: shift must be an immediate simd.c:220: error: shift must be an immediate simd.c:221: error: shift must be an immediate make[2]: *** [libsimd_SSE2_la-simd.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-tv/zapping-0.10_rc6/work/zapping-0.10cvs6/test' The error message refers to the following expression which occurs as part of the macro expansion in each of the lines mentioned: __builtin_ia32_psllwi128 ((__v8hi)(va16), (sb8 & 15)) First zapping-0.10cvs6/libtv/simd.h defines vsl16 in terms of _mm_slli_pi16, which seems to get expanded to __builtin_ia32_psllwi128 by gcc itself. emerge --info (relevant parts): Portage 2.1.4_rc10 (default-linux/x86/2007.0/desktop, gcc-4.2.2, glibc-2.7-r1, 2.6.23-gentoo-r3 i686) sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=prescott -O2" CHOST="i686-pc-linux-gnu" CXXFLAGS="-march=prescott -O2" USE="... sse sse2 ..."
There is a patch for this upstream. Setting URL accordingly. With that patch applied, the thing emerges all right.
(In reply to comment #1) > There is a patch for this upstream. Setting URL accordingly. With that patch > applied, the thing emerges all right. > 404 on the url
Created attachment 177967 [details, diff] diff -r1.4 -r1.5 simd.c (In reply to comment #2) > 404 on the url Sourceforge CVS broser seems to have trouble. Accessing the CVS server using the cvs command line tool seems to work all right, so I grabbed the patch this way.
removed from tree wrt bug 210820