Skip to content

libstdcpp dependency of shared-state-async takes 2 MB #1191

@ilario

Description

@ilario

Installing LibreMesh packages using OPKG, I observed this message:

Collected errors:
 * verify_pkg_installable: Only have 480kb available on filesystem /overlay, pkg libstdcpp6 needs 2070
 * opkg_install_cmd: Cannot install package shared-state-bat_hosts.

Unpacking the compiled libstdcpp6, I can confirm that its /usr/lib/libstdc++.so.6.0.32 file is 2.1 MB, which makes it a problem for installation on routers with 8 MB of flash memory.

This dependency is defined here:

# TODO: Statically linking libstdcpp instead of depending on it and then
# stripping unused symbols might reduce space usage, until this is the
# only package to use it
DEPENDS:=+libstdcpp

Is this dependency unavoidable?

Metadata

Metadata

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