Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265322 - =media-sound/wavpack-4.50.1 USE="mmx" fails to build with GCC 4.4 [patch]
Summary: =media-sound/wavpack-4.50.1 USE="mmx" fails to build with GCC 4.4 [patch]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.4
  Show dependency tree
 
Reported: 2009-04-07 15:17 UTC by Daniel J.
Modified: 2009-05-10 14:58 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to enable GCC 4.4 compilation with USE="mmx" (wavpack-4.50.1-mmx.patch,1.04 KB, patch)
2009-04-07 15:18 UTC, Daniel J.
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 gentoo-dev 2009-05-10 14:58:18 UTC
In portage.