Skip to content

Binary size changes between two consecutive builds #2668

@motgon01

Description

@motgon01

Description

  • Type: Bug
  • Priority: Major

Bug

Target
K64F

Toolchain:
GCC_ARM

Toolchain version:
4.9.3 20150529

mbed-cli version:
0.8.8

mbed-os sha:
d1f6cb4 Updating mbed-os to mbed-os-5.1.3

Steps to reproduce
Made the following:

  1. cloned the blinky example - [email protected]:ARMmbed/mbed-os-example-blinky.git
  2. build according to the given README instructions
  3. build again with the "-c" (clean) switch

Expected behavior
mbed-os-example-blinky.bin:

  • Bullet (2) yield a binary size of 56912 bytes
  • Bullet (3) yield a binary size of 56912 bytes

Actual behavior
mbed-os-example-blinky.bin:

  • Bullet (2) yield a binary size of 56912 bytes
  • Bullet (3) yield a binary size of 56920 bytes

Question

I expected both builds (2) & (3) should yield same resulting binary size. Any idea why there is a deviation of 8 bytes?

This behavior observed in our provisioning build system as well and I happen to be using the blinky example app to narrow down this issue to simplify reproduction.

@sg-
@jenia81
@trianglee

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions