• Bug#1107416: gcc-14: Please build with -fno-fold-mem-offsets on m68k

    From John Paul Adrian Glaubitz@3:633/10 to All on Sunday, May 31, 2026 23:50:01
    Control: reopen -1
    Hi,
    On Sun, 2025-06-08 at 20:57 +0200, John Paul Adrian Glaubitz wrote:
    I was not able to tune gcc-14 properly using CFLAGS to apply this workaround when using gcc-13 as the bootstrap compiler but the attached patch worked for me which of course can't be used in the actual package.

    It should be possible to add -fno-fold-mem-offsets to DRIVER_SELF_SPECS on m68k. However, I currently don't understand how the syntax works. I'll
    ask the Gentoo people who have done this.
    This didn't work, unfortunately [1]. However, I used Gemini to come up with the attached patch which fixes the glibc build problem for me. Can you include it instead?
    Thanks,
    Adrian
    [1] https://buildd.debian.org/status/fetch.php?pkg=glibc&arch=m68k&ver=2.42-16&stamp=1778118395&raw=0
    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer
    `. `' Physicist
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913


    --- PyGate Linux v1.5.15
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From John Paul Adrian Glaubitz@3:633/10 to All on Monday, June 01, 2026 07:10:01
    Hi,

    On Sun, 2026-05-31 at 23:46 +0200, John Paul Adrian Glaubitz wrote:
    This didn't work, unfortunately [1]. However, I used Gemini to come up wi
    th the
    attached patch which fixes the glibc build problem for me. Can you includ
    e it
    instead?

    For clarification, this patch should be applied on m68k only, see [1].

    Adrian

    [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123853#c15

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer
    `. `' Physicist
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- PyGate Linux v1.5.15
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From John Paul Adrian Glaubitz@3:633/10 to All on Sunday, June 07, 2026 10:40:02
    Control: retitle -1 gcc-15: Please build with -fno-fold-mem-offsets on m68k

    Hi,

    On Mon, 2026-06-01 at 07:03 +0200, John Paul Adrian Glaubitz wrote:
    Hi,

    On Sun, 2026-05-31 at 23:46 +0200, John Paul Adrian Glaubitz wrote:
    This didn't work, unfortunately [1]. However, I used Gemini to come up
    with the
    attached patch which fixes the glibc build problem for me. Can you incl
    ude it
    instead?

    For clarification, this patch should be applied on m68k only, see [1].

    I'm going to test this proposed patch now [1].

    Adrian

    [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123853#c18

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer
    `. `' Physicist
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- PyGate Linux v1.5.15
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)