Hi YongQin,
On 2015/11/2 11:35, YongQin Liu wrote:
Hi, Bin
On 2 November 2015 at 11:04, Bin Chen <bin.chen@linaro.org mailto:bin.chen@linaro.org> wrote:
YongQin, You probably can use the option "showcommands" to see there is any difference during the compile/strip process.
I compared the output, there is no big difference except the following 2 header files paths specified for flo platfomr:
-isystem device/asus/flo/kernel-headers -isystem hardware/qcom/msm8960/kernel-headers
I don't think these options make the difference.
nexus9.txt is the output for flounder platform. nexus7.txt is the output for the flo platform.
Thanks, Yongqin Liu
On 2 November 2015 at 13:52, YongQin Liu <yongqin.liu@linaro.org <mailto:yongqin.liu@linaro.org>> wrote: Hi, Bero Any idea why the size of the binaries compiled from the same source files are different between the flounder version and the flo version? 10:29:01 liuyq: marshmallow$ ll out/target/product/{flo,flounder}/system/bin/libstagefright_mp3dec_test -rwxrwxr-x 1 liuyq liuyq 231360 Nov 2 10:29 out/target/product/flo/system/bin/libstagefright_mp3dec_test* -rwxrwxr-x 1 liuyq liuyq 124684 Nov 2 10:28 out/target/product/flounder/system/bin/libstagefright_mp3dec_test* 10:29:39 liuyq: marshmallow$ The binaries are 32bit static linked version compiled with the attached Android.mk And the size of libc.so files are different as well. 10:37:13 liuyq: marshmallow$ ll out/target/product/{flo,flounder}/system/lib/libc.so -h -rwxrwxr-x 1 liuyq liuyq 659K Oct 29 15:34 out/target/product/flo/system/lib/libc.so* -rwxrwxr-x 1 liuyq liuyq 540K Oct 19 18:32 out/target/product/flounder/system/lib/libc.so* 10:37:21 liuyq: marshmallow$ Some features are not compiled into the libc.so on the flounder platform?
My 2 cents: Is it possible that you dump the build command of libc.so for flo and flounder? For your build log, flo is 32bit android while flounder is 64bit. 32bit libc 64bit android is built as 2nd arch. It may be something different there.
Regards Yin, Fengwei
-- Best Regards, Yongqin Liu --------------------------------------------------------------- #mailing list linaro-android@lists.linaro.org <mailto:linaro-dev@lists.linaro.org> http://lists.linaro.org/mailman/listinfo/linaro-android _______________________________________________ linaro-android mailing list linaro-android@lists.linaro.org <mailto:linaro-android@lists.linaro.org> https://lists.linaro.org/mailman/listinfo/linaro-android -- Regards, Bin
-- Best Regards, Yongqin Liu
#mailing list linaro-android@lists.linaro.org mailto:linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-android
linaro-android mailing list linaro-android@lists.linaro.org https://lists.linaro.org/mailman/listinfo/linaro-android