RFC: Fedora Extras shipping ix86 optimized rpms?

Alexander Larsson alexl at redhat.com
Tue Aug 31 14:55:32 UTC 2004


On Tue, 2004-08-31 at 16:25, Matthias Saou wrote:
> Jakub Jelinek wrote :
> 
> > > > Background: Some folks have started to add i686-built application
> > > > packages in addition to i386-built packages to Fedora Extras,
> > > > claiming these i686-built, "optimized packages" would result into
> > > > much better performance of these packages ("up to factor 2").
> > > 
> > > those optimized packages aren't faster; at least I find it hard to
> > > believe.... esp on p4 and athlon cpus where cmov is no gain again ;)
> > 
> > Well, SSE/SSE2 can help for graphic/video/audio applications.
> > But there .i686.rpm doesn't help you, either the application
> > selects whether to use SSE/SSE2 or not at runtime, or the packages can
> > have separate sse2 and normal libs in one package:
> > /usr/lib/libfoo.so.1
> > /usr/lib/sse2/libfoo.so.1
> 
> This is "the proper way" for sure, but there are quite a few of (mostly
> multimedia) projects out there that hardcode MMX/SSE support at compile
> time, rather than enabling it at runtime when built for the x86
> architecture :-(

Can't you build the same tarball twice? Once with sse2 enabled,
installing with LIBDIR=/usr/lib/sse2, and one in the normal way with
sse2 disabled.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl at redhat.com    alla at lysator.liu.se 
He's a gun-slinging umbrella-wielding hairdresser from a doomed world. She's a 
cynical paranoid advertising executive on her way to prison for a murder she 
didn't commit. They fight crime! 





More information about the fedora-devel-list mailing list