[mythtv] Re: CPU detection/optimization

Andrew atp4 at optusnet.com.au
Thu Mar 31 02:21:09 UTC 2005


On Thursday 31 March 2005 12:16, you wrote:
> > You can use --extra-cflags --extra-cxx-flags to change the compilation
> > options. However, please do not distribute these binaries unless you
> > tell the people downloading them to go to you for bug reports. If you
> > distribute these binaries, the people using them will probably not
> > know to recompile with standard options and confirming that the bug
> > exists in that build.
>
> well, rpm likes to add its own compile options for things like arch, so
> the idea would be to have standard stuff to conform to the rest of
> redhat/fedora.
>
> As far as things like sse, if they make a difference and they're
> autodetected with p4/athlon/etc, I'm cool with that, too.
>
> My main concern is to have a package that conforms to the preferred
> standards for fedora/redhat (what those are is somewhat up for debate at
> the moment, due to some political stuff, but we'll work through that).
> Beyond that, I plan to add a --autodetect-cpu type flag to let the
> configure script do its thing -- and will suggest that people use it,
> since it'll give them better results than a binary compiled for a more
> generalized setup.
>
> -Chris
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


I have a Pentium4 Prescott and have been compiling with these 
CFLAGS="-march=prescott -mfpmath=387,sse -msse -msse2 -msse3 -mmmx" for a 
while. Everything was working well untill I try to watch HDTV and I get a 
segmentation fault. Recompiling with just -march=pentium4 fixed the problem.

Andrew.


More information about the mythtv-dev mailing list