Re: [chromium-dev] file nacl_irt_x86_64.nexe still very big after strip

335 views
Skip to first unread message

Derek Schuff

unread,
Apr 25, 2014, 12:07:56 PM4/25/14
to sslik...@gmail.com, chromium-dev
The build creates out/Release/nacl_irt_x86_64.nexe.debug (unstripped) and out/Release/nacl_irt_x86_64.nexe (stripped). On my recent build, the debug version is a bit less than 10MB and the stripped version is about 3.6MB


On Sun, Apr 20, 2014 at 9:41 PM, joker <sslik...@gmail.com> wrote:
after striped, i can see two different size of nacl_irt_x86_64.nexe, which is the real one?
$ ls -ls nacl_irt_x86_64.nexe
3992 -rwxrwxr-x 1 sj sj 246150480  4月  2 17:02 nacl_irt_x86_64.nexe


--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev

Victor Khimenko

unread,
Apr 25, 2014, 1:52:06 PM4/25/14
to sslik...@gmail.com, Chromium-dev
On Mon, Apr 21, 2014 at 8:41 AM, joker <sslik...@gmail.com> wrote:
after striped, i can see two different size of nacl_irt_x86_64.nexe, which is the real one?

They both are "real". One is size of file, another is size of data in file. See sparse file:
 
$ ls -ls nacl_irt_x86_64.nexe
3992 -rwxrwxr-x 1 sj sj 246150480  4月  2 17:02 nacl_irt_x86_64.nexe

This is not normal situation with nacl_irt. Are you sure you are using NaCl-provided strip (i686-nacl-strip or x86_64-nacl-strip; these two are in reality the same file)? System-provided strip may indeed corrupt NaCl-compiled file easily.

joker

unread,
Apr 26, 2014, 2:31:47 AM4/26/14
to chromi...@chromium.org, sslik...@gmail.com
I've no idea about NaCL-provided strip, i just use the system-provided strip before.
I found it in src/native_client/toolchain/linux_x86/bin, thanks!

在 2014年4月26日星期六UTC+8上午1时52分06秒,khim写道:
Reply all
Reply to author
Forward
0 new messages