On 2 November 2015 at 14:35, YongQin Liu yongqin.liu@linaro.org wrote:
Hi, Bin
On 2 November 2015 at 11:04, Bin Chen 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
Did you check are following object are the same since they will be statically linked?
out/target/product/flo/obj/lib/crtbegin_dynamic.o rget/product/flo/obj/STATIC_LIBRARIES/libsndfile_intermediates/libsndfile.a out/target/product/flo/obj/STATIC_LIBRARIES/libaudioprimitives_intermediates/libaudioprimitive s.a out/target/product/flo/obj/STATIC_LIBRARIES/libunwind_llvm_intermediates/libunwind_llvm.a out/target/product/flo/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermedia tes/libcompiler_rt-extras.a
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 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?
-- Best Regards, Yongqin Liu
#mailing list linaro-android@lists.linaro.org 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
-- Regards, Bin
-- Best Regards, Yongqin Liu
#mailing list linaro-android@lists.linaro.org linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-android