Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 217828

Summary: media-sound/wavpack-4.41.0 fails w/gcc-4.3.0 and USE="mmx"
Product: Gentoo Linux Reporter: Peter Alfredsen (RETIRED) <loki_val>
Component: [OLD] GCC PortingAssignee: Gentoo Sound Team <sound>
Status: RESOLVED FIXED    
Severity: normal CC: gengor, martin
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: USE="mmx" fix for gcc-4.3.0

Description Peter Alfredsen (RETIRED) gentoo-dev 2008-04-15 18:06:41 UTC
i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"wavpack\" -DPACKAGE_TARNAME=\"wavpack\" -DPACKAGE_VERSION=\"4.41.0\" "-DPACKAGE_STRING=\"wavpack 4.41.0\"" -DPACKAGE_BUGREPORT=\"bryant@wavpack.com\" -DLIBWAVPACK_MAJOR=4 -DLIBWAVPACK_MINOR=41 -DLIBWAVPACK_MICRO=0 -DLIBWAVPACK_VERSION_STRING=\"4.41.0\" -DVERSION_OS=\"Linux\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBM=1 -DOPT_MMX=1 -I. -I. -mmmx -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -MT libwavpack_la-extra2.lo -MD -MP -MF .deps/libwavpack_la-extra2.Tpo -c extra2.c  -fPIC -DPIC -o .libs/libwavpack_la-extra2.o
 i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"wavpack\" -DPACKAGE_TARNAME=\"wavpack\" -DPACKAGE_VERSION=\"4.41.0\" "-DPACKAGE_STRING=\"wavpack 4.41.0\"" -DPACKAGE_BUGREPORT=\"bryant@wavpack.com\" -DLIBWAVPACK_MAJOR=4 -DLIBWAVPACK_MINOR=41 -DLIBWAVPACK_MICRO=0 -DLIBWAVPACK_VERSION_STRING=\"4.41.0\" -DVERSION_OS=\"Linux\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_LIBM=1 -DOPT_MMX=1 -I. -I. -mmmx -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -MT libwavpack_la-pack.lo -MD -MP -MF .deps/libwavpack_la-pack.Tpo -c pack.c  -fPIC -DPIC -o .libs/libwavpack_la-pack.o
