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

Bug 181239

Summary: media-video/transcode-1.0.3 - tomsmocomp is not built with gcc-4
Product: Gentoo Linux Reporter: Wolfgang Frisch <xororand>
Component: New packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: minor CC: elreydetodo
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
URL: http://osdir.com/ml/video.transcode.devel/2005-07/msg00004.html
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: transcode-1.0.3-tomsmocomp-gcc4.patch
transcode-1.0.3-r1.ebuild

Description Wolfgang Frisch 2007-06-07 19:49:31 UTC
The transcode makefiles leave out tomsmocomp on gcc-4.x systems because of gcc inline assembly incompatibility reasons. The specific problem is an MMX specific part of tomsmocomp which can be fixed by adding the -mmmx CFLAG for filter_tomsmocomp.la. Normally, this would break the application for users without MMX CPUs though it's not an issue in this case as filters/Makefile.am leaves out tomsmocomp on non-MMX systems anyway.
So here's a patch and an ebuild that makes the filter build with gcc-4.

Reproducible: Always
Comment 1 Wolfgang Frisch 2007-06-07 19:49:58 UTC
Created attachment 121439 [details, diff]
transcode-1.0.3-tomsmocomp-gcc4.patch
Comment 2 Wolfgang Frisch 2007-06-07 19:50:19 UTC
Created attachment 121441 [details]
transcode-1.0.3-r1.ebuild
Comment 3 Steve Dibb (RETIRED) gentoo-dev 2007-07-26 16:05:19 UTC
Applied and fixed in CVS, thanks for the patch :)