[Android] Require gcc 4.6, as 4.4.3 is buggy with threading code

Jean-Baptiste Kempf jb at videolan.org
Wed Oct 10 19:27:46 CEST 2012


On Wed, Oct 10, 2012 at 07:06:05PM +0200, Rafaël Carré wrote :
> Require gcc 4.6, as 4.4.3 is buggy with threading code

4.4.3 is buggy with the newer VLC threading code.
4.6 is buggy because of alignment of variables.

Therefore you need:

 - NDK r8b
 - gcc 4.6 patch for alignment,
   http://people.videolan.org/~funman/andro/arm-linux-androideabi-4.6.tar.bz2
   that you need to untar in android-ndk-r8b/toolchains/

If your build already exists, you need to clean VLC and contribs build
(and make distclean, if you do not use compile.sh) before rebuilding.

If you want NEON/No-NEON code, you need to delete the libav tarball too.

Then run compile.sh and you are good.

Best regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device


More information about the Android mailing list