extra2.c: In function 'decorr_stereo_pass':
extra2.c:85: note: use -flax-vector-conversions to permit conversions between vectors with differing element types or numbers of subparts
extra2.c:85: error: incompatible type for argument 1 of '__builtin_ia32_pmaddwd'
extra2.c:85: error: incompatible type for argument 2 of '__builtin_ia32_pmaddwd'
extra2.c:86: error: incompatible type for argument 1 of '__builtin_ia32_pmaddwd'
extra2.c:86: error: incompatible type for argument 2 of '__builtin_ia32_pmaddwd'
extra2.c:124: error: incompatible type for argument 1 of '__builtin_ia32_pmaddwd'
extra2.c:124: error: incompatible type for argument 2 of '__builtin_ia32_pmaddwd'
extra2.c:125: error: incompatible type for argument 1 of '__builtin_ia32_pmaddwd'
extra2.c:125: error: incompatible type for argument 2 of '__builtin_ia32_pmaddwd'
extra2.c:160: error: incompatible type for argument 1 of '__builtin_ia32_pmaddwd'
extra2.c:160: error: incompatible type for argument 2 of '__builtin_ia32_pmaddwd'
extra2.c:161: error: incompatible type for argument 1 of '__builtin_ia32_pmaddwd'
extra2.c:161: error: incompatible type for argument 2 of '__builtin_ia32_pmaddwd'
extra2.c:200: error: incompatible type for argument 1 of '__builtin_ia32_pmaddwd'
extra2.c:200: error: incompatible type for argument 2 of '__builtin_ia32_pmaddwd'
extra2.c:201: error: incompatible type for argument 1 of '__builtin_ia32_pmaddwd'
extra2.c:201: error: incompatible type for argument 2 of '__builtin_ia32_pmaddwd'
extra2.c:219: error: incompatible type for argument 1 of '__builtin_ia32_paddsw'
extra2.c:219: error: incompatible type for argument 2 of '__builtin_ia32_paddsw'
extra2.c:219: error: incompatible types in assignment
extra2.c:239: error: incompatible type for argument 1 of '__builtin_ia32_pmaddwd'
extra2.c:239: error: incompatible type for argument 2 of '__builtin_ia32_pmaddwd'
extra2.c:240: error: incompatible type for argument 1 of '__builtin_ia32_pmaddwd'
extra2.c:240: error: incompatible type for argument 2 of '__builtin_ia32_pmaddwd'
extra2.c:258: error: incompatible type for argument 1 of '__builtin_ia32_paddsw'
extra2.c:258: error: incompatible type for argument 2 of '__builtin_ia32_paddsw'
extra2.c:258: error: incompatible types in assignment
extra2.c:278: error: incompatible type for argument 1 of '__builtin_ia32_pmaddwd'
extra2.c:278: error: incompatible type for argument 2 of '__builtin_ia32_pmaddwd'
extra2.c:279: error: incompatible type for argument 1 of '__builtin_ia32_pmaddwd'
extra2.c:279: error: incompatible type for argument 2 of '__builtin_ia32_pmaddwd'
extra2.c:297: error: incompatible type for argument 1 of '__builtin_ia32_paddsw'
extra2.c:297: error: incompatible type for argument 2 of '__builtin_ia32_paddsw'
extra2.c:297: error: incompatible types in assignment
make[1]: *** [libwavpack_la-extra2.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
pack.c: In function 'decorr_stereo_pass':
pack.c:2363: note: use -flax-vector-conversions to permit conversions between vectors with differing element types or numbers of subparts
pack.c:2363: error: incompatible type for argument 1 of '__builtin_ia32_pmaddwd'
pack.c:2363: error: incompatible type for argument 2 of '__builtin_ia32_pmaddwd'
pack.c:2364: error: incompatible type for argument 1 of '__builtin_ia32_pmaddwd'
pack.c:2364: error: incompatible type for argument 2 of '__builtin_ia32_pmaddwd'
pack.c:2399: error: incompatible type for argument 1 of '__builtin_ia32_pmaddwd'
pack.c:2399: error: incompatible type for argument 2 of '__builtin_ia32_pmaddwd'
pack.c:2400: error: incompatible type for argument 1 of '__builtin_ia32_pmaddwd'
pack.c:2400: error: incompatible type for argument 2 of '__builtin_ia32_pmaddwd'
pack.c:2432: error: incompatible type for argument 1 of '__builtin_ia32_pmaddwd'
pack.c:2432: error: incompatible type for argument 2 of '__builtin_ia32_pmaddwd'
pack.c:2433: error: incompatible type for argument 1 of '__builtin_ia32_pmaddwd'
pack.c:2433: error: incompatible type for argument 2 of '__builtin_ia32_pmaddwd'
pack.c:2469: error: incompatible type for argument 1 of '__builtin_ia32_pmaddwd'
pack.c:2469: error: incompatible type for argument 2 of '__builtin_ia32_pmaddwd'
pack.c:2470: error: incompatible type for argument 1 of '__builtin_ia32_pmaddwd'
pack.c:2470: error: incompatible type for argument 2 of '__builtin_ia32_pmaddwd'
pack.c:2488: error: incompatible type for argument 1 of '__builtin_ia32_paddsw'
pack.c:2488: error: incompatible type for argument 2 of '__builtin_ia32_paddsw'
pack.c:2488: error: incompatible types in assignment
pack.c:2505: error: incompatible type for argument 1 of '__builtin_ia32_pmaddwd'
pack.c:2505: error: incompatible type for argument 2 of '__builtin_ia32_pmaddwd'
pack.c:2506: error: incompatible type for argument 1 of '__builtin_ia32_pmaddwd'
pack.c:2506: error: incompatible type for argument 2 of '__builtin_ia32_pmaddwd'
pack.c:2524: error: incompatible type for argument 1 of '__builtin_ia32_paddsw'
pack.c:2524: error: incompatible type for argument 2 of '__builtin_ia32_paddsw'
pack.c:2524: error: incompatible types in assignment
pack.c:2541: error: incompatible type for argument 1 of '__builtin_ia32_pmaddwd'
pack.c:2541: error: incompatible type for argument 2 of '__builtin_ia32_pmaddwd'
pack.c:2542: error: incompatible type for argument 1 of '__builtin_ia32_pmaddwd'
pack.c:2542: error: incompatible type for argument 2 of '__builtin_ia32_pmaddwd'
pack.c:2560: error: incompatible type for argument 1 of '__builtin_ia32_paddsw'
pack.c:2560: error: incompatible type for argument 2 of '__builtin_ia32_paddsw'
pack.c:2560: error: incompatible types in assignment
make[1]: *** [libwavpack_la-pack.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-sound/wavpack-4.41.0/work/wavpack-4.41.0/src'
make: *** [all-recursive] Error 1


Reproducible: Always

Steps to Reproduce:
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-15 18:08:30 UTC
Created attachment 149830 [details, diff]
USE="mmx" fix for gcc-4.3.0

klugy I know, but it gets the job done.
Comment 2 Martin Väth 2008-04-20 15:45:55 UTC
*** Bug 218529 has been marked as a duplicate of this bug. ***
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-04-20 21:43:44 UTC
Fixed with the -flax flag, but a shorter, easier logic in there.