Re: [SCM] FFmpeg packaging branch, master, updated. debian/0.5.1-2-2-g5652487

2010-03-13 Thread Jonas Smedegaard

On Fri, Mar 12, 2010 at 08:48:40PM +, siret...@users.alioth.debian.org 
wrote:

diff --git a/debian/patches/fix-ftbfs-altivec.patch 
b/debian/patches/fix-ftbfs-altivec.patch



++#if ARCH_PPC  defined COMPILE_ALTIVEC
 if (flags  SWS_CPU_CAPS_ALTIVEC)
 return swScale_altivec;
 else


Doesn't above mean that if the compiler host supports altivec then the 
compiled binary won't work without altivec?



 - Jonas

--
* Jonas Smedegaard - idealist  Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: Digital signature
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers


Re: [SCM] FFmpeg packaging branch, master, updated. debian/0.5.1-2-2-g5652487

2010-03-13 Thread Jonas Smedegaard

On Sat, Mar 13, 2010 at 11:53:27AM +0100, Reinhard Tartler wrote:

On Sat, Mar 13, 2010 at 11:17:59 (CET), Jonas Smedegaard wrote:


On Fri, Mar 12, 2010 at 08:48:40PM +, siret...@users.alioth.debian.org 
wrote:

diff --git a/debian/patches/fix-ftbfs-altivec.patch 
b/debian/patches/fix-ftbfs-altivec.patch



++#if ARCH_PPC  defined COMPILE_ALTIVEC
 if (flags  SWS_CPU_CAPS_ALTIVEC)
 return swScale_altivec;
 else


Doesn't above mean that if the compiler host supports altivec then the
compiled binary won't work without altivec?


Yes and no. ffmpeg builds two different flavors on powerpc, one that is
configured with --enable altivec and gets installed into
/usr/lib/altivec and another one configured --without-altivec and gets
installed to /usr/lib.

/lib/ld-linux.so queries the kernel for hardware capabilities and sets
the .so search path appropriately.


Cool!

thanks for the explanation. :-)


 - Jonas

--
* Jonas Smedegaard - idealist  Internet-arkitekt
* Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: Digital signature
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers