Reimar Döffinger <[email protected]> added the comment:

On Thu, Dec 02, 2010 at 07:26:43PM +0000, David Fang wrote:
> For ffmpeg 0.6.1, built on Mac OS X 10.4/ppc (via fink),
> with --enable-altivec, many tests fail with illegal instruction
> with --disable-altivec test suite passes (except for a stray altivec test that
> should have been disabled)
> 
> Illegal instruction is in libavcodec/ppc/idct_altivec.c:idct_put_altivec.

1) Only latest SVN is supported on this bug-tracker
2) PPC OS X builds work in automated testing, so it must be something
   special about your system/setup. What happens if you do not specify
   any altivec option as all, are you sure that PPC CPU supports altivec?
3) Since that whole file is only C-code with intrinsics an illegal instruction
   there means it's either a compiler bug or wrong (e.g. -march) options to
   the compiler. Reviewing the compiler options still leaves the most likely
   option that the CPU does not support Altivec. Since in contrast to x86 PPC
   does not have a sensible way to detect this at runtime, a --enable-altivec
   build in that case will crash.

________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2401>
________________________________________________

Reply via email to