Skip to content

libstdc++ locale-inst.o #2311

Closed
Closed
@MarceloSalazar

Description

@MarceloSalazar

Note: ticket originally raised here: #484

Description

  • Type: Question
  • Priority: Blocker

Question

What pulls in locale-inst.o and wlocale-inst.o?

When investigating, why mbedOS is so big ROM-wise; i modified memap.py to show deeper into the directory structure which components are big. This led to the following output:

+---------------------------------------------------------------------------+--------+-------+-------+
| Module                                                                    |  .text | .data |  .bss |
+---------------------------------------------------------------------------+--------+-------+-------+
...
| libstdc++.a(locale-inst.o)                                                |  39740 |     4 |    96 |
| libstdc++.a(wlocale-inst.o)                                               |  39689 |     4 |    96 |
...

What is pulling in 80k of locale support on an embedded device? Application is mbed-os-example-client.

@MarceloSalazar
@markus-becker-tridonic-com

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions