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

Bug 265322

Summary: =media-sound/wavpack-4.50.1 USE="mmx" fails to build with GCC 4.4 [patch]
Product: Gentoo Linux Reporter: Daniel J. <sleeperseven>
Component: [OLD] GCC PortingAssignee: Gentoo Sound Team <sound>
Status: RESOLVED FIXED    
Severity: normal CC: esigra, flameeyes
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 249226    
Attachments: Patch to enable GCC 4.4 compilation with USE="mmx"

Description Daniel J. 2009-04-07 15:17:35 UTC
Building wavpack with USE="mmx", GCC 4.4, results in the following errors:

extra2.c: In function 'decorr_stereo_pass':
extra2.c:85: error: incompatible type for argument 2 of '__builtin_ia32_psrld'
extra2.c:85: note: expected 'int __vector__' but argument is of type 'int'
extra2.c:89: error: incompatible type for argument 2 of '__builtin_ia32_pslld'
extra2.c:89: note: expected 'int __vector__' but argument is of type 'int'
extra2.c:90: error: incompatible type for argument 2 of '__builtin_ia32_psrad'
extra2.c:90: note: expected 'int __vector__' but argument is of type 'int'
extra2.c:97: error: incompatible type for argument 2 of '__builtin_ia32_psrad'
extra2.c:97: note: expected 'int __vector__' but argument is of type 'int'
extra2.c:117: error: incompatible type for argument 2 of '__builtin_ia32_psrad'
extra2.c:117: note: expected 'int __vector__' but argument is of type 'int'
<etc.>
Comment 1 Daniel J. 2009-04-07 15:18:15 UTC
Created attachment 187586 [details, diff]
Patch to enable GCC 4.4 compilation with USE="mmx"

This patch has also been sent upstream.
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2009-04-15 01:17:27 UTC
in gcc-porting overlay
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2009-05-10 14:58:18 UTC
In portage.