id,summary,reporter,owner,description,type,status,priority,component,version,resolution,keywords,cc,blockedby,blocking,reproduced,analyzed
1241,ffmpeg build is trying to compile 'neon' although this instruction set is disabled @ ./configure ( '--disable-neon' ),nadav,," == Environment ==
|| OS || Ubuntu 11.10 ||
|| RELEASE || 0.10.2.git ||
|| Platform || Android ||
|| neon || --disable-neon ||
|| optimizations || --disable-optimizations ||

 == Problem ==
|| Problem || ffmpeg build is trying to compile 'neon' although this instruction set is disabled @ ./configure ( '--disable-neon' ) ||
|| Symptom || libavcodec/libavcodec.so: undefined reference to `ff_pred16x16_vert_neon' ... ||
|| Analysis || The problem is in affect ONLY when compiling with '--disable-optimizations', going though the code, at multiple places the line 'if (HAVE_NEON)' is used, my assumption is that when the optimizer is on, the 'if (HAVE_NEON)' phrases are omitted from compilation, and, when the optimization is disabled, they ( neon phrases ) are not, and thus, the import table for neon instructions @ 'if (false)' phrases is added the neon instructions ( although they are not used by the code ), and this, leads to the undefined reference linker error. ||

",defect,closed,normal,build system,git-master,fixed,arm neon build,notzed,,,1,0
