• Bug#1107329: gcc-15 was accidentally compiled with --enable-checking=ye

    From Mikulas Patocka@21:1/5 to All on Thu Jun 5 19:40:01 2025
    Package: gcc-15
    Version: 15.1.0-5
    Severity: normal

    Dear Maintainer,

    *** Reporter, please consider answering these questions, where appropriate ***

    * What led up to the situation?

    gcc-15 in Debian is accidentally compiled with
    --enable-checking=yes,extra,rtl - these are options for gcc developers,
    they shouldn't be used for releases because they slow down compilation
    and make gcc consume more memory.

    * What exactly did you do (or not do) that was effective (or
    ineffective)?

    I compiled Ajla with gcc-15 from Debian - and then with gcc-15 built from sources.

    * What was the outcome of this action?

    gcc-15 from Debian consumes 30% more memory and is approximatelly 70%
    slower than gcc-15 built from sources (on arm64).

    * What outcome did you expect instead?

    gcc-15 should be compiled with --enable-checking=release or --enable-checking=none to reduce compile time and memory consumption.

    *** End of the template - remove these template lines ***


    -- System Information:
    Debian Release: 13.0
    APT prefers unstable
    APT policy: (500, 'unstable'), (1, 'experimental')
    Architecture: arm64 (aarch64)
    Foreign Architectures: armhf, armel

    Kernel: Linux 6.12.30-arm64 (SMP w/4 CPU threads)
    Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8), LANGUAGE not set
    Shell: /bin/sh linked to /usr/bin/dash
    Init: sysvinit (via /sbin/init)

    Versions of packages gcc-15 depends on:
    ii binutils 2.44-3
    ii cpp-15 15.1.0-5
    ii gcc-15-aarch64-linux-gnu 15.1.0-5
    ii gcc-15-base 15.1.0-5

    Versions of packages gcc-15 recommends:
    ii libc6-dev 2.41-8

    Versions of packages gcc-15 suggests:
    pn gcc-15-doc <none>
    pn gcc-15-locales <none>

    -- no debconf information

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Matthias Klose@21:1/5 to Mikulas Patocka on Thu Jun 5 20:50:01 2025
    On 05.06.25 19:11, Mikulas Patocka wrote:
    gcc-15 in Debian is accidentally compiled with --enable-checking=yes,extra,rtl - these are options for gcc developers,
    they shouldn't be used for releases because they slow down compilation
    and make gcc consume more memory.

    no, that's done by intent, until the first version of the build enters
    testing. Remember, you download it from experimental ...

    We will change that with the 15.2.0 release.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)