[MPlayer-users] compile error [powerpc mac osx 10.5.8]

Roberto Togni rxt at rtogni.it
Sat Oct 3 00:18:54 CEST 2015


On Fri, 2 Oct 2015 23:30:18 +0200
Dominik 'Rathann' Mierzejewski <dominik at greysector.net> wrote:

> On Friday, 02 October 2015 at 22:03, Roberto Togni wrote:
> > On Thu, 1 Oct 2015 22:45:33 +0000 (UTC)
> > luvyua <luvyua at gmail.com> wrote:
> > 
> > > It works fine. 
> > > Thank you.
> > > 
> > Ok, committed.
> 
> Please note that you can actually assume VSX is present on little-endian
> ppc64 (ppc64le). ppc64le was introduced with POWER8 and VSX is present
> on POWER7 and later.
> 
Do you know what is the first gcc version that supports them?

MPlayer configure only checks up to POWER5, needing at least gcc 4.0.
configure enables alivec by looking at cpuinfo, while other features
are enabled by model type.

My search came up with
 - POWER6 from ?
 - POWER7 from gcc4.5 (but probably broken up to 4.5.4)
 - POWER8 from gcc4.9

See attached patch, as usual untested.


Ciao,
 Roberto
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure_power78.diff
Type: text/x-patch
Size: 971 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20151003/8006c47e/attachment.bin>


More information about the MPlayer-users mailing list