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

Dominik 'Rathann' Mierzejewski dominik at greysector.net
Sat Oct 3 01:05:00 CEST 2015


On Saturday, 03 October 2015 at 00:18, Roberto Togni wrote:
> 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 ?

According to gcc online docs, it was introduced in 4.2.0:
https://gcc.gnu.org/onlinedocs/gcc-4.2.0/gcc/RS_002f6000-and-PowerPC-Options.html
(the same doc for 4.1.0 doesn't mention it)

>  - POWER7 from gcc4.5 (but probably broken up to 4.5.4)
>  - POWER8 from gcc4.9
> 
> See attached patch, as usual untested.

Regards,
Dominik
-- 
MPlayer http://mplayerhq.hu | RPM Fusion http://rpmfusion.org
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
	-- from "Collected Sayings of Muad'Dib" by the Princess Irulan


More information about the MPlayer-users mailing list