Current size difference:
target_cpu = "x86"
is_clang = false
thakis@thakis:~/src/chrome/src$ ls -hl out/gnand/gen/chrome/android/chrome_public_apk__prepare_native/packed-libs/libchrome.so
-rwxr-x--- 1 thakis eng 65M Oct 10 15:58 out/gnand/gen/chrome/android/chrome_public_apk__prepare_native/packed-libs/libchrome.so
is_clang = true
thakis@thakis:~/src/chrome/src$ ls -hl out/gnand2/gen/chrome/android/chrome_public_apk__prepare_native/packed-libs/libchrome.so
-rwxr-x--- 1 thakis eng 73M Oct 10 16:20 out/gnand2/gen/chrome/android/chrome_public_apk__prepare_native/packed-libs/libchrome.so
Without -mstackrealign:
thakis@thakis:~/src/chrome/src$ ls -hl out/gnand/gen/chrome/android/chrome_public_apk__prepare_native/packed-libs/libchrome.so
-rwxr-x--- 1 thakis eng 65M Oct 14 12:14 out/gnand/gen/chrome/android/chrome_public_apk__prepare_native/packed-libs/libchrome.so
thakis@thakis:~/src/chrome/src$ ls -hl out/gnand2/gen/chrome/android/chrome_public_apk__prepare_native/packed-libs/libchrome.so
-rwxr-x--- 1 thakis eng 71M Oct 14 12:35 out/gnand2/gen/chrome/android/chrome_public_apk__prepare_native/packed-libs/libchrome.so
(first is gcc, second is clang)
We need to figure out where the size goes.
Comment 1 by thakis@chromium.org
, Oct 14 2016