Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152577 - x264-svn assumes availability of mmxext and SSE2 on all x86 CPUs
Summary: x264-svn assumes availability of mmxext and SSE2 on all x86 CPUs
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Marc Hildebrand (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-23 11:30 UTC by Michael Weyershäuser
Modified: 2006-12-12 01:47 UTC (History)
1 user (show)

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


Attachments
proposed patch to handle mmxext and SSE2 (x264-svn-20061014.ebuild-mmxext_sse2.diff,679 bytes, patch)
2006-10-23 11:33 UTC, Michael Weyershäuser
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Weyershäuser 2006-10-23 11:30:06 UTC
x264-svn wrongfully assumes that all x86 CPUs have the mmxext and SSE2 command sets.
From x264-svn's configure:

case "${MACHINE%%-*}" in
  i*86)
    ARCH="X86"
    CFLAGS="$CFLAGS -DHAVE_MMXEXT -DHAVE_SSE2"

This leads to an unusable binary on my Athlon XP. I suggest adding the mmxext and sse2 USE flags to the ebuild and changing the configure script accordingly. I'll attach a proposed patch to the ebuild in a moment.
Comment 1 Michael Weyershäuser 2006-10-23 11:33:40 UTC
Created attachment 100305 [details, diff]
proposed patch to handle mmxext and SSE2

This diff should apply cleanly to x264-svn-20061014 and 20060612.
Comment 2 Alexis Ballier gentoo-dev 2006-12-11 13:36:06 UTC
What are exactly the problems with the binary ?
we've been testing 20061014-r1 on an athlon xp and there do not seem to be any problem at all, cpu detection is made at runtime


Could you please post your emerge --info also ?
Comment 3 Michael Weyershäuser 2006-12-11 17:06:43 UTC
I remember that mencoder crashed on me in a way that led me to believe mmxext/sse2 was the problem and that I could avoid that crash by the patch included. However I am unable to reproduce it now with mplayer-1.0_pre8 or rc1. No idea if it was a local problem or my box just wanted to piss me off...

Sorry for the waste of your time =(
Comment 4 Matthias Schwarzott gentoo-dev 2006-12-12 01:15:46 UTC
reopen to mark it invalid afterwards.
Comment 5 Matthias Schwarzott gentoo-dev 2006-12-12 01:47:21 UTC
closed as invalid, as this seems to be no ebuild/package problem.