On Thu, Dec 26, 2013 at 03:29:07AM +0900, ISHIKAWA,chiaki wrote:
> For quite some time (a few months at least), I noticed during the build
> of thunderbird (comm-central) that shows the memory reduction by
> elf-hack is NEGATIVE value.
> 
> For example, the following is from the compilation of latest source
> (refreshed in the last 72 hours or so).
> 
>   [...]
> === If you get failures below, please file a bug describing the error
> === and your environment (compiler and linker versions), and use
> === --disable-elf-hack until this is fixed.
> ===
>  0x000000000000000c (INIT)               0x4020
>  0x0000000000000019 (INIT_ARRAY)         0x97f0
> test-ctors.so: Reduced by -308 bytes
> test-array.so: Reduced by -220 bytes
> PASS
> PASS
> cd util; make libs
> cd freebl; make libs
>   [...]
> 
> Reduced by a NEGATIVE value seems to indicate that
> the size actually is increased. No?

Those are tests. They are too small to gain from elfhack, but are still
important to be elfhacked since the goal is to verify that elfhack
doesn't break them. So elfhacking them uses a special flag that forces
elfhack to do its job even if the result is smaller.

You need to look at elfhack output during make package, not before.

Mike
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to