Skip to content
Snippets Groups Projects
Closed executables are not stripped
  • View options
  • executables are not stripped

  • View options
  • Closed Issue created by kauruus K

    Description:

    The package (as of 0.31.2-1) takes 1.4 GB compressed, 2.4 GB installed. It's way larger than I expected.

    I find the executable are not stripped:

    $ file /usr/lib/tinygo/bin/*
    /usr/lib/tinygo/bin/tinygo:   ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=f92d31a
    1cf7e18c32ab84e9d02618a71b3dbd869, for GNU/Linux 4.4.0, with debug_info, not stripped
    /usr/lib/tinygo/bin/wasm-opt: ELF 64-bit LSB pie executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=9e4
    9e8521dc8267edd5914151ab59fa3bff8b0ca, for GNU/Linux 4.4.0, with debug_info, not stripped
    
    $ du -sh /usr/lib/tinygo/bin/*
    1.5G    /usr/lib/tinygo/bin/tinygo
    352M    /usr/lib/tinygo/bin/wasm-opt

    If we strip them, it can save us more then 1G disk spaces:

    $ du -sh /usr/lib/tinygo/bin/*
    131M    /usr/lib/tinygo/bin/tinygo
    15M     /usr/lib/tinygo/bin/wasm-opt

    Additional info:

    • package version(s): 0.31.2-1
    • config and/or log files:
    • link to upstream bug report, if any:

    Steps to reproduce:

    1. install the package
    2. file /usr/lib/tinygo/bin/*
    Edited by kauruus K

    Linked items 0

  • Link items together to show that they're related or that one is blocking others.

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading