Lintian tag: static-link-time-optimization

Type: information

Description (from lintian-explain-tags)

The named member of the static library ships ELF sections that indicate the
use of link-time-optimization (LTO). The use of LTO in static objects is
usually a bug.

In the milder case, the library will work but is larger than needed. The
more serious case is indicated by the distinct tag no-code-sections. Those
libraries cannot work in Debian.

An object file shown here was usually built with the command-line option
-flto=auto.

Please refer to https://gcc.gnu.org/wiki/LinkTimeOptimization,
http://hubicka.blogspot.com/2014/04/linktime-optimization-in-gcc-2-firefox.html,
and Bug#963057 for details.

Visibility: info
Show-Always: no
Check: libraries/static/link-time-optimization

Affected packages

source version binary level tag count information
binutils 2.45-8 binutils-dev/2.45-8 information static-link-time-optimization 1 collectorAPI.o [usr/lib/aarch64-linux-gnu/gprofng/libgp-collectorAPI.a]
binutils 2.45-8 binutils-dev/2.45-8 information static-link-time-optimization 1 collectorAPI.o [usr/lib/x86_64-linux-gnu/gprofng/libgp-collectorAPI.a]
binutils 2.45-8 binutils-dev/2.45-8 information static-link-time-optimization 1 collectorAPI.o [usr/lib/i386-linux-gnu/gprofng/libgp-collectorAPI.a]
binutils 2.45-8 binutils-dev/2.45-8 information static-link-time-optimization 1 collectorAPI.o [usr/lib/riscv64-linux-gnu/gprofng/libgp-collectorAPI.a]
dpdk 24.11.3-2 libdpdk-dev/24.11.3-2 information static-link-time-optimization 1 dmadev_rte_dmadev_trace_points.c.o [usr/lib/aarch64-linux-gnu/librte_dmadev.a]
dpdk 24.11.3-2 libdpdk-dev/24.11.3-2 information static-link-time-optimization 1 dmadev_rte_dmadev.c.o [usr/lib/aarch64-linux-gnu/librte_dmadev.a]