[Potential Spoof] Re: Sdbusplus/tight memory conditions
Lei YU
mine260309 at gmail.com
Tue Sep 10 12:02:44 AEST 2019
On Tue, Sep 10, 2019 at 4:42 AM Wilfred Smith <wilfredsmith at fb.com> wrote:
>
> No, I’m adding the compile options -OS (optimize for space) and -s (strip symbols).
>
> I’m happy to look at other possibilities, but if you review my experiments, symbol stripping alone can’t reasonably account for that much bloat. I would love to be proven wrong so that I can get closure on this. I will build and flash a complete image, as you suggested.
I would suggest to use `file` to check if the binary is really stripped or not.
My test with SDK shows that with your `Experiment3`:
* Before strip, it's 2468324 bytes;
* After strip, it's 140996 bytes.
More information about the openbmc
mailing list