Public bug reported:

The binaries in this package (and I think other gcc-14 packages as well)
are not stripped, making them unnecessarily large and wasting disk space
and download bandwidth.

For example:

nate@moneta:~$ ls -lh /usr/libexec/gcc-cross/aarch64-linux-gnu/14/lto1
-rwxr-xr-x 1 root root 313M Apr 16 00:03 
/usr/libexec/gcc-cross/aarch64-linux-gnu/14/lto1
nate@moneta:~$ file /usr/libexec/gcc-cross/aarch64-linux-gnu/14/lto1
/usr/libexec/gcc-cross/aarch64-linux-gnu/14/lto1: ELF 64-bit LSB executable, 
x86-64, version 1 (GNU/Linux), dynamically linked, interpreter 
/lib64/ld-linux-x86-64.so.2, 
BuildID[sha1]=abe20b919742102775fc5c48251de3fa7ba7583f, for GNU/Linux 3.2.0, 
with debug_info, not stripped
nate@moneta:~$ size /usr/libexec/gcc-cross/aarch64-linux-gnu/14/lto1
   text    data     bss     dec     hex filename
45483453         168048 2083288 47734789        2d86005 
/usr/libexec/gcc-cross/aarch64-linux-gnu/14/lto1

So this file is 313M, but if stripped it would only be 44M.

All other Ubuntu packages appear to have stripped binaries.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: gcc-14-aarch64-linux-gnu 14-20240412-0ubuntu1cross1
ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
Uname: Linux 6.8.0-31-generic x86_64
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Tue Jun  4 18:10:22 2024
InstallationDate: Installed on 2019-06-03 (1828 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: gcc-14-cross
UpgradeStatus: Upgraded to noble on 2024-05-23 (12 days ago)
modified.conffile..etc.default.apport: [modified]
mtime.conffile..etc.default.apport: 2020-08-04T11:07:36.415303

** Affects: gcc-14-cross (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble packaging

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2068074

Title:
  gcc package contains large unstripped binaries

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-14-cross/+bug/2068074/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to