[MPlayer-dev-eng] [PATCH] distcc support

Andrew Savchenko bircoph at gmail.com
Sat Aug 15 13:36:50 CEST 2009


Hi,

On Friday 14 August 2009, Reimar Döffinger wrote:
> On Fri, Aug 14, 2009 at 07:17:58PM +0400, Andrew Savchenko wrote:
> > today distcc is useless for mplayer without overridden CFLAGS,
> > because it uses -march=native optimization, thus effectively
> > disables distcc if present.
>
> Isn't that really something that needs to be fixed in distcc?

There was some discussion on distcc maillist over year ago, but it 
ends to nothing. As far as I understand it is too difficult to 
implement without overhead impact.

> That affects really every single application, adding special code
> to support distcc to all of the really is completely unreasonable
> IMO.

Really, not every application, but only tiny subset of them. 
Absolute majority of applications do not set all *FLAGS on their 
own, they just append flags they need to the system-wide flags, in 
other words they just reuse external *FLAGS. Needless to say that 
almost none applications detect local CPU-related optimization 
flags.

MPlayer is very special in this case: it sets all of them in its own 
way, it provides benefit of fine tuning optimization, but it should 
take responsibility for side-effects as well.

-- 
Best regards,
Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090815/5b89613b/attachment.pgp>


More information about the MPlayer-dev-eng mailing list