[MPlayer-dev-eng] new Altivec patches and G3
Tim
timwoj at ieee.org
Mon Feb 20 01:56:20 CET 2006
On Feb 19, 2006, at 2:56 PM, Alan Curry wrote:
> If you use --enable-altivec in this case, you're lying to configure,
> preventing it from doing the right thing... crashes are to be
> expected. Did
> any past versions work if configured this way?
Like I said, without --enable-altivec works just fine. That's why I
was confused and did it with. It doesn't even *try* to detect
altivec after the CPU detection realizes it has a 750. The only
other argument I passed to configure was --enable-debug.
>
> Sounds like maybe the first sysctl should have quotes, like the
> second one
> does, and possibly 2>/dev/null to keep it quiet, like this:
>
> Index: configure
> ===================================================================
> RCS file: /cvsroot/mplayer/main/configure,v
> retrieving revision 1.1134
> diff -u -r1.1134 configure
> --- configure 16 Feb 2006 20:45:24 -0000 1.1134
> +++ configure 19 Feb 2006 21:54:30 -0000
> @@ -1179,7 +1179,7 @@
> ;;
> Darwin)
> proc=`$_cpuinfo | grep "Processor type" | cut -f 3 -d ' ' | sed
> 's/ppc//'`
> - if [ `sysctl -n hw.vectorunit` -eq 1 -o \
> + if [ "`sysctl -n hw.vectorunit 2>/dev/null`" -eq 1 -o \
> "`sysctl -n hw.optional.altivec 2>/dev/null`" -eq 1 ]; then
> _altivec=yes
> fi
Nope, still the same error.
Tim
More information about the MPlayer-dev-eng
mailing list